I see it now, and I also noticed you put it in style tags, you should use script tags

<script type="text/javascript" src=" "></script>

That's how you would include a script.

Sagar Arya wrote:
Oops.. tat was a mistake.. "double quotes" i must notice that...
:)

Those 3 examples are exactly the same? : Nope... notice that there's a small space after the ending double quote.. ( got it ? ) :) tat's where IE sucks !

Cheers !
Aryan

On Thu, Jan 15, 2009 at 5:05 PM, Liam Potter <radioactiv...@gmail.com <mailto:radioactiv...@gmail.com>> wrote:


    Those 3 examples are exactly the same?
    Also, they are double quotes, not doube codes.

    Sagar Arya wrote:

        Hello,
                 This completely works fine.. How ever it was a v v v
        v vv simple mistake....
        when i include the .js files... there shouldn't be any spaces
        between the double(") codes..

        Eg: <style="javascript" src=" " >  = Illegal In IE. ( Really
        Sucks ! )
             <style="javascript" src=" " > = Legal in FF ( Smooth !)

             <style="javascript" src=" "> = Legal In both IE and FF....

        Please make sure that there is no single damn space between
        double codes.. because the IE sucks more when it sees that..

        Thanks a lot for everyone, who helped me realize this... Hooooof

        Cheers !
        Aryan
On Thu, Jan 15, 2009 at 3:44 PM, Sagar Arya <sagararya.mv
        <http://sagararya.mv> <http://sagararya.mv>@gmail.com
        <http://gmail.com> <http://gmail.com>> wrote:

           Hello,
                   I am very sorry.. I am not supposed to publish the
        code..

           Cheers !
           Sagar


           On Thu, Jan 15, 2009 at 3:28 PM, jQuery Lover
           <ilovejqu...@gmail.com <mailto:ilovejqu...@gmail.com>
        <mailto:ilovejqu...@gmail.com <mailto:ilovejqu...@gmail.com>>>
        wrote:


               Is it possible to have your page published somewhere?

               ----
               Read jQuery HowTo Resource  -
         http://jquery-howto.blogspot.com



               On Thu, Jan 15, 2009 at 2:44 PM, Sagar Arya
        <sagararya.mv <http://sagararya.mv>
               <http://sagararya.mv>@gmail.com <http://gmail.com>
        <http://gmail.com>> wrote:
               > Hello,
               >          Yes I included the jQuery file before the
               colorpicker.js file. And
               > it works fine in Mozilla and chrome.. but it doesn't
        turn up
               in IE.
               > Cheers !
               > Sagar
               >
               > On Thu, Jan 15, 2009 at 3:03 PM, jQuery Lover
               <ilovejqu...@gmail.com <mailto:ilovejqu...@gmail.com>
        <mailto:ilovejqu...@gmail.com <mailto:ilovejqu...@gmail.com>>>
        wrote:
               >>
               >> Well, it says jQuery is undefined. Have you put your
               jquery.js file
               >> before colorpicker.js ?
               >>
               >> ----
               >> Read jQuery HowTo Resource  -
         http://jquery-howto.blogspot.com
               >>
               >>
               >>
               >> On Thu, Jan 15, 2009 at 2:27 PM, Sagar Arya
        <sagararya.mv <http://sagararya.mv>
               <http://sagararya.mv>@gmail.com <http://gmail.com>
        <http://gmail.com>>

               >> wrote:
               >> > Hello,
               >> >            It doesn't seem to work even after
        adding the
               braces. It
               >> > works
               >> > fine in mozzila but the same syntax error in IE. ( IE
               suck more ! )... I
               >> > have attached the screen shots..
               >> > Cheers !
               >> > Aryan
               >> >
               >> > On Thu, Jan 15, 2009 at 10:44 AM, James Van Dyke
               <jame...@gmail.com <mailto:jame...@gmail.com>
        <mailto:jame...@gmail.com <mailto:jame...@gmail.com>>>

               >> > wrote:
               >> >>
               >> >> The initial (function($) { was never closed.
               >> >>
               >> >> Here's how I formatted it so everything lines up:
               >> >>
               >> >> (function($){
               >> >>        var EYE = window.EYE = (function() {
               >> >>                var _registered = {
               >> >>                        init: []
               >> >>                };
               >> >>                return {
               >> >>                        init: function() {
>> >> $.each(_registered.init,
               function(nr,
               >> >> fn) {
               >> >>                                        fn.call();
               >> >>                                });
               >> >>                        },
               >> >>                        extend: function(prop) {
               >> >>                                for (var i in prop) {
               >> >>                                        if (prop[i] !=
               undefined) {
>> >> this[i] =
               prop[i];
               >> >>                                        }
               >> >>                                }
               >> >>                        },
               >> >>                        register: function(fn, type) {
               >> >>                                if
        (!_registered[type]) {
>> >> _registered[type]
               = [];
               >> >>                                }
>> >> _registered[type].push(fn);
               >> >>                        }
               >> >>                };
               >> >>        })();
               >> >>
               >> >>        $(EYE.init);
               >> >> })(jQuery);
               >> >>
               >> >>
               >> >> I think that's about the most obfuscated thing
        I've seen
               this week.  I
               >> >> hope you're doing something cool.
               >> >>
               >> >> Let us know if that helps.
               >> >>
               >> >>
               >> >>
               >> >> On Jan 14, 11:57 pm, "Sagar Arya"
               <sagararya...@gmail.com <mailto:sagararya...@gmail.com>
        <mailto:sagararya...@gmail.com
        <mailto:sagararya...@gmail.com>>> wrote:
               >> >> > Hello,          I tried changing the braces..
        It seems
               they were
               >> >> > proper...
               >> >> > Here i am attaching all the files... Can anyone
        help
               me out pls...
               >> >> > its
               >> >> > perfectly running in mozilla, chrome.. but not
        in IE.. :(
               >> >> >
               >> >> > Cheers !
               >> >> > Sagar
               >> >> >
               >> >> > On Wed, Jan 14, 2009 at 12:08 PM, Sagar Arya
               <sagararya...@gmail.com <mailto:sagararya...@gmail.com>
        <mailto:sagararya...@gmail.com <mailto:sagararya...@gmail.com>>>

               >> >> > wrote:
               >> >> > > hey thanks so much.. :-)
               >> >> >
               >> >> > > Cheers !
               >> >> > > Aryan
               >> >> >
               >> >> > > On Wed, Jan 14, 2009 at 10:26 AM, Karl Swedberg
               >> >> > > <k...@englishrules.com
        <mailto:k...@englishrules.com>
               <mailto:k...@englishrules.com
        <mailto:k...@englishrules.com>>>wrote:

               >> >> >
               >> >> > >> good eye, Ricardo! thanks for the back up. :-)
               >> >> >
               >> >> > >> --Karl
               >> >> >
               >> >> > >> ____________
               >> >> > >> Karl Swedberg
               >> >> > >>www.englishrules.com
        <http://www.englishrules.com> <http://www.englishrules.com>
               >> >> > >>www.learningjquery.com
        <http://www.learningjquery.com> <http://www.learningjquery.com>

               >> >> >
               >> >> > >>   On Jan 13, 2009, at 5:54 PM, Ricardo
        Tomasi wrote:
               >> >> >
               >> >> > >> You're missing a parenthesis when closing the
               anonymous function:
               >> >> >
               >> >> > >> }(); should be })();
               >> >> >
               >> >> > >> And I'm guessing '$' is there for jQuery, so
        that
               should actually
               >> >> > >> be
               >> >> >
               >> >> > >> })(jQuery);
               >> >> >
               >> >> > >> - ricardo
               >> >> >
               >> >> > >> On Jan 13, 3:56 pm, "Sagar Arya"
               <sagararya...@gmail.com <mailto:sagararya...@gmail.com>
        <mailto:sagararya...@gmail.com
        <mailto:sagararya...@gmail.com>>> wrote:
               >> >> >
               >> >> > >> may be i should check with the other files
        and let
               you know...
               >> >> > >> thanks
               >> >> > >> for
               >> >> >
               >> >> > >> the information..
               >> >> >
               >> >> > >> Cheers !
               >> >> >
               >> >> > >> Aryan
               >> >> >
               >> >> > >> On Tue, Jan 13, 2009 at 7:06 PM, Karl Swedberg
               >> >> > >> <k...@englishrules.com
        <mailto:k...@englishrules.com> <mailto:k...@englishrules.com
        <mailto:k...@englishrules.com>>

               >> >> > >> >wrote:
               >> >> >
               >> >> > >>  I'm not seeing anything obvious. Taking a
        stab in
               the dark here
               >> >> > >> ...
               >> >> > >> I've
               >> >> >
               >> >> > >>  received a similar error in the past when a
               reference to one of
               >> >> > >> my
               >> >> >
               >> >> > >>  JavaScript files was resulting in a 404. The
               browser would try to
               >> >> > >> parse
               >> >> > >> the
               >> >> >
               >> >> > >>  file as JavaScript, but of course it would
        be met
               with a syntax
               >> >> > >> error on
               >> >> >
               >> >> > >>  line 1.  Is it possible that the problem is not
               with this file,
               >> >> > >> but
               >> >> > >> with
               >> >> >
               >> >> > >>  another one that you're trying to include?
        Just a
               guess.
               >> >> >
               >> >> > >>  --Karl
               >> >> >
               >> >> > >>  ____________
               >> >> >
               >> >> > >>  Karl Swedberg
               >> >> >
               >> >> > >>  www.englishrules.com
        <http://www.englishrules.com> <http://www.englishrules.com>
               >> >> >
               >> >> > >>  www.learningjquery.com
        <http://www.learningjquery.com> <http://www.learningjquery.com>

               >> >> >
               >> >> > >>  On Jan 13, 2009, at 5:35 AM, Aryan wrote:
               >> >> >
               >> >> > >>  I have a problem with Internet Explorer ( all
               versions ) . The
               >> >> >
               >> >> > >>  following is my JQuery Code , which executes
               perfectly in mozilla
               >> >> > >> and
               >> >> >
               >> >> > >>  chrome.. But it doesn't work in Internet
        Explorer.
               >> >> >
               >> >> > >>  It says : Syntax error ( line 1 )... Can anyone
               help me out
               >> >> > >> here..
               >> >> >
               >> >> > >>  Thanks for your time in reading this.
               >> >> >
               >> >> > >>  (function($){
               >> >> >
               >> >> > >>  var EYE = window.EYE = function() {
               >> >> >
               >> >> > >>   var _registered = {
               >> >> >
               >> >> > >>   init: []
               >> >> >
               >> >> > >>   };
               >> >> >
               >> >> > >>   return {
               >> >> >
               >> >> > >>   init: function() {
               >> >> >
               >> >> > >>    $.each(_registered.init, function(nr, fn){
               >> >> >
               >> >> > >>    fn.call();
               >> >> >
               >> >> > >>    });
               >> >> >
               >> >> > >>   },
               >> >> >
               >> >> > >>   extend: function(prop) {
               >> >> >
               >> >> > >>    for (var i in prop) {
               >> >> >
               >> >> > >>    if (prop[i] != undefined) {
               >> >> >
               >> >> > >>     this[i] = prop[i];
               >> >> >
               >> >> > >>    }
               >> >> >
               >> >> > >>    }
               >> >> >
               >> >> > >>   },
               >> >> >
               >> >> > >>   register: function(fn, type) {
               >> >> >
               >> >> > >>    if (!_registered[type]) {
               >> >> >
               >> >> > >>    _registered[type] = [];
               >> >> >
               >> >> > >>    }
               >> >> >
               >> >> > >>    _registered[type].push(fn);
               >> >> >
               >> >> > >>   }
               >> >> >
               >> >> > >>   };
               >> >> >
               >> >> > >>  }();
               >> >> >
               >> >> > >>  $(EYE.init);
               >> >> >
               >> >> > >>  })(jQuery);
               >> >> >
               >> >> >
               >> >> >
               >> >> >  colorpicker.js
               >> >> > 22KViewDownload
               >> >> >
               >> >> >  eye.js
               >> >> > < 1KViewDownload
               >> >> >
               >> >> >  jquery.js
               >> >> > 136KViewDownload
               >> >> >
               >> >> >  layout.js
               >> >> > 2KViewDownload
               >> >> >
               >> >> >  utils.js
               >> >> > 9KViewDownload
               >> >
               >
               >






Reply via email to