PDA

View Full Version : DHTML Windows



RadXPictures
11-11-2009, 05:20 PM
1) Script Title: DHTML Window Widget

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

3) Describe problem: Okay, so I'm trying to use the DHTML Window to replicate an internet browsing program. I am trying to get the iframe window to display an address bar, but nothing's working. Please help!

ddadmin
11-11-2009, 09:47 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

RadXPictures
11-14-2009, 06:00 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

That's just it. I'm trying to work out all the bugs before I post it to the web. I can give you the code where I'm having the problem though. The rest of the code is too large to include in this post.

<a href="#" onClick="ajaxwin=dhtmlwindow.open('google', 'iframe', 'http://www.google.com/', 'Google', 'width=850px,height=600px,left=0px,top=0px,resize=1,scrolling=1, toolbar=1, location=yes'); return false"><img id="mc" src="googleicon.gif" style="position: relative" BORDER="0"/>

<script type="text/javascript">
Drag.init(document.getElementById("mc"));
</script></a>
</div>

<a href="#" onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'cpl.html', 'Sky Control Center', 'width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1'); return false"><img id="display" src="cpl.gif" style="position: relative" BORDER="0"/>

<script type="text/javascript">
Drag.init(document.getElementById("display"));
</script></a>

I tried adding the "location=1" and "toolbar=1" but still nothing's working. Please help.

RadXPictures
12-05-2009, 03:32 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

Here's the link: http://www.skyos.webs.com/os.html

ddadmin
12-06-2009, 10:24 AM
Try somethinig like the below modified dhtmlwindow.js file,which adds a location bar (simulated using the INPUT="text" element) for IFRAME based DHTML window.

RadXPictures
12-06-2009, 03:34 PM
Try somethinig like the below modified dhtmlwindow.js file,which adds a location bar (simulated using the INPUT="text" element) for IFRAME based DHTML window.

Thanks!