Results 1 to 4 of 4

Thread: help with switch content script

  1. #1
    Join Date
    Jun 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with switch content script

    I am a beginner at this, so I am sorry if this is a stupid question.
    My website is here. I am using the switch content script, but I want the home page to appear when the page is loaded. I tried the display:block method on the script's page, but that doesn't work. Is there another way?

    Thanks a lot for the help.
    Last edited by marty; 06-17-2006 at 04:16 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Are you sure you copied the script correctly? There's a JS error that pops up, specifically, the line:

    Code:
    Error: saveswitchstates is not defined
    Source File: http://davidherzka.com/
    Line: 166
    This does not happen in the original code. Remove and recut and paste the code onto your page.

  3. #3
    Join Date
    Jun 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think it may be fixed now. Can somebody please verify this for me?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks pretty good. You still have a script error in FF that doesn't appear to be causing any real problems:

    Error: uncaught exception: [Exception... "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: http://pagead2.googlesyndication.com/pagead/show_ads.js :: z :: line 21" data: no]
    This seems to be caused by having a script generated iframe (the Google ads) inside of your frameset - which you used, apparently, to have the highring.com domain name appear in the address bar.

    Having the frameset 'redirect' does seem to prevent the 'home' content from loading at first though in IE - until it is stored in the session cookie after clicking on its link, while in FF this is not a problem.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •