Newbee cant make rollover.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
zander187
New Member
New Member
Posts: 9
Joined: Thu Jun 29, 2006 3:50 pm

Newbee cant make rollover.

Post 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?
Last edited by zander187 on Mon Jul 03, 2006 12:43 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Newbee cant make rollover.

Post by Dr.CSS »

zander187
New Member
New Member
Posts: 9
Joined: Thu Jun 29, 2006 3:50 pm

Re: Newbee cant make rollover.

Post 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....



 
 

Post Reply

Return to “Layout and Design (CSS & HTML)”