Click to this video!

HTML help b4 i go crazy! page 1

Sat, Nov 13 2010 19:05
Hunter27
Classified
Posts 4,142
Retired Moderator

There is a very simple 1 liner code to change images onmouseover and onmouseout but I cant remember it! Driving me nuts, ive tried everything. I need a still jpg image to animate into a gif onmouseover then back to jpg onmouseout.

This can be done in a single line of code iv'e done it before. Anyone know how?

Thanks in advance

reply
Sun, Nov 14 2010 0:34
kamz5
Posts 6,558
Moderator
How about this (not exactly one line):

<script type="text/javascript">
function flip(img)
{
var x=img.src;
img.src=img.getAttribute('data-gif');
img.setAttribute('data-gif',x);
}
</script>

<img src="pic.jpg" data-gif="pic.gif" onmouseout="flip(this)" onmouseover="flip(this)" />
reply
Tue, Feb 8 2011 13:46
brad175
Posts 1

You don't need javascript for it.

a href="google.com"
onmouseover="nameHere.src='imgs/frog.jpg'"
onmouseout="nameHere.src='imgs/duck.jpg'"
img src="img/pig.jpg" name="nameHere" /a

Gah, i can't get around this forum messing with my code when i post it. Hopefully you understand this.

reply

Sort Posts:


Home | Teens | Celebs | Themes / Fetish | Babes 30+ | Model Archive
Webmasters: trade traffic
(C) notice & 18 U.S.C. Section 2257 Compliance Notice














Download porn video at mobile phone


haley cummings biohuge areolas picsbang bus trailersbecca linareslexxxi lockhart 2014jayden james freeonessara underwood playboy shootexploited college girls modelskrissy sweettricky masseur tesslittle april masterbatingabby winters shootegotastic.vomvalerie hegre art videocoedfeet alyshaalisa mpl studiosjohanna botta nakedatkingdom premiumaria giovanni hard coredestiny dixon galleriesflat chested pornstarspamela hegrekarups maturesserena hazel may videospornstar jamie lynnblueyed cass photoshappy tugs mika tansexycanadiangirlslillexikimberly williams penthousexart angelicajessica stroup porngeorgie darby picturesyasmine vegademi b nudevicky lloyd pornceleb vulvalea tyronbackroom kendallholly sampson picegotastic.vomkates playground threadplanet katie webcammilf soup india summermary jane shoe fetishjo guest hardcoreseventeenvideos.comaunt judys womenaunt judys older womeninessa bessmertnajaoyeloca galleriesron harris babesjynx maze freeonesveronicavanozamackenzie starrsasckya porto videokiss kara gallerysaima ftvjenni p only teasethai pannisuicide girl quinnelucie wilde forumbriana lee webcam videoscara lott picturesmeagan vaughn picsfree abbey wintersdroopy tittiesjessie dreamchaserseren gibsontopheavy.comhegre art updateskarla spice freeonesoso lovelyjasmine a femjoylidija mplftv girl lenamilla jovovich nipples