[opencms-dev] Use jQuery in a template
Asnidren
s.prousteau at eurelis.com
Tue Jan 27 15:47:12 CET 2009
For me, the tag <cms:jquery /> doesn't seems to work...
And the line <script type="text/javascript" language="JavaScript"
src="<cms:link>/system/workplace/resources/jquery/packed/jquery.js</cms:link>"></script>
disable Direct Edit when I'm connected in workplace.
Still nobody knows??
Another question about jquery: Does it works fine with IE6??? an error
appears on pages with some script $(function(){...});
Christian Steinert wrote:
>
> Javadocs for the implementation are meager -
> http://www.opencms.org/javadoc/core/org/opencms/jsp/CmsJspTagJQuery.html
> But to me it seems that it is enough to just write <cms:jquery /> to get
> the javascript stuff included into your page
>
> hth
> Christian
>> Thanks
>>
>> But I already found this sites. My question now is more how I include it
>> especially in OpenCms.
>> I am running 7.0.5 so I would like to use the one that is shipped with
>> this version rather than downloading it again.
>> Sorry, that I didnt make that point.
>>
>> Marc
>>
>>
>> Christian Steinert schrieb:
>>
>>> Marc Schlegel ha scritto:
>>>
>>>
>>>> I have to send this question again. I still havent found o but ut how
>>>> to use
>>>> jquery :(
>>>>
>>>>
>>>>
>>> The following site should give you everything you need.
>>> http://docs.jquery.com/Main_Page
>>>
>>>
>>>> Actually, I just would like to use an fade in effect on a div-block for
>>>> the beginning. The pdf by Mat Butcher form the OpenCms-Days explains it
>>>> very briefly and the examples are supposed to be found on another
>>>> website but there I also jsut can find the same PDF, no examples.
>>>>
>>>>
>>>>
>>> The following page for example turned up during a short search for
>>> "fade"
>>> http://docs.jquery.com/Effects/fadeIn#speedcallback
>>>
>>> jquery is really sweet but at the beginning it might require some mental
>>> re-wiring to appreciate the way it works. So you should definitely take
>>> a look at some of the tutorials.
>>>
>>> hth
>>> Christian
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
View this message in context: http://www.nabble.com/Use-jQuery-in-a-template-tp21038205p21686695.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list