PDA

View Full Version : Rollover


Gloster
11-28-2005, 01:46 PM
I used a book on PS Pro7 to make a rollover, but it did not say what to do with it afterwards, with trial and error I put it on my website but it is all black, should I have made something transparent?
www.musiksongsplanes.netfirms.com/hobbies.htm

Terminator1138
11-28-2005, 05:21 PM
My guess is you are talking about the large black square at the bottom? I does rollover and change however not sure where on the page you refer....

Perhaps paste your code area you are refering too

Gloster
11-29-2005, 03:02 AM
Hi! Thank you for your reply.
You guess correctly, it is the black square at the bottom.
Is this how they are supposed to look first, without an image?

Eddy

Terminator1138
11-29-2005, 05:11 AM
my guess your rollover code is not preloading or either your html code is lacking in something. Please place your code for that area so we can take a look, thanks

Gloster
11-29-2005, 07:30 AM
Sorry. Here is the code.
<!-- Begin Table -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100" HEIGHT="120">

<TR>
<TD ROWSPAN="1" COLSPAN="1" WIDTH="100" HEIGHT="120">
<A HREF="http://www.musiksongsplanes.netfirms.com/link3.htm" TARGET="_parent" onClick="if(document.images) document.Image10.src='more2.jpg';"
onMouseOver="if(document.images) document.Image10.src='more2.jpg';"
onMouseOut="if(document.images) document.Image10.src='more.jpg';"
><IMG NAME="Image10" SRC="Image1_1x1.jpg" WIDTH="100" HEIGHT="120" BORDER="0" ALT="Mara cd presentation"></A>&nbsp;More </TD><br>
</TR>

</TABLE><br><br>
<!-- End Table -->

Eddy.

Terminator1138
11-29-2005, 07:59 AM
the onclick after the link kinda says click on the image first then on mouseover I think...

You might try that part without first and see. I would also use a preloader for your images also
these links may help you also
http://www.javascripter.net/faq/onmouseo.htm
http://www.heidi.to/heidi/mouseover.htm
http://www.google.com/search?num=20&hs=UnS&hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=javascript+mouseover&btnG=Search
as far as examples go

Gloster
11-30-2005, 12:53 AM
I did not know there was so much to a rollover.
Thank you for your advice, will apply soon.

Eddy

Terminator1138
11-30-2005, 05:31 AM
There is some CSS rollover techniques too that you can learn in the future and they are cleaner than javascript...however many are out there.