ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Rodekamp <sascha.rodekamp.lynx...@googlemail.com>
Subject Re: Help on scripting
Date Fri, 11 Feb 2011 09:47:03 GMT
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 <Hardik.Handa@hcl.com>

> 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:sascha.rodekamp.lynx.de@googlemail.com]
> Sent: 11 February 2011 PM 02:58
> To: user@ofbiz.apache.org
> 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 <Hardik.Handa@hcl.com>
>
> > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message