Results 1 to 8 of 8

Thread: Youtube Videos in Ajax Tabs Content Script doesn't work

  1. #1
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Youtube Videos in Ajax Tabs Content Script doesn't work

    1) Script Title: Ajax Tabs Content Script (v 2.2)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...?countrytabs=1

    3) Describe problem:

    In the Tabs dosn't work Youtube Links. Why?

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    You must use an iframe to fetch 'foreign' external content.

  3. #3
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    in this script generally doesn't work any external link. I use the latest version of firefox browser. even in the demo #3 of the Ajax Tabs Content Script (v 2.2) which is to be loaded in an iframe google, nothing comes to me.

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Sirius View Post
    ... even in the demo #3 of the Ajax Tabs Content Script (v 2.2) which is to be loaded in an iframe google, nothing comes to me.
    That's not the script's fault. Google doesn't want (anymore) to be loaded in an iframe. Try to load DynamicDrive with #demo3 - you'll see it will work.

  5. #5
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Ok, thanks - now it works fine. But now i have an another problem. I want to put the follow code in an *.js file:

    Code:
    <script type="text/javascript">
    var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    I tried it with a function multitabs() { .... } but it doesn't work.



    Perhaps u can help me with my another problem here: http://www.dynamicdrive.com/forums/s...t-after-select
    Last edited by Sirius; 01-15-2013 at 05:03 PM.

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Sirius View Post
    Ok, thanks - now it works fine. But now i have an another problem. I want to put the follow code in an *.js file:

    Code:
    <script type="text/javascript">
    var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    I tried it with a function multitabs() { .... } but it doesn't work.


    Are you sure you only apply this to pages of your own domain? And have you removed the script tags in your js-file?

  7. #7
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Yes, i taked the Tab Content Script (v 2.2) (http://www.dynamicdrive.com/dynamici...tabcontent.htm) and i tried to put the follow code in the tabcontent.js:

    Code:
    var countries=new ddtabcontent("ajaxtabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    Hmm ... i did not understand the problem!

  8. #8
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

Similar Threads

  1. Ajax Tabs Content Script - ajax in tab does not work
    By chaloupka in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-24-2009, 09:16 AM
  2. Ajax Tabs Content script- Doesn't work
    By BorO in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 01-14-2009, 12:45 PM
  3. Ajax Tabs Content Script don't work on firefox 3
    By arttree in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-02-2008, 11:41 AM
  4. Ajax Tabs Content script doesn't work on Firefox for me.
    By binaryman209 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-11-2007, 07:10 AM
  5. Ajax Tabs Content script cannot work in tomcat
    By kammau in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 01-10-2007, 03:06 PM

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
  •