WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
Do i get you right that you want the short text of all news , maybe a few hundred to scroll infinite on a page ?Giving it a short thought , i think maybe its better to try with a modified version of Anynews. I should not be too hard to modify it so it displays only one news entry selected by a GET parameter.Does someone know if Anynews supports displaying the images inside the news teaser ?
i hope for you norhei or anybody find a solution. my way is working, but a nice fadin-effect is missing.
i have made a plugin for jqueryadmin/libraryadmin.you know what it is or use you the register_frontend_m odfiles-methode?
<?php if(function_exists('register_frontend_modfiles')) { register_frontend_modfiles('css'); register_frontend_modfiles('jquery'); register_frontend_modfiles('js');}
<?php// automatically include optional WB module files (frontend.css, frontend.js) if (function_exists('register_frontend_modfiles')) { register_frontend_modfiles('css'); register_frontend_modfiles('js'); } ?>
<script type=”text/javascript” >$(document).ready( function(){ $(’pre.i-am-lazy’).lazyLoad();});</script>
<tr class="post-top"><td class="post-title"><a href="[LINK]">[TITLE]</a></td><td class="post-date">[PUBLISHED_DATE], [PUBLISHED_TIME]</td></tr><tr><td class="post-short" colspan="2">[SHORT]<span style="visibility:[SHOW_READ_MORE];"><a href="[LINK]">[TEXT_READ_MORE]</a></span></td></tr>
<pre class="pre.i-am-lazy"><!--<tr class="post-top"><td class="post-title"><a href="[LINK]">[TITLE]</a></td><td class="post-date">[PUBLISHED_DATE], [PUBLISHED_TIME]</td></tr><tr><td class="post-short" colspan="2">[SHORT]<span style="visibility:[SHOW_READ_MORE];"><a href="[LINK]">[TEXT_READ_MORE]</a></span></td></tr>--></pre>
<?php if(function_exists('register_frontend_modfiles')) { register_frontend_modfiles('css'); register_frontend_modfiles('jquery'); register_frontend_modfiles('js'); } <script type="text/javascript" src="<?php echo WB_URL; ?>/your-script-folder/jquery.lazyloader.js"></script> <script type=”text/javascript” > $(document).ready( function() { $(’pre.i-am-lazy’).lazyLoad(); }); </script> </head>
Giving it a short thought , i think maybe its better to try with a modified version of Anynews. I should not be too hard to modify it so it displays only one news entry selected by a GET parameter.
<script type="text/javascript">$('tr').appear(function() { $(this).hide(); $(this).fadeIn(1000); });</script