Cms:jquery

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
to load the load_script function, you have to add the <cms:jquery> tag once more like this
+
To load the load_script function, you have to add the '''<cms:jquery>''' tag once more like this:
  
'''<cms:jquery dynamic="true" />'''
+
<source lang="java">
 +
  ...
 +
  <cms:jquery dynamic="true" />
 +
  <cms:jquery dynamic="true" js="jquery" />
 +
  ...
 +
</source>
  
'''<cms:jquery dynamic="true" js="jquery" />'''
+
Be sure to place the tag below your '''<cms:editable>''' tag.
  
 +
'''Warning: This '''<cms:jquery.../>''' works not in all browser environments! '''
  
Be sure to place the tag below your <cms:editable> tag.
+
[[Category:Developing in OpenCms ]]

Revision as of 17:00, 4 July 2011

To load the load_script function, you have to add the <cms:jquery> tag once more like this:

   ...
   <cms:jquery dynamic="true" />
   <cms:jquery dynamic="true" js="jquery" />
   ...

Be sure to place the tag below your <cms:editable> tag.

Warning: This <cms:jquery.../> works not in all browser environments!

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox