Results 1 to 3 of 3

Thread: Browser is not defined

  1. #1
    User
    Join Date
    01-26-10.
    Posts
    37

    Default Browser is not defined

    Hi

    Since I upgraded to the last version of contao, the Flash banner of my site doesn't display and Firebug says "Browser is not defined".
    Here is the code that generates the error :

    Code:
    <script type="text/javascript">
    <![CDATA[//><!--
    if (Browser.Plugins.Flash.version > 0) {
      new Swiff("tl_files/peyrichou/flash_header_mini.swf", {
        id: "swf_44",
        width: 360,
        height: 133,
        params : {
          allowFullScreen: true,
          flashvars: "URL=http://contao.dev.acao.fr/"
        },
        container: $('swf_44_container')
      });
    }
    //--><!]]>
    </script>
    To which library belongs the Browser object ?

    Thank you for your help

    Aïda

  2. #2
    User
    Join Date
    01-26-10.
    Posts
    37

    Default Re: Browser is not defined

    I think I found the problem. I'm using jQuery for several things in the site and therefore I got rid of mootools (to which I guess the Browser object belongs).
    Am I compelled to use Mootools ?

  3. #3
    User
    Join Date
    01-26-10.
    Posts
    37

    Default Re: Browser is not defined

    I found a solution : jQuery.noConflict();

    I'll try it.

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
  •