Results 1 to 1 of 1

Thread: How to get default page to display

  1. #1
    Join Date
    Nov 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get default page to display

    Please disregard, it's working now.
    Thanks,

    Kerry

    1) Script Title: Drop-down Document Viewer

    2) Script URL (on DD): Drop-down Document Viewer

    3) Describe problem: In DD's example, the default is Yahoo and it displays the Yahoo website automatically. I want my default page to be displayed automatically without a viewer having to press the Go button alongside the first option "Statements 1- 5." I want docs displayed in an inline frame. My var displaymode=0.

    I change the URL at

    //if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
    var iframecode='<iframe id="external" style="width:95%;height:400px" src="http://www.yahoo.com"></iframe>'
    to read:

    //if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
    var iframecode='<iframe id="external" style="width:95%;height:400px" src="http://www.managercoaching.com/sample.htm"></iframe>'
    I change the selected URL to read:

    <option value="http://www.managercoaching.com/sample.htm" selected>Sentences 1 - 5</option>


    /sample.htm (Sentences 1 - 5 ) is the page I want to be displayed automatically. What I get is a blank page. The other drop downs perform as expected.

    I get the same results using XP Pro IE and Firefox 1.5.0.6

    What am I doing wrong?

    Thanks,

    Kerry

    Test page for the Drop-down Documant Viewer = http://www.managercoaching.com/insertnewpage.htm

    PS. Typo = "intial document" .
    Last edited by Kerry; 08-22-2006 at 12:55 AM.

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
  •