Friday 25 July 2003 6:04:38 am
...thanks guys... i don't know what i'm doing wrong here, but i still can't make it work... grrr... but Paul, apparently it helped using the reference you suggested.. using:
{literal}
<script language="JavaScript1.2" src={'design/demo/javascripts/rollover.js'|ezurl}></script> {/literal}
I can actually see the entire page with all the content and not just the background colour as with the other reference... funny in a way as http://www.ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/javascript_in_templates
suggests that you use
<SCRIPT SRC={"javascripts/rollover.js"|ezdesign} TYPE="text/javascript" LANGUAGE="JavaScript"/> ... The rollover still doesn't work however.. the image shows up (uni2logogrey.gif), but it does not change into uni2logo.gif when hovering the mouse over it.. i tried changing the line from: <A HREF="http://www.uni2.dk" TARGET="_blank" onMouseOver="return skiftBillede('uni2logogrey','billede2')" onMouseOut="return skiftBillede('uni2logogrey','billede1')"><IMG SRC={"uni2logogrey.gif"|ezimage} NAME="uni2logogrey" BORDER="0" HEIGHT="20" WIDTH="54" /></A> to: {literal}<A HREF="http://www.uni2.dk" TARGET="_blank" onMouseOver="return skiftBillede('uni2logogrey','billede2')" onMouseOut="return skiftBillede('uni2logogrey','billede1')"><IMG SRC="http://www.full_url.com/design/demo/images/uni2logogrey.gif" NAVN="uni2logogrey" BORDER="0" HEIGHT="20" WIDTH="54"></A>{/literal} and I also changed the src's in 'rollover.js' to the full url as you suggested Bjørn... ...but it still doesn't work... I use IE6 and Opera once in a while just for testing purposes... I never thought I would have to use an entire day just making a simple rollover (and not even succeeding)... I get tired already thinking of all the time I have to put into the dhtml menu.. haha... but I have to make it work! It must be possible?! Time for weekend... :-)
Cheers, Morten.
|