Help on scripting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Help on scripting

hardik handa
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.

-----------------------------------------------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Help on scripting

Sascha Rodekamp-3
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 <[hidden email]>

> 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
Reply | Threaded
Open this post in threaded view
|

RE: Help on scripting

hardik handa
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:[hidden email]]
Sent: 11 February 2011 PM 02:58
To: [hidden email]
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 <[hidden email]>

> 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

Reply | Threaded
Open this post in threaded view
|

Re: Help on scripting

Sascha Rodekamp-3
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 <[hidden email]>

> 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:[hidden email]]
> Sent: 11 February 2011 PM 02:58
> To: [hidden email]
> 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 <[hidden email]>
>
> > 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
Reply | Threaded
Open this post in threaded view
|

RE: Help on scripting

hardik handa
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:[hidden email]]
Sent: 11 February 2011 PM 03:17
To: [hidden email]
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 <[hidden email]>

> 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:[hidden email]]
> Sent: 11 February 2011 PM 02:58
> To: [hidden email]
> 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 <[hidden email]>
>
> > 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

Reply | Threaded
Open this post in threaded view
|

Re: Help on scripting

S K Pradeep kumar
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 <[hidden email]> 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:[hidden email]]
> Sent: 11 February 2011 PM 03:17
> To: [hidden email]
> 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 <[hidden email]>
>
> > 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:[hidden email]]
> > Sent: 11 February 2011 PM 02:58
> > To: [hidden email]
> > 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 <[hidden email]>
> >
> > > 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
>
>