NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms-system:article:contentparts:teaser-link-article:slider-with-jquery [2009/12/07 21:13] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:teaser-link-article:slider-with-jquery [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 17: | Line 17: | ||
**Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
**Update:** 1.0 (2009/12/04) \\ | **Update:** 1.0 (2009/12/04) \\ | ||
+ | **Update:** 1.0 (2011/02/02) \\ | ||
- | **Download**: {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip|phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip}} | + | **Download**: \\ |
+ | Until V1.4.7 r409: {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip|phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip}} | ||
+ | \\ | ||
+ | From V1.4.7 r410: | ||
+ | {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2011-02-02.zip|phpwcms_-_jquery_-_featured_slider_-_2011-02-02.zip}} \\ //(With UI-Library V1.8.9 für jQuery V1.4 in "template/libjquery/plugin/")//. | ||
**Condition:** ##$phpwcms['allow_cntPHP_rt'] = 1;## -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] | **Condition:** ##$phpwcms['allow_cntPHP_rt'] = 1;## -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] | ||
Line 26: | Line 30: | ||
\\ | \\ | ||
+ | ===== Description: ===== | ||
Line 33: | Line 38: | ||
It's just important to choose jQuery at this first test ;-) | It's just important to choose jQuery at this first test ;-) | ||
- | **3.** downlaod {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip|phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip}} in my [[deutsch/phpwcms-system/artikel/contentparts/teaser-artikellink/slider-mit-jquery|first post]] and drop it into your installation. | + | **3.** downlaod: \\ |
+ | {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip|phpwcms_-_jquery_-_featured_slider_-_2009-12-04.zip}} or {{:deutsch:phpwcms-system:artikel:contentparts:teaser-artikellink:phpwcms_-_jquery_-_featured_slider_-_2011-02-02.zip|phpwcms_-_jquery_-_featured_slider_-_2011-02-02.zip}} for cms versions > r409 in my [[deutsch/phpwcms-system/artikel/contentparts/teaser-artikellink/slider-mit-jquery|first post]] and drop it into your installation. | ||
Take a look at the files/structure. | Take a look at the files/structure. | ||
Line 47: | Line 53: | ||
<code<php><!-- JS: http:/ /ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js --></code> | <code<php><!-- JS: http:/ /ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js --></code> | ||
too. | too. | ||
+ | |||
+ | **UPDATE 02.02.2011:** | ||
+ | |||
+ | Since CMS-Version V1.4.7 r410 | ||
+ | |||
+ | <code html> | ||
+ | <!-- JS: featured_slider --> | ||
+ | <!-- JS: http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js --> | ||
+ | </code> | ||
+ | |||
+ | must be replaced with | ||
+ | |||
+ | <code php> | ||
+ | [PHP] | ||
+ | initJSPlugin('featured_slider'); | ||
+ | $GLOBALS['block']['custom_htmlhead']['jqueryui'] = getJavaScriptSourceLink(html_specialchars('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js')); | ||
+ | [/PHP] | ||
+ | </code> | ||
+ | |||
+ | |||
+ | No longer you can´t be included js file from an external page with a TAG ##%%<!-- JS:....-->%%##. \\ | ||
+ | //(In the above shown involvement of the UI version of jQuery 1.8.9, the Lib V1.4x mist be switched to on the template)//. | ||
+ | |||
+ | |||
+ | Alternatively the static user interface library //(included in the download package 2011-02-02)// can be used with | ||
+ | <code html> | ||
+ | <!-- JS: featured_slider --> | ||
+ | <!-- JS: ui-1.8.9.custom.min --> | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
thats for the template. | thats for the template. |