Recent Questions How To Manage Trees With Javascript
Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the onmouseover popup from the page loaded within the iframe? Something like "parent.document.getElementById('windowid').hide();". Any help would be appreciated.
A: You can close the onmouseover popup using the following function:document.getElementById('win').hide();
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>
Your link will work in that case.Q: Drop Down Menu could be the best solution for my website ... but Ihave one important question: I've seen, that it's possible to open the javascript change menu linked contents in the same or in a new window or in a frame ... but is it possible, too, to generate a new tab? To open a new window often is not possible, because most users have popup-blockers installed. And to open the contents in the same window drives the user away from the main page! Open a new tab seems to be less risky ... is there any solution to be used with Drop Down Menu? I tried to use "_tab" instead of "_self" or "_parent", but it did not work!
A: You should use _blank. If your browser supports tabs your link will beopened in a new tab (except IE, in IE it will be opened in a newwindow).Q: How can I make the 'hand' icon appear when someone moves their mouse over an item in the javascript menu open?
A: You should set the following parameter:
var itemCursor="pointer";
Q: Hello, I very much like your components and will most likely buy one or more (or all!) of them for multi domain use after evaluating, I am however finding a problem with the Deluxe Popup javascript menu windows when it contains Flash content and I am resizing the window in IE6 or IE7, is this a known issue? Do you need an example of what I am referring to? We intend to use a lot of Flash content inside the windows so this is a big issue I need to resolve or workaround somehow, it seems fine in other browsers however.
Also do you have examples of how a window can be manipulated after creation, for example altering its position, width/height, window title and content etc with JS? Such an example would probably save me time evaluating.
A: To overlap your flash file you should add opaque parametersto your flash, for example:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="566" height="250" title="Intro">
<param name="movie" value="/includes/banner_final3d.swf" />
<param name="wmode" value="opaque">
<param name="quality" value="high" />
<embed src="/includes/banner_final3d.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="566" height="250"></embed>
</object>
You can find more info about menu parameters on our website:
http://www.deluxepopupwindow.com/parameters.html