Results 1 to 9 of 9

Thread: Tab Content Script (v 2.2)

  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab Content Script (v 2.2)

    1) Script Title: Tab Content Script (v 2.2)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tabcontent.htm

    3) Describe problem:

    I've been trying to work with this script and get some kind of tab script up on my page...when I open the script in a browser to preview however this is what I get...

    * Tab 1
    * Tab 2
    * Tab 3
    * Tab 4
    * Tab Content script

    Tab content 1 here
    Tab content 1 here
    Tab content 2 here
    Tab content 2 here
    Tab content 3 here
    Tab content 3 here
    Tab content 4 here
    Tab content 4 here

    Click here to select 3rd tab

    Nothing =(, what do I do?

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

    Default

    Make sure you've uploaded the .js and .css files associated with the script, and that the references to them in the HEAD section of your page are working.
    DD Admin

  3. #3
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I downloaded all of the files into my website directory, I followed the steps as listed on the walkthrough and sitll nothing, I even tried changing the paths so that they were point directly at it....Still nothing

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

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  5. #5
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    Default

    Well, your script references are currently pointing to your local d: drive, not online as they should be:

    Code:
    <link rel="stylesheet" type="text/css" href="D:\Prophecy Website\tabcontent.css">
    
    <script type="text/javascript" src="D:\Prophecy Website\tabcontent.js">
    DD Admin

  7. #7
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Changed it, still nothing

  8. #8
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Still can't get it figured out i've been playing with it for a while now

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

    Default

    Your test page has been removed. Regardless though, this is defiinitely just a straightforward broken paths problem. You need to make sure the two paths (.js and .css) specified in the code above points correctly to where the files are located on your server, not offline.
    DD Admin

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
  •