Results 1 to 8 of 8

Thread: Tab Content Script (v 2.2) not working in IE8?

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

    Default Tab Content Script (v 2.2) not working in IE8?

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

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tabcontent.htm
    3) Describe problem: wont work in IE8?
    Last edited by jscheuer1; 12-13-2010 at 05:06 AM. Reason: remove hotlink

  2. #2
    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

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

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

    Default

    you deleted my site yikes

    left of the minicalendar

  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

    I did that because I could see no Dynamic Drive script on that page.

    And it doesn't appear to be working in any browser. What browser does it work in?

    Anyways, I see the markup for the tabs now, way down near the bottom. And now that I've had more of a look around, I see the tabcontent.css file is linked to the page. There appears to be some kind of fancy way of linking in the script code, but no script credit:

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    or init code, like from Step 2 on the demo page, ex:

    Code:
    <script type="text/javascript">
    
    var countries=new ddtabcontent("countrytabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    
    </script>
    I'd suggest taking out everything you have and starting over. Follow the step by step instructions from the demo page. Once you get it working like that, then you can fgiure out how to use that fancy stuff with the script. Only this time leave the credit notice on the page and in the external script.
    - John
    ________________________

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

  5. #5
    Join Date
    Aug 2006
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    works perfect in firefox 3

    minify is gonna remove comments from the script dunno how am gonna put it back.

  6. #6
    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

    Quote Originally Posted by chas View Post
    works perfect in firefox 3
    Not here. Perhaps you are looking at a local copy or have something cached or are accessing a local resource unavailable to folks viewing the page in Firefox from a computer other than your own.

    Quote Originally Posted by chas View Post
    minify is gonna remove comments from the script dunno how am gonna put it back.
    If you can't figure that one out, I guess you either cannot use the script or cannot minify it. However, using minify shouldn't stop you from putting the script credit on the page. Also, after you minify the script, you could add the credit back in at the top.

    Look at jQuery minified:

    http://ajax.googleapis.com/ajax/libs.../jquery.min.js

    It has the credit.
    - John
    ________________________

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

  7. #7
    Join Date
    Aug 2006
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it minifies on the fly....so i have to acess the server cache to add it.

    i empty cache and ff3 works perfect on desktop and laptop

    ps. hmm, your right. it works when i log in
    Last edited by chas; 12-13-2010 at 02:37 PM.

  8. #8
    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

    As long as the credit is on the page, example:

    HTML Code:
    	<script type='text/javascript' src='http://kangaroocourtaustralia.x24hr.com/cms/public/min/index.php?ipbv=31006&amp;charset=UTF-8&amp;f=extra/tabs/tabcontent.js,extra/highslide/highslide-full.js,extra/pagination/virtualpaginate.js,public/js/ipb.js,public/js/ips.quickpm.js,public/js/ips.hooks.js,public/js/ips.board.js,cache/lang_cache/1/ipb.lang.js' charset='UTF-8'>
    
    	/***********************************************
    	* Tab Content script v2.2-  Dynamic Drive DHTML code library (www.dynamicdrive.com)
    	* This notice MUST stay intact for legal use
    	* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    	***********************************************/
    
    	</script>
    instead of:

    HTML Code:
    	<script type='text/javascript' src='http://kangaroocourtaustralia.x24hr.com/cms/public/min/index.php?ipbv=31006&amp;charset=UTF-8&amp;f=extra/tabs/tabcontent.js,extra/highslide/highslide-full.js,extra/pagination/virtualpaginate.js,public/js/ipb.js,public/js/ips.quickpm.js,public/js/ips.hooks.js,public/js/ips.board.js,cache/lang_cache/1/ipb.lang.js' charset='UTF-8'></script>
    That would be acceptable. You could even put the credit here (addition highlighted) as an HTML comment:

    Code:
    <!-- script type="text/javascript" src="./extra/pagination/virtualpaginate.js" -->
    <!-- script type="text/javascript" src="./extra/highslide/highslide-full.js" -->
    <!-- script type="text/javascript" src="./extra/tabs/tabcontent.js" -->
    <!-- /***********************************************
    * Tab Content script v2.2-  Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/ -->
    <link rel="stylesheet" type="text/css" href="./extra/tabs/tabcontent.css" />
    As for getting it to work, do you have a guest login I could use for testing purposes?
    - 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
  •