Previous Thread
Next Thread
Print Thread
Rate Thread


















_______________

By the way, congratulations on a great site and unbelievable board [Linked Image]

Many thanks

Zim

------------------
Joined: Sep 2000
Posts: 4
zim
Offline
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 4
I've been trying to implement absolute URL's into fireworks javascript rollover output as suggested in the design integration tutorial. It seems to me that this functionality is not built into fireworks and that the javascript must be manually edited, but all my attempts at this have failed. I'm sure I must be putting URL info before graphic file names where it is not needed (along with where it is needed), but I'm damned if I can figure out where I'm going wrong.

I'm going to paste a snippet of the header in the hope that someone can tell me where I'm going wrong. I'm sure that the fault is in this section somewhere....

_______________

if (document.images) {
Roll_r02_c1_f2 = new Image(75 ,30); Roll_r02_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r02_c1_f2.gif";
Roll_r02_c1_f1 = new Image(75 ,30); Roll_r02_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r02_c1.gif";
Roll_r03_c1_f2 = new Image(75 ,30); Roll_r03_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r03_c1_f2.gif";
Roll_r03_c1_f1 = new Image(75 ,30); Roll_r03_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r03_c1.gif";
Roll_r04_c1_f2 = new Image(75 ,30); Roll_r04_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r04_c1_f2.gif";
Roll_r04_c1_f1 = new Image(75 ,30); Roll_r04_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r04_c1.gif";
Roll_r05_c1_f2 = new Image(75 ,30); Roll_r05_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r05_c1_f2.gif";
Roll_r05_c1_f1 = new Image(75 ,30); Roll_r05_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r05_c1.gif";
Roll_r06_c1_f2 = new Image(75 ,30); Roll_r06_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r06_c1_f2.gif";
Roll_r06_c1_f1 = new Image(75 ,30); Roll_r06_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r06_c1.gif";
Roll_r07_c1_f2 = new Image(75 ,30); Roll_r07_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r07_c1_f2.gif";
Roll_r07_c1_f1 = new Image(75 ,30); Roll_r07_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r07_c1.gif";
Roll_r08_c1_f2 = new Image(75 ,30); Roll_r08_c1_f2.src = "http://www.mydomain.com/rollovers/Roll_r08_c1_f2.gif";
Roll_r08_c1_f1 = new Image(75 ,30); Roll_r08_c1_f1.src = "http://www.mydomain.com/rollovers/Roll_r08_c1.gif";
}
// stop hiding -->

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks zim, you might have better luck using base paths (I think that is the term, my brain is tired) like this:
/rollovers/image1.gif
/rollovers/image1_f2.gif

I believe that is a setting in fireworks, and will cut down on your file size and give just as accurate paths...

thank you for the compliment...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)