[opencms-dev] Use jQuery in a template

Christian Steinert christian_steinert at web.de
Sat Jan 17 12:39:22 CET 2009


Now I start to understand the question - not sure whether I can answer 
to that specifically enough.


There seems to be a cms:jquery tag but I have not found documentation - 
you might have to dig into the opencms javadocs here, because the 
opencms taglib will be implemented by some java class. Alternatively, it 
should be enough to include 
/system/workplace/resources/jquery/packed/jquery.js into your page and 
start scripting away. Since jquery is a client library, opencms can't 
help you much with using it anyway.

Best Regards
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
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090117/bc56ecd5/attachment.htm>


More information about the opencms-dev mailing list