View Full Version : Resolved DHTML Modal window v1.1 error before the wondows to load

10-08-2012, 02:15 AM
Script Url: http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

I am trying to use this feature(Veil) before to get into the original website. Whenever I tried to open my website it shows an error.

"ERROR: Modal Windows script requires all files from "DHTML Window widget" in order to work!"

I think it is related to 'modal.js' where it said in first line

" if (typeof dhtmlwindow=="undefined")
alert('ERROR: Modal Window script requires all files from "DHTML Window widget" in order to work!')"

Javascript I used in my< body> page is
<script type="text/javascript">
var DublinAwamileaguewin=dhtmlmodal.open("DublinAwamileaguebox", "iframe", "http://www.dublinawamileague.net46.net", "Dublin Awamileague Website", "width=590px,height=450px,center=1,resize=1,scrolling=0", "recal")

I also found this page works fine in Oprera and Firefox but not in IE9. In IE9 it shows this error. Also in google chorme the "Veil" doesnt stay for long time.

I used files before </head> tag are 1)Modal.css and 2) Modal.js. . I didnt change anything on these files.
Can any one help on this please?

Thanks & Regards,

10-08-2012, 03:39 AM
Please use the forum's bbcode tags to make it more readable:

for php code............
<?php /* code goes here */ ?>
for html...............
<!-- markup goes here -->.....
for js/css/other.......
code goes here................

I'm getting no such issue in either ie9 or chrome.

10-09-2012, 11:42 PM
Thanks bernie. I have sorted that out.