Technically no*, in reality yes. It's a matter of z-index. The slideshow operates in a range of z-index from 999 to 1001. The DHTML window starts at 100 and escalates from there in increments of 1 if there are more than one so that the current one may be on top of the other(s). That (the starting value of 100) is set in the dhtmlwindow.js script. Open it up with a text only editor like NotePad and find the highlighted line. Set the value (red) as shown:
Code:
// -------------------------------------------------------------------
// DHTML Window Widget- By Dynamic Drive, available at: http://www.dynamicdrive.com
// v1.0: Script created Feb 15th, 07'
// v1.01: Feb 21th, 07' (see changelog.txt)
// v1.02: March 26th, 07' (see changelog.txt)
// v1.03: May 5th, 07' (see changelog.txt)
// v1.1: Oct 29th, 07' (see changelog.txt)
// -------------------------------------------------------------------
var dhtmlwindow={
imagefiles:['windowfiles/min.gif', 'windowfiles/close.gif', 'windowfiles/restore.gif', 'windowfiles/resize.gif'], //Path to 4 images used by script, in that order
ajaxbustcache: true, //Bust caching when fetching a file via Ajax?
ajaxloadinghtml: '<b>Loading Page. Please wait...</b>', //HTML to show while window fetches Ajax Content?
minimizeorder: 0,
zIndexvalue:1050,
tobjects: [], //object to contain references to dhtml window divs, for cleanup purposes
lastactivet: {}, //reference to last active DHTML window
init:function(t){
var domwindow=document.creat
Save it and use that version.
The browser cache may need to be cleared and/or the page refreshed to see changes.
*I say technically no because something else could theoretically have a higher z-index. But, for practical purposes in this situation, as long as you set things up as I've just outlined, the effect will be that the DHTML Window will be 'always on top'.
Bookmarks