PDA

View Full Version : DHTML Window Widget and Dropdown/Overlap Ajax content?



jensoko
04-03-2008, 05:34 PM
1) Script Title: DHTML Window Widget and Dropdown/Overlap Content scripts

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
and
http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm


3) Describe problem:

I have successfully used DHTML window widget to open up a page as ajax content in the window opened. The page I open contains the Dropdown/Overlap content script, and functions fine when opened on its own, but the dropdown/overlap fails to work when the page is summoned in the DHTML window widget. Is this a case of too many scripts, or is there some conflict I'm not seeing.

For reference, the pages in question are located here:

http://stage.pendragonhomes.com/communities/index.htm - this is the page that calls the DHTML window widget. Click the first link to see the dhtml window summoned.

http://stage.pendragonhomes.com/communities/test.htm - this is the page that calls the dropdown/overlap content - mouseover the yellow squares to see the dropdown stuff. It works fine when the page is loaded into the browser on its own, but when called forth in the dhtml window, the mouseovers don't seem to do anything.

Any help is greatly appreciated.

Jensoko

ddadmin
04-04-2008, 08:10 AM
This is expected, since you're using the "Ajax" method within DHTML window to fetch test.htm When that happens, any JavaScripts on test.htm won't properly run. This is more of a limitation with browsers than the script. What you can do is switch over to the IFRAME mode to fetch test.htm

jensoko
04-07-2008, 02:18 AM
Works perfectly! Thank you so much!