Results 1 to 3 of 3

Thread: Ajax Tabs and page description

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Tabs and page description

    1) Script Title: Ajax Tab Content Script

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

    3) Describe problem:

    i have installed the script and it is working fine. but i have the problem, that the page description is getting messed up with the script text e.g.:

    Modernine TV – Thai MCOT Channel 9 Stream 1 Stream 2 Stream 2 var countries=new ddajaxtabs(“countrytabs”, “countrydivcontainer”) countries.setpersist(true) countries.setselectedClassTarget(“link”) //”link” or “linkparent” countries.init() Modernine TV ist der Nachfolger des bisherigen thailändischen Fernsehsenders MCOT Channel 9. Den TV-Kanal gibt es seit 1955. Der Fernsehsender hat seinen Sitz in Bangkok und strahlt ein landesweites Vollprogramm aus.

    http://boojoo.net/online-tv/tag/fernsehen/

    what do i have to change so that the description doesn´t show the red part above ?

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

    Default

    The code in red needs to be wrapped inside the <script> tags. Please revisit the script page and look at the code of Step 2 again to see what the correct syntax is.
    DD Admin

  3. #3
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I´m not sure if I understand you right. Do you mean step 3 of the script ?

    In my posting I use this syntax:

    <script type="text/javascript">
    var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>

    That should be correct. Isn´t it ?

    The page content in the posting itself is displayed right e.g.:

    http://boojoo.net/online-tv/thailand...-modernine-tv/

    But if you look at the meta description it is displayed wrong. The same thing is with the preview of the archive e.g.:

    http://boojoo.net/online-tv/tag/fernsehen/

    how could this be ?

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
  •