-
1. Re: rollovers stopped working
MurraySummers Sep 22, 2010 4:46 AM (in response to riskypotato)You have somehow removed all the whitespace from your page. The net effect of this is it makes your code damn hard to read, and it kills your javascript! As a result of the latter, none of your rollovers work.
The solution is to delete the javascript block from the head of the page (everything between '</title>' and '</head>'), then select one of the images bearing the defunct rollover, and in the Behaviors panel, double click on the SwapImage behavior name to open the behavior's dialog panel. Without making any changes, just click OK on that dialog, and this will force DW to re-write the associated behaviors into the head of the page. Save the page, and you should be good to go.
-
2. Re: rollovers stopped working
riskypotato Sep 22, 2010 6:58 AM (in response to MurraySummers)Murray,
Thanks for your help. I did just what you said (at least I think so) for each of the 9 images, but the rollovers still don't appear.
-
3. Re: rollovers stopped working
MurraySummers Sep 22, 2010 7:17 AM (in response to riskypotato)Have you uploaded the modified file?
-
4. Re: rollovers stopped working
riskypotato Sep 22, 2010 7:39 AM (in response to MurraySummers)Yes, I have uploaded it.
-
5. Re: rollovers stopped working
MurraySummers Sep 22, 2010 7:50 AM (in response to riskypotato)The code looks the same to me as it did before. Are you post processing these files somehow before uploading them?
Try this - use FILE | New... > Blank HTML > none, and copy and paste the code from that operation into a reply here. Let's see how that looks....
-
-
7. Re: rollovers stopped working
riskypotato Sep 22, 2010 8:32 AM (in response to MurraySummers)Thanks again for all your help. Okay, I took your code, and saved as mine, and uploaded,
but still no rollovers. Did it upload properly? It looks the same to me but frankly it's all looking tangled at this point.
-
8. Re: rollovers stopped working
MurraySummers Sep 22, 2010 8:38 AM (in response to riskypotato)Something is happening to the code when you process it.
It looks the same as it always has from your side. Try the test I suggested earlier - let's see what that code looks like.
-
9. Re: rollovers stopped working
riskypotato Sep 22, 2010 8:44 AM (in response to MurraySummers)<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head><body>
</body>
</html>Murray,
This if from FILE>NEW>BASIC PAGE>HTML
I don't have option for blank html>none


