Jump to content

contoling position with javascript?


Stickybomb

Recommended Posts

i am working on a script to make a div move around on the sceen when you mouse over an image

 

for some reason i cant get it to work i think i have a DOM issue but not sure here is the code i am using.

 

onmouseover="document.families-head.style.top='500px';

 

i have a similar out call that moves the div back. both of which are being from an image.

 

if anyone could assist me with this it would help alot thks!

Link to comment
https://forums.phpfreaks.com/topic/44390-contoling-position-with-javascript/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.