ImageReady rollover effects DON"T after I move the files to a different place on server….?

D
Posted By
dglaser
May 18, 2005
Views
341
Replies
3
Status
Closed
I created some images with rollover effects in one folder on my server, and just moved them to a different folder on my server, and they no longer work! What gives with javascript? I thought all the javascript code for a rollover effect was right in the code of the image page itself…?

Why don’t the rollover effects work any longer? If I go back to the other folder I copied them from they still work.

Dale

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

C
Corey
May 18, 2005
The code for JavaScript still requires a path to where the images are located. If the path is wrong the images won’t show up. You may have to go into the code and adjust the code manually by entering the path to the new folder.

Peadge 🙂

wrote in message
I created some images with rollover effects in one folder on my server, and just moved them to a different folder on my server, and they no longer work! What gives with javascript? I thought all the javascript code for a rollover effect was right in the code of the image page itself…?

Why don’t the rollover effects work any longer? If I go back to the other folder I copied them from they still work.

Dale
LI
Lorem Ipsum
May 18, 2005
wrote in message
I created some images with rollover effects in one folder on my server, and just moved them to a different folder on my server, and they no longer work! What gives with javascript? I thought all the javascript code for a rollover effect was right in the code of the image page itself…?

The references in your page are looking to a specific folder, just as they look for the images in a specific folder. Don’t expect Javascript to read your mind.
D
dglaser
May 18, 2005
I looked at the source code and it referenced a
GeneratedItems/CSScriptLib.js file, and I just figured out that it DIDN’T have the requisite number of ../ to actually reference that file. Once fixed, the rollovers worked.

I don’t remember where that folder came from originally and I don’t remember copying that file over when I set up my rollovers.

I guess I want to know what the CSScriptLib.js code does…? I used ImageReady for the rollover effects.

Thanks,

Dale

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections