|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Submit Your Site For Review Need a fresh set of eyeballs to take a look at your site? Have a specific issue or question about some aspect of your layout, design or interface? This is the forum for you. When submitting your site, be sure to discuss what aspect you are looking for input on. Just posting a link with the word 'review' isn't appropriate. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello all, been lurking for a while - great information, thank you. I feel its time to get some feedback. I designed this site using GoLive 6.0, but have never been able to make the rollovers work. They work on my machine, but no one else's. I believe it has something to do with Java Script? So, If you hand coders out there could take a peek at my actual code and try an figure out just where I went wrong, I would be most appreciative. This is a photography website, its purpose is to present my work in the best possible light - image is everything. That said, let me have it...
Cheers, Michael Hawk |
|
|||
|
I don't know what you have going on there but at quick first glance where is the function call and second it looks like a missing '. I am not familar with golive
What you could use is this snippet: this would be your image tag: [img]images/index_10.jpg[/img] function setOver(imagePath, imageName){ document.images[imageName].src= imagePath + "_F2.gif"; // change to .jpg for other formats } function setOut(imagePath, imageName){ document.images[imageName].src= imagePath + ".gif"; // change to .jpg for other formats } rename your rollover image(state 2 image) to index_10_F2.jpg then: (imgPath is wherever you have them('images/')) onmouseover="setOver(imgPath, 'index_10')" onmouseout="setOut(imgPath, 'index_10')" |
|
||||
|
I'm not familiar with Adobe Golive. I'm used to hand-code my rollover scripts (using JavaScript).
But there's something in your code which (I guess) needs to be corrected. Look at this: <script type="text/javascript" src="file:///C:/Documents%20and%20Settings/hawkphoto/Application%20Data/Adobe/Adobe%20GoLive/Settings/JScripts/GlobalScripts/CSScriptLib.js"></script> The .js file which your web page is calling resides in your computer. I think this should be uploaded to the server and called from the directory in your server where it should be located. That's just a guess.
__________________
WILLY freedom in creativity http://www.philtech.net http://www.philtech.net/iantd-rp http://www26.brinkster.com/mixdmdia/ |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |