rprateek
2010-Jan-13 11:23 UTC
Jquery works in development but doesn''t work when hosted on hostingrails.com
i am a beginner to rails and this is my first project. Just tried something with jquery. It works fine in my development machine but jquery is not executed in my production page my site is http://www.khaire.com/galleries where photos were supposed to be controlled by jquery Can someone please tell me what i am doing wrong -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
jhaagmans
2010-Jan-13 11:57 UTC
Re: Jquery works in development but doesn''t work when hosted on hostingrails.com
On 13 jan, 12:23, rprateek <prateek.re...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i am a beginner to rails and this is my first project. > > Just tried something with jquery. It works fine in my development > machine but jquery is not executed in my production page > > my site ishttp://www.khaire.com/galleries > > where photos were supposed to be controlled by jquery > > Can someone please tell me what i am doing wrongTry loading jQuery first and your gallery library last. If you look in your Firebug console, you''ll see the gallery library saying jQuery isn''t defined. Good luck! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor
2010-Jan-13 11:59 UTC
Re: Jquery works in development but doesn''t work when hosted on hostingrails.com
On Wed, Jan 13, 2010 at 3:23 AM, rprateek <prateek.regmi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i am a beginner to rails and this is my first project. > > Just tried something with jquery. It works fine in my development > machine but jquery is not executed in my production page > > my site is http://www.khaire.com/galleries > > where photos were supposed to be controlled by jquery > > Can someone please tell me what i am doing wrong > >Here''s the problem with you page: a) The jQuery library should come before any of its plugin libraries and you should have seen the errors within Firefox and/or Safari. b) The page above consists of 26 error messages and I would recommend validating your pages using http://validator.w3.org. Good luck, -Conrad> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rprateek
2010-Jan-14 08:31 UTC
Re: Jquery works in development but doesn''t work when hosted on hostingrails.com
Thanks for the input guys On Jan 13, 10:59 pm, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Wed, Jan 13, 2010 at 3:23 AM, rprateek <prateek.re...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > i am a beginner to rails and this is my first project. > > > Just tried something with jquery. It works fine in my development > > machine but jquery is not executed in my production page > > > my site ishttp://www.khaire.com/galleries > > > where photos were supposed to be controlled by jquery > > > Can someone please tell me what i am doing wrong > > Here''s the problem with you page: > > a) The jQuery library should come before any of its plugin libraries and > you should have seen the errors within Firefox and/or Safari. > b) The page above consists of 26 error messages and I would recommend > validating your pages usinghttp://validator.w3.org. > > Good luck, > > -Conrad > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscrib e@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.