Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts

    firebug says "randomizeContent is not defined"

    Guess some definition is missing in JS part.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,930
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    You mean here in this forum? Yeah, there are a couple of errors and I believe I’ve addressed some in the past but nobody would listen anyway, and less than ever fix it. That it's possible shows that the forum on http://www.vbulletin.com/forum/ is valid (just XHTML transitional but still, no real error in error console).

  • #3
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    I don't get any JS errors in IE7, which has script logging turned on. I gather this is on a specific page(s) on CF, and not the frontpage?
    Last edited by WA; 01-04-2008 at 12:38 PM.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    No. In my FF-2.0.0.1.1 and firebug-1.05 , I get this error in almost all pages and firebug points to this code
    Code:
    <script type="text/javascript">
    //randomize order of contents with DIV class="group1"
    randomizeContent("group1")
    </script>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    Hmmm strange, I don't get any errors in FF 2.x either. I'll have to check this out in more detail later.
    Last edited by WA; 01-04-2008 at 01:34 PM.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

  • #6
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,930
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    Oh! Hehe, I know why, I know why! But I won’t tell ya!


    Nah, just kidding, I will tell you: The errors are caused because the Firefox Adblocker extension blocks some scripts that may be related to ads. That’s why frequent checking of the availability of an object is recommended. I don’t wanna sound supercilious but reading about unobtrusive JavaScript (especially this first chapter) – and applying the learned lessons – might be an option.

  • #7
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    Ah yes, the ad blocker is probably it. Now, instead of checking for the availability of JavaScript objects, maybe what I should be doing is checking for and disabling ad blockers.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

  • #8
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,930
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    Quote Originally Posted by WA View Post
    […] maybe what I should be doing is checking for and disabling ad blockers.
    Check out http://dasauge.de with Adblocker enabled. While you may not understand what the message says literally (without a dictionnary, at least) and while this doesn’t deactivate ad blockers it may give you some inspiration.

    Made me disable it for that site, at least.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •