Hi,
I am new to this forum and new to php itself. and also a newbie as far as web developing is concerned.
I am developing a site. I need images to appear when mouse hovers over the thumbnail on the webpage. I did that. The images are of size 300X 300 pixels and they appear strictly below the pointer.
Now, the problem is that when a thumbnail is in the lower portion of the screen, the images do not appear, or they appear over the mouse position or they keep flickering. This is because there is not enough room for the image to open below the mouse pointer.
The solution would be that the image should automatically appear above the mouse pointer if there is not enough space below.
I figured I would require 3 scripts to do this. First is of making the image appear. Second is to get the active window size. Third is to get the mouse pointer position.
I do have all these scripts:
http://www.faqts.com/knowledge_base/view.phtml/aid/131
http://www.hscripts.com/scripts/JavaScr ... sition.php
But the script with which I make the image appear does not allow me to give a condition by which I can tell it to open either below or above the pointer.
Anybody knows a script for this? Will that script work with the two above to give the desired result?
Need help.
Regards
Pritam
Newbie needs help: positioning of "image over hover"
Moderator: General Moderators