Trying to use onMouseover to make a div popup

5 Replies - 4558 Views - Last Post: 30 July 2009 - 10:27 AM

Javascript Popup DIV

Posted 29 July 2009 - 11:50 AM

Hey there guys, I've been trying for the past day to make a popup div box using the onmouseover and no ones explanations or tuts work =/
What I'm trying to do is have it to where I can make a div and when someone puts their mouse over a link or selected object a small box appears and gives the description of the links contents. I can deal with teh design aspect of making it look pretty but I don't know enough Javascript to do this

A sleeker way with a nicer looking box but I can fix that myself, right now, I have the exact! same code he does setup identically and its not working if you want to take a look at the site http://www.intensity...ologies.com/vb/

Maybe I'm just doing something wrong, but his works and it won't on my website =/

It sounds stupid but do I have to define the DIV properties inside of my style sheet since i'm calling on it? Or will it automatically call on the HTML defined div properties?
Thanks for the help, sorry I'm an uber noob when it comes to scripting.

Ok thanks for the help but I figured out the problem and its really stupid but,
Since Divs are sections of HTML like separators with individual manipulative properties you need to include ALL of the div information inside of that one div. Since it was already being declared inside of a div the browser was only looking inside of #search and no where else

SOOOO DUMB

anyway, thanks for the help I love the forum.
I will probably be back '