kyleflan
06-19-2007, 05:11 AM
1) Script Title: DHTML Window widget (v1.03)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem: I'm messing around with the iframe feature of this code trying to get it to display a webpage inside the frame. For testing purposes I tried linking to "http://bulletin.myspace.com/index.cfm?fuseaction=bulletin". The problem is, it seems to load the page in the iframe, but immediately after that, it redirects me to that page away from my page. Any suggestions? Here's the code to call the iframe:
<a href="#"
onclick="bulletinwin=dhtmlwindow.open('ajaxbox', 'iframe', 'http://bulletin.myspace.com/index.cfm?fuseaction=bulletin', 'Bulletins', 'width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1'); return false">Click
Here</a>
I also inluded a very basic test page to show what's happening, it's attached as text.txt if you're a visual person. To see it in action you just have to download and rename it as something.html and open it in your web browser.
And I'm using the latest version of Firefox, if that has anything to do with it.
Thanks,
Kyle
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem: I'm messing around with the iframe feature of this code trying to get it to display a webpage inside the frame. For testing purposes I tried linking to "http://bulletin.myspace.com/index.cfm?fuseaction=bulletin". The problem is, it seems to load the page in the iframe, but immediately after that, it redirects me to that page away from my page. Any suggestions? Here's the code to call the iframe:
<a href="#"
onclick="bulletinwin=dhtmlwindow.open('ajaxbox', 'iframe', 'http://bulletin.myspace.com/index.cfm?fuseaction=bulletin', 'Bulletins', 'width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1'); return false">Click
Here</a>
I also inluded a very basic test page to show what's happening, it's attached as text.txt if you're a visual person. To see it in action you just have to download and rename it as something.html and open it in your web browser.
And I'm using the latest version of Firefox, if that has anything to do with it.
Thanks,
Kyle