If you want to include the java script just before body tag. You have to include this directly in the corresponding footer.ftl file. where you will get the end of the </body> and </html>
With regards, S K Pradeep kumar, 9980609494 On Fri, Feb 11, 2011 at 4:36 PM, Hardik Handa <[email protected]> wrote: > Is their any way to add a javascript just before the body ends !! i tried a > lot of combinations on commonscreens.xml but was unsuccessful. > Thanx in advance > > Regards, > Hardik Handa > Software Engineer - CMHP-RETAIL-COE-eCommerce > HCL Technologies Ltd. > C-22A, Sector 57, NOIDA. 201301, UP. (India) > Tel: +91-120-2586417-19 > Mob: +91-9811671898 > www.hcltech.com > www.hcl.com > > > > > -----Original Message----- > From: Sascha Rodekamp [mailto:[email protected]] > Sent: 11 February 2011 PM 03:17 > To: [email protected] > Subject: Re: Help on scripting > > Ok that's pretty easy. > Just include the jQuery<Version>.min.js in your common-screens.xml. > > The error msg means the you don't load the jQuery lib before you load the > slider stuff. > Have a look to the global CommonScreen.xml there you find an example of how > to include JS Libs. > > Have a good day > Sascha > > > 2011/2/11 Hardik Handa <[email protected]> > > > Error: jQuery is not defined > > Source File: > > http://localhost:8080/images/js_HCL/spotlight_product_slider.js > > Line : 327 > > This is the error > > > > And the line number defined in the firefox i.e 327 says (jQuert); > > > > > > -----Original Message----- > > From: Sascha Rodekamp [mailto:[email protected]] > > Sent: 11 February 2011 PM 02:58 > > To: [email protected] > > Subject: Re: Help on scripting > > > > Hi Hardik, > > what do u import in you're common-screen.xml? The html file oder did you > > create an ftl file? > > Is the rest of the site is loaded properly? Did you se any JS Errors? > > > > Regards > > Sascha > > > > 2011/2/11 Hardik Handa <[email protected]> > > > > > I have been using this javascript for sliding effect jq_slider.js on my > > > homepage although this same javascript is working on pure html , > imported > > > this in the commonscreens.xml > > > But the effect isn't coming. Could someone tell me why is this > happening > > > and any solution for this. > > > Thanx in advance > > > > > > Regards, > > > Hardik Handa > > > Software Engineer - CMHP-RETAIL-COE-eCommerce > > > HCL Technologies Ltd. > > > C-22A, Sector 57, NOIDA. 201301, UP. (India) > > > Tel: +91-120-2586417-19 > > > Mob: +91-9811671898 > > > www.hcltech.com<http://www.hcltech.com> > > > www.hcl.com<http://www.hcl.in/> > > > > > > > > > > > > ________________________________ > > > ::DISCLAIMER:: > > > > > > > > > ----------------------------------------------------------------------------------------------------------------------- > > > > > > The contents of this e-mail and any attachment(s) are confidential and > > > intended for the named recipient(s) only. > > > It shall not attach any liability on the originator or HCL or its > > > affiliates. Any views or opinions presented in > > > this email are solely those of the author and may not necessarily > reflect > > > the opinions of HCL or its affiliates. > > > Any form of reproduction, dissemination, copying, disclosure, > > modification, > > > distribution and / or publication of > > > this message without the prior written consent of the author of this > > e-mail > > > is strictly prohibited. If you have > > > received this email in error please delete it and notify the sender > > > immediately. Before opening any mail and > > > attachments please check them for viruses and defect. > > > > > > > > > > > > ----------------------------------------------------------------------------------------------------------------------- > > > > > > > > > > > -- > > Sascha Rodekamp > > Lynx-Consulting GmbH > > Johanniskirchplatz 6 > > D-33615 Bielefeld > > http://www.lynx.de > > > > > > > -- > Sascha Rodekamp > Lynx-Consulting GmbH > Johanniskirchplatz 6 > D-33615 Bielefeld > http://www.lynx.de > >
