Results 1 to 3 of 3

Thread: Tabcontent script & deferred script help

  1. #1
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tabcontent script & deferred script help

    1) Script Title:

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

    3) Describe problem: Ive been calling external javascript for each of my tabs which i have deferred to the end of my page to help load times.

    This worked fine when calling one script now im calling three its not showing anything after tab 6.

    I have given each script a div id which i have highligted in red below.

    <div id="tcontent2" class="tabcontent"><div id="ViewtyBlackdealsVodafone"></div><div id="ViewtySilverdealsVodafone"></div><div id="ViewtyPurpledealsVodafone"></div></div>

    <div id="tcontent3" class="tabcontent"><div id="ViewtyBlackdealsT-Mobile"></div><div id="ViewtySilverdealsT-Mobile"></div><div id="ViewtyPurpledealsT-Mobile"></div></div>
    <div id="tcontent4" class="tabcontent"><div id="ViewtyBlackdealsO2"></div><div id="ViewtySilverdealsO2"></div><div id="ViewtyPurpledealsO2"></div></div>
    <div id="tcontent5" class="tabcontent"><div id="ViewtyBlackdealsOrange"></div><div id="ViewtySilverdealsOrange"></div><div id="ViewtyPurpledealsOrange"></div></div>
    <div id="tcontent6" class="tabcontent"><div id="ViewtyBlackdealsThree"></div><div id="ViewtySilverdealsThree"></div><div id="ViewtyPurpledealsThree"></div></div>
    <div id="tcontent7" class="tabcontent"><div id="ViewtyBlackdealsIpodTouch"></div><div id="ViewtySilverdealsIpodTouch"></div><div id="ViewtyPurpledealsIpodTouch"></div></div>
    <div id="tcontent8" class="tabcontent"><div id="ViewtyBlackdealsNintendoWii"></div><div id="ViewtySilverdealsNintendoWii"></div><div id="ViewtyPurpledealsNintendoWii"></div></div>
    <div id="tcontent9" class="tabcontent"><div id="ViewtyBlackdealsXbox360"></div><div id="ViewtySilverdealsXbox360"></div><div id="ViewtyPurpledealsXbox360"></div></div>
    <div id="tcontent10" class="tabcontent"><div id="ViewtyBlackdealsSonyPSP"></div><div id="ViewtySilverdealsSonyPSP"></div><div id="ViewtyPurpledealsSonyPSP"></div></div>
    <div id="tcontent11" class="tabcontent"><div id="ViewtyBlackdealsSatNav"></div><div id="ViewtySilverdealsSatNav"></div><div id="ViewtyPurpledealsSatNav"></div></div>
    Last edited by Dazza30; 04-11-2008 at 08:00 PM.

  2. #2
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also this is these are some of the references to the called external scripts im using

    <script type="text/javascript"src="http://www.urmob.co.uk/content/table.php?id=dazza30&model=745&network=Vodafone&showlogo=1&max=999&nolinks=1&sortpop=1&nodeals=Sorry+there+are+no+Vodafone+mobile+deals+available+for+the+LG+Ku9 90+Viewty+Black+mobile+phone&target=ViewtyBlackdealsVodafone"defer="defer"></script>
    <script type="text/javascript"src="http://www.urmob.co.uk/content/table.php?id=dazza30&model=840&network=Vodafone&showlogo=1&max=999&nolinks=1&sortpop=1&nodeals=Sorry+there+are+no+Vodafone+mobile+deals+available+for+the+LG+Ku9 90+Viewty+Silver+mobile+phone&target=ViewtySilverdealsVodafone"defer="defer"></script>
    <script type="text/javascript"src="http://www.urmob.co.uk/content/table.php?id=dazza30&model=896&network=Vodafone&showlogo=1&max=999&nolinks=1&sortpop=1&nodeals=Sorry+there+are+no+Vodafone+mobile+deals+available+for+the+LG+Ku9 90+Viewty+Purple+mobile+phone&target=ViewtyPurpledealsVodafone"defer="defer"></script>
    I havent got a live version of this because it doesnt work, if one is needed ill upoad it.

  3. #3
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Problem solved!

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
  •