-
DHTML Window Widget
1) Script Title:
dhtmlwindow
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem: I'm try to load a window with an html page that resides on a different server. The code below does not seem to work can someone advise on the correct method to do this. Here is the code (WMi02 is the server name)
onclick ="ajaxwin=dhtmlwindow.open('WO_A1W', 'ajax', 'file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html', 'Equipment Manual', 'width=980px,height=620px,left=50px,top=100px,resize=1,scrolling=1');return false" onmouseout="this.style.backgroundColor='#FFFFFF'" href="#" >
Thanks
Jim
-
-
Check that the full path "file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html" is valid (ie: enter it into your browser and see if it loads the desired page). Different browsers seem to differ in what they consider a valid file:/// path, so you should also make sure that path works across browsers.
DD Admin
-
-
DHTML Window Widget
Thanks for the help,
I got it to work using the following;
onclick ="ajaxwin=dhtmlwindow.open('WO_A1W', 'iframe', 'file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html', 'Equipment Manual', 'width=980px,height=620px,left=50px,top=100px,resize=1,scrolling=1');return false"
I still have one problem the scroll bar does not appear when the window is loaded even through there is data below the window view. Any ideas?
Thanks again
Jim
-
-
Hmm it's hard to say without seeing a live example why the scrollbar doesn't appear. It must be something within your page. Try experimenting by replacing parts of your page with arbitrary content to isolate which section of the page is the culprit.
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks