PDA

View Full Version : Making Announcement Box a Mouseover Effect



megler
06-14-2007, 05:49 PM
1) Popup Box (DHTML Announcement Box) & Cool DHTML Tooltip

2) http://www.dynamicdrive.com/dynamicindex11/abox.htm
http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

3) I love the look of the Popup Box and the Functionality of the DHMTL tooltip. However, I'm totally stumped on how to combine the 2. What I want is to have a box similar to the announcement box popup when using the DHTML tooltip effect. Is there any way to do this? I don't even care if the box is movable or does all the cool things of the original, only that it has the look and the ability to have a title and text.

thanks in advance for 2 great scripts!

Marceia

megler
06-15-2007, 01:32 AM
well, given enough time and coffee, i eventually answer most of my own questions. to get the effect I'm looking for, i switched scripts to the DHTML Window widget (v1.03) script and added an onMouseover effect vs onClick.

it works great!

I've figured out how to work a mouseover and onMouseout effect, but can't quite get the onMouseout to work on a timer (setTimer?). are there any suggestions?



<a href="#" onMouseover="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'http://mydomain.com/windowfiles/external.htm', 'A Message From Our Sponsor', 'width=350px,height=200px,left=150px,top=100px,resize=0,scrolling=1');return false" >Create/ Open Ajax Window</a>


thanks!