Results 1 to 2 of 2

Thread: Switch Content Script II (icon based) doesn't work in IE?

  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content Script II (icon based) doesn't work in IE?

    1) Script Title: Switch Content Script II (icon based)

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

    3) Describe problem: Hi, I'm trying to implement switch content script on our website, but it doesn't work in IE, the error message says "'switchicon' is undefined", any ideas how to fix this? The link to the web page is: http://www.fortunegroup.com.au/Test-...h-Content.aspx
    Thanks a lot for your help, Regina

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    Here:

    Code:
    <link rel="icon" href="/favicon.ico" /><link href="../App_Themes/FortuneGroup/nivo-slider.css" 
    type="text/css" rel="stylesheet" />
    <script type="text/javascript" src=" http://fortunegroupcomau@fortunegroup.com.au/App_Themes/FortuneGroup/switchcontent.js" ></script>
    and here:

    Code:
    <script type="text/javascript" src=" http://fortunegroupcomau@fortunegroup.com.au/App_Themes/FortuneGroup/switchicon.js">
    
    /***********************************************
    * Switch Content script II (icon based)- (c) Dynamic Drive (www.dynamicdrive.com)
    * Requires switchcontent.js and included before this file!
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    Those src attributes are incorrect. Fix them:

    Code:
    <link rel="icon" href="/favicon.ico" /><link href="../App_Themes/FortuneGroup/nivo-slider.css" 
    type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="http://fortunegroup.com.au/App_Themes/FortuneGroup/switchcontent.js" ></script>
    and:

    Code:
    <script type="text/javascript" src="http://fortunegroup.com.au/App_Themes/FortuneGroup/switchicon.js">
    
    /***********************************************
    * Switch Content script II (icon based)- (c) Dynamic Drive (www.dynamicdrive.com)
    * Requires switchcontent.js and included before this file!
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    - 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
  •