Results 1 to 5 of 5

Thread: Javascript Erroring IE users. Help!

  1. #1
    Join Date
    May 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Javascript Erroring IE users. Help!

    Hey,
    I own a popular resource site for people that make Habbo Hotel Fansites. Ive just released a new version but found a big problem.
    In IE theres a bit of javascript from this script:
    http://dynamicdrive.com/dynamicindex1/anylinkcss.htm

    The bit of javascript that is erroring all my IE users is:
    <script type="text/javascript">

    //anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkcssmenu.init("anchorclass")

    </script>
    I have put this at the end of the page and it hasnt made a diffrence.

    The link to the site is http://habboarchive.net/V5/
    (You cant open it in IE)

    Anyone know a way round this? or something i can do to make it work or anything lol.

    Thanks
    Regards,
    Auks

  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

    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.


    I just answered a very similar question, and your page has the same exact problem (even including the lack of credit notice and the class of the unclosed division), though - since I haven't tested the solution on your page, I cannot be 100% sure it will work, but the odds are very good. See:

    http://www.dynamicdrive.com/forums/s...446#post182446
    - John
    ________________________

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

  3. #3
    Join Date
    May 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    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.


    I just answered a very similar question, and your page has the same exact problem (even including the lack of credit notice and the class of the unclosed division), though - since I haven't tested the solution on your page, I cannot be 100% sure it will work, but the odds are very good. See:

    http://www.dynamicdrive.com/forums/s...446#post182446
    ive try'd that, and it didnt do anything.

  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, and it fixed it. You haven't. You've still neglected to reinstate the credit notice, and - more importantly, you have not added an additional </div> tag, should be (from your current source code, addition highlighted):

    Code:
    		<div id="content-bottom" class="clear"></div>
    	</div>
    </div></div>
    <script type="text/javascript">
    anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkcssmenu.init("anchorclass")
    </script>
    </body>
    </html>
    You really should validate your page, but this will fix it.
    - John
    ________________________

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

  5. #5
    Join Date
    May 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    I did, and it fixed it. You haven't. You've still neglected to reinstate the credit notice, and - more importantly, you have not added an additional </div> tag, should be (from your current source code, addition highlighted):

    Code:
    		<div id="content-bottom" class="clear"></div>
    	</div>
    </div></div>
    <script type="text/javascript">
    anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkcssmenu.init("anchorclass")
    </script>
    </body>
    </html>
    You really should validate your page, but this will fix it.
    Thank you. I will validate soon. Cheers

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
  •