Differences

This shows you the differences between two versions of the page.

english:phpwcms-system:article:contentparts:images-special:slider [2010/03/01 15:35]
Knut Heermann (flip-flop)
english:phpwcms-system:article:contentparts:images-special:slider [2018/06/03 18:09] (current)
Line 133: Line 133:
 </note>  </note>
 +
 +**Update 15.06.2010 KH:** \\
 +  * Line in [ZOOM_ELSE ]....[/ ZOOM_ELSE] corrected, as in the JS on "<a ..." is triggered. //(See the difference with the original template).//
 +  * FX.Scroll call into [PHP] ... outsourced, because the order of the scripts is not the best.
 +\\
 ** ///template/inc_cntpart/imagespecial/slider_new_12x.tmpl// **  ** ///template/inc_cntpart/imagespecial/slider_new_12x.tmpl// **
Line 156: Line 161:
<span class="thumb_capture">{INFOTEXT}</span></a> <span class="thumb_capture">{INFOTEXT}</span></a>
[/ZOOM][ZOOM_ELSE] [/ZOOM][ZOOM_ELSE]
-    [IMAGE_URL]<a href="{IMAGE_URL}"{IMAGE_TARGET}>[/IMAGE_URL]<img src="{THUMB_ABS}" alt="{THUMB_NAME}" border="0" />[IMAGE_URL]</a>[/IMAGE_URL]+    <a href="#"><img src="{THUMB_ABS}" alt="{THUMB_NAME}" border="0" /></a>
[/ZOOM_ELSE] [/ZOOM_ELSE]
<!--IMAGES_ENTRY_END//--> <!--IMAGES_ENTRY_END//-->
Line 172: Line 177:
<a href="#" id="move_left_{ID}">&laquo; Left &laquo;</a> | <a href="#" id="move_right_{ID}">&raquo; Right &raquo;</a> <a href="#" id="move_left_{ID}">&laquo; Left &laquo;</a> | <a href="#" id="move_right_{ID}">&raquo; Right &raquo;</a>
-<!-- JS: MORE:Fx/Fx.Scroll -->  
[PHP] [PHP]
  $GLOBALS['block']['css']['slider_{ID}'] = 'specific/slider_new.css';   $GLOBALS['block']['css']['slider_{ID}'] = 'specific/slider_new.css';
 +  
 +  $mootools_more = array( 'Fx/Fx.Scroll' );  // Loading more and FX.Scroll lib
 +  initJSPlugin($mootools_more, true);
     
  $GLOBALS['block']['custom_htmlhead']['slider_{ID}'] = '  <script type="text/javascript">   $GLOBALS['block']['custom_htmlhead']['slider_{ID}'] = '  <script type="text/javascript">
Line 239: Line 246:
\\ \\
- 
- 
- 
Line 301: Line 305:
   
-The tag **{LIGHTBOX_CAPTION}** contains the delivery rule for the LightBox: \\+The tag **{LIGHTBOX_CAPTION}** is containing the delivery rule for the LightBox: \\
**title="my text for the LightBox"**(However in a special formatting syntax called ([[http://www.w3schools.com/tags/ref_entities.asp **title="my text for the LightBox"**(However in a special formatting syntax called ([[http://www.w3schools.com/tags/ref_entities.asp
-|HTML-Entities]]) ->  **<**br /**>** becomes **&lt;**br /**&gt;**). +|HTML-Entities]]) ->  **<**br /**>** will become **&lt;**br /**&gt;**).
-Thus if e.g. the INFOTEXT is into the Lightbox then became: +Thus if e.g. the INFOTEXT is used with the Lightbox it became:
[ZOOM]<a href="{IMAGE_ABS}" **{LIGHTBOX_CAPTION}**target="_blank"{LIGHTBOX}> [ZOOM]<a href="{IMAGE_ABS}" **{LIGHTBOX_CAPTION}**target="_blank"{LIGHTBOX}>
Line 318: Line 322:
---- ----
-The correct form would be (INFOTEXT does not go, so we use INFOHTML):+The correct form would be (INFOTEXT does not work, so we use INFOHTML):
[ZOOM]<a href="{IMAGE_ABS}" ##title="&lt;p&gt;[PHP] echo html_entities(nl2br('{INFOHTML}'));[/PHP]&lt;/p&gt;"## target="_blank"{LIGHTBOX}> [ZOOM]<a href="{IMAGE_ABS}" ##title="&lt;p&gt;[PHP] echo html_entities(nl2br('{INFOHTML}'));[/PHP]&lt;/p&gt;"## target="_blank"{LIGHTBOX}>
Line 324: Line 328:
---- ----
\\ \\
-Used calmly the first variant, folds already.  
<note important> <note important>
-Please have a look to the added blank between ......**''title="{INFOTEXT}"## ##target="''**........+Please have a look at the added blank between ......**''title="{INFOTEXT}"## ##target="''**........
</note> </note>
english/phpwcms-system/article/contentparts/images-special/slider.1267454141.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0