Page 1 of 1

Newbee cant make rollover.

Posted: Mon Jul 03, 2006 12:33 pm
by zander187
hi I'm a newbee so forgive me if this is stupidly simple.
all i want to do is make a displaced rollover. you know i have two images on a page one is a button which when i rollover it, the second image changes.

image src="seaviewmain.jpg" name="seaviewmain" width="200" height="281" id="seaviewmain"}
  {image src="bluebutton.jpg" name="bluebutton" width="7" height="7" border="0" id="bluebutton"}
   

What i get is the button image works cos i get a finger icon when i rollover it but the second image does not change like it does in outside SMSMS.
I have tried braking the simple code to work with PHP but i don't know PHP at all.
can you help?

Re: Newbee cant make rollover.

Posted: Mon Jul 03, 2006 10:31 pm
by Dr.CSS

Re: Newbee cant make rollover.

Posted: Tue Jul 04, 2006 10:32 am
by zander187
I found that this way seems to work. i put the first chunk in the ........

If anyone knows of a different way please tell me cos i am always interested in  learning something new. :)
Cheers.




{title}
{literal}




0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i

{/literal}





and the second part inthe section....