Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing Fireworks Rollovers....

Status
Not open for further replies.

katiekat

Technical User
Jun 6, 2000
300
US
<tr valign=&quot;top&quot;><!-- row 1 -->
<td><a href=&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Buttonsbluerollover_r1_c1','','FireworksThings/Buttonsbluerollover_r1_c1_f2.gif',1);&quot; ><img name=&quot;Buttonsbluerollover_r1_c1&quot; src=&quot;FireworksThings/Buttonsbluerollover_r1_c1.gif&quot; width=&quot;126&quot; height=&quot;48&quot; border=&quot;0&quot;></a></td>
<td><img src=&quot;FireworksThings/shim.gif&quot; width=&quot;1&quot; height=&quot;48&quot; border=&quot;0&quot; name=&quot;undefined_2&quot;></td>
</tr>

Here is the fireworks generated code for part of a rollover that I made. What I have to do is change the locations of all the pieces. What I am not sure of is what part is calling it, and what part is telling it what to do. It's confusing to me that sometimes the next folder up is named, and sometimes it's not. I think this is probably some indication of what goes where, but everything I try, it seems, doesn't work.

I'm probably being a big dork, but I obvioulsy can't help it. X-)

Thank you, smart people, in advance!
 
This code looks initially fine for the html part of it-but where is the code embedded within <script></script> tags? (this would go in the Header of the html file)
This is missing and will be on the html file exported in Fireworks!

Do you have a folder on your server called
'FireworksThings'?

Remember that Unix servers are case sensitive!

Are your graphics in the file?

Does the Fireworks file work when you preview?

What kind of error are you getting? a javascrfipt error in the status bar? Caspar Kennerdale
Senior Media Developer
 
Yeah, this is just a piece of the overall code. I have all the <script> </script> stuff, that doesn't seem to be the problem. I have about 5 rows of the same code, over and over. (with different graphic names, of course). I just included one bit, I thought it would be less confusing.

The code is fine I think, it's all happy if I run it locally. What I need to do is change where the stuff resides, and figure out how to change the code to reflect the changes. Yes, there is a local folder named 'fireworksthings'. That's where all the pieces for this are now, but eventually it's all going to move.

There aren't any errors, weirdly, it just shows up incomplete. I need to figure out what exactly I am looking at. What bits need a &quot;here it is!&quot; and what bits are just using the name. You know?

Thanks! You're the best.
 
Also, I imported the piece into dreamweaver, and it works fine locally. Just so you know. heh.
 
Well if it is working, and all you want to do is change the graphic folder jus replace the instances of

src=&quot;FireworksThings/

with

src=&quot;NewFolder/

also if you change the graphic names then ammend the names after the folder name changes so

'NewFolder/NewGraphic.gif'

In the code suppllied this only occurs 3 times and it is only these three that need updating

You may also need to change any references in the <script> code but again any instance of FireworksThings change to NewFolder and any graphic.gif name- rename to new names

DOes this help? Caspar Kennerdale
Senior Media Developer
 
Yes! Thank you!!!!

So the references without the folder with them, I just leave them alone, and the ones with the folder, I just change the path? What if it's sitting on some geocities site? Just write the path as a I would suppose that's the way to go...

Thank you so much for your help... I need all I can get. :)
 
alright, I was doing this the most difficult way possible, I figured out the normal way to do it. What a dork. :) thanks for all of your help!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top