Welcome to WebmasterWorld Guest from 54.196.217.43

Forum Moderators: open

Message Too Old, No Replies

show div next to image click

     
7:06 am on Apr 9, 2012 (gmt 0)

New User

5+ Year Member

joined:Sept 8, 2008
posts: 9
votes: 0


want to show div next to the image i click with the help of javascript
if the image exteme right then div should open left side of image
4:00 pm on Apr 10, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Do a search for show hide div. There are many ways. One is to set the CSS of the element to display:none, then on click call a function that sets the display of that element to block. Be sure to return false from the function so the link doesn't navigate.