Kiran, See an example i wrote. It's really simple:
www.opensocial-br.org/exemplo/jquery.xml <http://www.opensocial-br.org/exemplo/jquery.xml>Regards, Robson Dantas 2010/6/22 Prashant Patil <[email protected]> > I think using Jquery in xml file is imp for canvas related activities! if > you have added it in iframe it will work only for that iframe. > > > > On Tue, Jun 22, 2010 at 11:29 AM, Pyrocks <[email protected]> wrote: > >> Can any one tell me the guidelines to use jquery in orkut >> application? >> >> My jquery is not effecting in my app.I have given jquery script in the >> header of html page . Shall i need to give these paths in xml file. >> >> Please help me. >> >> Thanks and Regards. >> Kiran. >> >> On Jun 21, 6:46 pm, kiran began <[email protected]> wrote: >> > i am using complete paths only even jquery is not effecting.what can i >> do >> > now? >> > >> > On Mon, Jun 21, 2010 at 7:10 PM, Robson Dantas <[email protected]> >> wrote: >> > > You must use complete path for your scripts and css, since the >> container >> > > will rewrite your url's. Example: >> > >> > > <link href="http://www.mywebsite.com/styles/gs.css?v=133.0" >> > > rel="stylesheet" type="text/css" /> >> > > <script src="http://www.mywebsite.com/ >> > > scripts/jquery.js" type="text/javascript"></script> >> > >> > > Regards >> > >> > > Robson Dantas >> > >> > > 2010/6/21 kiran began <[email protected]> >> > >> > >> Thanks Robson Dantas. >> > >> > >> Can you give any small example to check this?it is not working in my >> app. >> > >> > >> My html page is like this.. >> > >> > >> <html> >> > >> <head> >> > >> <link href="styles/gs.css?v=133.0" rel="stylesheet" type="text/css" >> /> >> > >> > >> <script src="scripts/jquery.js" type="text/javascript"></script> >> > >> > >> </head> >> > >> <body align="center"> >> > >> > >> <img src="images/img_2.jpg" height="95" width="96" id="img1" /> >> > >> <img src="images/img_1.jpg" height="95" width="96" id="img2" >> > >> style="display:none;" /> >> > >> <script> >> > >> > >> $("#img1").mouseover(function() { >> > >> $("#img1").toggle("slow"); >> > >> $("#img2").toggle("slow"); >> > >> }); >> > >> > >> $("#img2").mouseout(function() { >> > >> $("#img1").toggle("slow"); >> > >> $("#img2").toggle("slow"); >> > >> }); >> > >> > >> </script> >> > >> > >> </body> >> > >> </html> >> > >> > >> On Mon, Jun 21, 2010 at 6:38 PM, Robson Dantas <[email protected] >> >wrote: >> > >> > >>> Kiran, >> > >> > >>> You can use jquery, as you use in your pages, but just inside canvas >> > >>> view. Profile view doesn't accept javascript, flash, external css, >> almost >> > >>> nothing. >> > >> > >>> BTW, do you have an example to check what you are doing ? >> > >> > >>> Regards, >> > >> > >>> Robson Dantas >> > >> > >>> 2010/6/21 Pyrocks <[email protected]> >> > >> > >>>> HI Friends, >> > >> > >>>> I am developing an orkut application in that I need to use jquery. >> I >> > >>>> dont know where to keep my jquery related stuff. >> > >>>> I tried many ways.but jquery was not effected in my application.i >> kept >> > >>>> my jquery related code in html page. >> > >> > >>>> generally i kept jquery in <head > tag of one of my html pages.itis >> > >>>> not effecting when i am opening that page in my app. >> > >> > >>>> please help me out. >> > >> > >>>> Thanks and Regards. >> > >>>> Kiran. >> > >> > >>>> -- >> > >>>> You received this message because you are subscribed to the Google >> > >>>> Groups "orkut Developer Forum" group. >> > >>>> To post to this group, send email to >> [email protected]. >> > >>>> To unsubscribe from this group, send email to >> > >>>> [email protected]<opensocial-orkut%[email protected]> >> <opensocial-orkut%[email protected]<opensocial-orkut%[email protected]> >> > >> > >>>> . >> > >>>> For more options, visit this group at >> > >>>>http://groups.google.com/group/opensocial-orkut?hl=en. >> > >> > >>> -- >> > >>> You received this message because you are subscribed to the Google >> Groups >> > >>> "orkut Developer Forum" group. >> > >>> To post to this group, send email to >> [email protected]. >> > >>> To unsubscribe from this group, send email to >> > >>> [email protected]<opensocial-orkut%[email protected]> >> <opensocial-orkut%[email protected]<opensocial-orkut%[email protected]> >> > >> > >>> . >> > >>> For more options, visit this group at >> > >>>http://groups.google.com/group/opensocial-orkut?hl=en. >> > >> > >> -- >> > >> You received this message because you are subscribed to the Google >> Groups >> > >> "orkut Developer Forum" group. >> > >> To post to this group, send email to >> [email protected]. >> > >> To unsubscribe from this group, send email to >> > >> [email protected]<opensocial-orkut%[email protected]> >> <opensocial-orkut%[email protected]<opensocial-orkut%[email protected]> >> > >> > >> . >> > >> For more options, visit this group at >> > >>http://groups.google.com/group/opensocial-orkut?hl=en. >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "orkut Developer Forum" group. >> > > To post to this group, send email to >> [email protected]. >> > > To unsubscribe from this group, send email to >> > > [email protected]<opensocial-orkut%[email protected]> >> <opensocial-orkut%[email protected]<opensocial-orkut%[email protected]> >> > >> > > . >> > > For more options, visit this group at >> > >http://groups.google.com/group/opensocial-orkut?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "orkut Developer Forum" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<opensocial-orkut%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/opensocial-orkut?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "orkut Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<opensocial-orkut%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.

