Web Hosting Talk







View Full Version : OnMouseOver?


soul40k
07-16-2005, 07:16 PM
Very confused on how to do this.

I have been looking around at javascripting and onmouseover and all that but i cannot find out how to get it to go like it does on this site here:

thottbot.com/?t=Enchanting


If you scroll over the images the windows pop up to the side and i cant figure how.

Anyone out there know?

Beck511
07-17-2005, 03:10 AM
It looks like it's an Open Browser Window command. Here's the code for that:

Put this between <head></head> (exactly as it's written below):

<script language="JavaScript" type="text/JavaScript">
//-->

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>


Put this right before the text you want the mouse to activate (customize URL, etc, but take out the spaces):
<a href="" class="boldlink" onMouseOver="MM_openBrWindow('URL','WindowName','width=350,height=350')">Your Text Here</a>

Hope that helps!

soul40k
07-18-2005, 01:22 AM
hmm that is really close, ty for that, he doesnt have it in a window however it just seems to be an image that hoves in a spot #x# away from the cursor and leaves when you mouseout. If i could make that window.. not a window or without the frame and leave on mouseout it would be perfect.

thank you however for what you gave.

Beck511
07-18-2005, 02:45 PM
Hey, no problem.