PDA

View Full Version : DHTML Widget window not showing



dbldee
04-04-2007, 08:47 PM
1) Script Title: DHTML Widget window

2) Script URL (on DD): http://www.econsumersearch.com/windowfiles/widgetwindow.html

3) Describe problem: Demo script has been uploaded, all files are in the same directory,yet WINDOW is NOT shown with Ajax Content.

thetestingsite
04-04-2007, 08:51 PM
In your page, being that you have all the files in the same directory, try changing this line:



<script type="text/javascript" src="windowfiles/dhtmlwindow.js">


to



<script type="text/javascript" src="dhtmlwindow.js">


(Notice how I have taken out the directory windowfiles because your page is in the windowfiles directory.)
Hope this helps.

dbldee
04-06-2007, 09:57 PM
Removed all references to the directory and all seems to be better.
But why is dog.jpg nor bird.jpg not loading ?
I cannnot seem to reference it in either the JS nor the css


http://www.eConsumersearch.com/windowfiles/widgetwidow.html

thetestingsite
04-06-2007, 10:03 PM
Edit external.htm, and remove the reference to the directory in there.

The code of external.htm:



<div>
<img src="windowfiles/bird.jpg" style="float: left; margin: 0 10px 10px 0" />Birds are bipedal, warm-blooded, oviparous vertebrate animals characterized primarily by feathers, forelimbs modified as wings, and hollow bones.
</div>


Remove the part in red (you will need to do the same with external2.htm as well).

Hope this helps.