Tuesday, 6 August 2013

Randomize image position with JQuery and HTML

Randomize image position with JQuery and HTML

I have this :
<div id="randomp"
style="position:absolute;top:3px;left:3px;width:165px;height:29px;background:url(/logo2.png)
no-repeat;background-size: 165px;"></div>
I want that the propierty "top" and "left" change every time you enter
into the page. I mean that some times it appear on the right top corner,
right bottom corner, left top corner and left bottom corner..
Here it is what i have tryied: http://redzer.com.mx/tabla.html

No comments:

Post a Comment