Results 1 to 4 of 4

Thread: DHTML Widget window not showing

  1. #1
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Unhappy DHTML Widget window not showing

    1) Script Title: DHTML Widget window

    2) Script URL (on DD): http://www.econsumersearch.com/windo...getwindow.html

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

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In your page, being that you have all the files in the same directory, try changing this line:

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

    Code:
    <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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default A big thank you

    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/windo...dgetwidow.html

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Edit external.htm, and remove the reference to the directory in there.

    The code of external.htm:

    Code:
    <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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •