This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > rollover not working





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rollover not working
sfort

2006-02-12, 6:43 pm

I'm having problems with a particular rollover not working. I've created 12
rollover buttons... all from the same original Photoshop file... just name
changes. All the rollovers work except the first one (pheasant). I have tried
recreating the image button a number of times. The buttons are on the lower
left side of the page, the links are not working yet.

Page link: http://www.cipollapewter.com/neworchid2.html



John Waller

2006-02-12, 6:43 pm

That page is way too heavy in terms of filesize, mainly due to the filesize
of the images.

Plus, using the MM Show/Hide behaviour means you have to preload all the
images.

Try this alternative which only downloads the big images on demand.
http://www.dreamweaverresources.com...textoflayer.htm

Is there a reason for using GIFs for the photos? JPGs would be far better -
smaller filesize, better quality.

--
Regards

John Waller


Josie1one

2006-02-12, 6:43 pm

BTW you have no DOCTYPE etc. so you'll have problems.
See:
http://validator.w3.org/check?uri=h...neworchid2.html
38 validation errors.
Nice site though!
Jo

"John Waller" <johnw@REMOVETHISpinnacleweb.com.au> wrote in message
news:dslica$t32$1@forums.macromedia.com...
> Around line 186, the pheasant1 and pheasant2 gif references onMouseOver
> look like they're the wrong way round.
>
> Change:
>
> <td height="18" colspan="3" valign="top"><a href="java script:;"
> onMouseOver="MM_swapImage('Image4','','/mockupimages/buttons/pheasant1.gif',1)"
> onMouseOut="MM_swapImgRestore()"><img
> src="/mockupimages/buttons/pheasant2.gif" name="Image4" width="144"
> height="18" border="0" id="Image4"></a></td>
>
> to:
>
> <td height="18" colspan="3" valign="top"><a href="java script:;"
> onMouseOver="MM_swapImage('Image4','','/mockupimages/buttons/pheasant2.gif',1)"
> onMouseOut="MM_swapImgRestore()"><img
> src="/mockupimages/buttons/pheasant1.gif" name="Image4" width="144"
> height="18" border="0" id="Image4"></a></td>
>
> in the code.
>
> --
> Regards
>
> John Waller
>



sfort

2006-02-12, 6:43 pm

Thank You!!
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews