NameSilo

Default javascript dreamweaver help!

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

bdd

Established Member
Impact
1
hiya ppl... i use dreamweaver MX and i dont think that the default javascript for image rollovers and the preloading of the images is working very well...

i still get a slight delay the first time i rollover the image and once my cursor enters the image it actually turns into an arrow instead of a hand, then once i move it and enter again it is fine...

does anyone else find this and do you have any answers or alternatives to fixing this bug and improving? (without using CSS)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
no help?
 
0
Close
this is a quick fix...

<html>
<head>
<title>the internet</title>
<script type="javascript/css">
iHolder = new Image();
iButton01 = new Image(); iButton01.src = "something.gif";
iButton02 = new Image(); iButton02.src = "anotherthing.gif";
</script>
</head>
<body>

<img src="myimage1.gif"
onmouseover="iHolder.src = this.src; this.src = iButton01.src;"
onmouseout="this.src = iHolder.src;"
>
<img src="myimage2.gif"
onmouseover="iHolder.src = this.src; this.src = iButton02.src;"
onmouseout="this.src = iHolder.src;"
>

</body>
</html>
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back