Welcome visitor
* Login
* Register
It is currently July 21st, 2019, 6:27 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  Image over a table
PostPosted: March 13th, 2009, 2:46 am 
User avatar

Posts: 70
How can i put an image over a table, but when the mouse is over, i want the image to move, in order to see the table content? Im a little confused about how to do it, thanks.


Top
 Profile  
 
  Re: Image over a table
PostPosted: March 13th, 2009, 2:51 am 
User avatar

Posts: 81
basically
<img src="image" style="position:absolute; top:40px; left:30px;" id="pic"
onMouseOver="event.srcElement.style.top='100px'; event.srcElement.style.left='100px';"
onMouseOut="event.srcElement.style.top='40px';">
feel free to make the changes u need


Top
 Profile  
 
  Re: Image over a table
PostPosted: March 13th, 2009, 3:05 am 
User avatar

Posts: 70
Thanks it works great moving the image, but it fails when putting it back, it doesnt move it to the right, very good though.


Top
 Profile  
 
  Re: Image over a table
PostPosted: March 13th, 2009, 3:09 am 
User avatar

Posts: 81
yep, thats what it was intended to do, i wanted to show u how u can play with the styles and i guess u already know how to fix it, right? ;)


Top
 Profile  
 
  Re: Image over a table
PostPosted: March 13th, 2009, 3:11 am 
User avatar

Posts: 70
:D I see, and yes i've already fix it , thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron