PDA

View Full Version : Window Widget: Always on Top?



jcurry2
03-16-2007, 08:11 PM
1) Script Title: DHTML Window widget (v1.01)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

3) Describe problem: Popping up below another layer that has a flash object.

I have a flash header (template-type style) and when I click to open it, the popup shows up, just half underneath the headers. Can I put this script in an "always on top" situation?

jscheuer1
03-16-2007, 08:52 PM
It already is more or less. Flash is a special case though and needs to be set wmode transparent. How this is done varies depending upon the tags you are using for the flash and especially with some uses of javascript to overcome 'click to activate' but, basically you add this param:


<param name="wmode" value="transparent">

to the object tag and this attribute:


wmode="transparent"

to the embed tag.

If you already have that working but still have a problem, the z-index style of the DHTML Window may need to be increased.

jcurry2
03-16-2007, 11:36 PM
Do you accept paypal or just money orders?

Seriously, thanks so much for you're help.. definately makes me wanna stick around to become more knowledgeable in this language.

-Joe
Baton Rouge, LA