Guest Posted November 18, 2016 Share Posted November 18, 2016 @@frankl Hi Frank Whereabouts on the index page should this code go, as it was a BS install, or have I got the wrong index.php Cheers John Link to comment Share on other sites More sharing options...
ecommunlimited Posted November 18, 2016 Share Posted November 18, 2016 @@grandpaj These two lines </body></html> are the very last two lines of the index.php file in your root directory. Take care Bill Link to comment Share on other sites More sharing options...
Guest Posted November 18, 2016 Share Posted November 18, 2016 @@ecommunlimited@@frankl Hi guys Just checked index.php in https://github.com/gburton/Responsive-osCommerce/blob/master/index.php and it doesn't show </body></html> well, not that I could see. Cheers John Link to comment Share on other sites More sharing options...
frankl Posted November 18, 2016 Author Share Posted November 18, 2016 Whereabouts on the index page should this code go, as it was a BS install, or have I got the wrong index.php Those are the last two lines in includes/template_bottom.php If those lines are present, perhaps an error in one of the footer scripts is preventing those lines being rendered. osCommerce user since 2003! Link to comment Share on other sites More sharing options...
ecommunlimited Posted November 18, 2016 Share Posted November 18, 2016 @@frankl @@grandpaj My apology. You two were talking about the index page and I didn't think before I spoke. Stuff happens. Link to comment Share on other sites More sharing options...
Guest Posted November 18, 2016 Share Posted November 18, 2016 @@frankl Hi Frank Think I may have had </body></html> in the wrong place. The following is what I have now got. Hopefully its correct <?php echo $oscTemplate->getBlocks('footer_scripts'); ?> <a id="back-to-top" href="#" class="btn btn-primary btn-lg back-to-top" role="button" title="Top of the Page!" data-toggle="tooltip" data-placement="left"><span class="glyphicon glyphicon-chevron-up"></span></a> </body> </html> <!--carousel--> <script type="text/javascript"> $(document).ready(function() { $('#myCarousel.carousel').carousel({ interval: 4000 }) });</script> <script> $(document).ready(function(){ $(window).scroll(function () { if ($(this).scrollTop() > 250) { $('#back-to-top').fadeIn(); } else { $('#back-to-top').fadeOut(); } }); $('#back-to-top').click(function () { $('#back-to-top').tooltip('hide'); $('body,html').animate({scrollTop: 0}, 800); return false; }); $('#back-to-top').tooltip('show'); }); </script> Many thanks for your help Kind regards Grandpa Link to comment Share on other sites More sharing options...
valquiria23 Posted June 8, 2018 Share Posted June 8, 2018 Hi @frankl how are you? Since 2.4 is very delayed, do you have plans to publish this addon for Frozen? Best regards Valqui Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
frankl Posted June 11, 2018 Author Share Posted June 11, 2018 Not really. It should be easily adapted for Frozen. osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.