
Originally Posted by
pamela631
Hi Anne,
Ummmm, I think what it doesn't actually state to put the code in between and I was just assuming to place it after the <?php for <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>> It's probably just me though, I just didn't quite understand.. maybe you could add that somewhere on the instructions, but I'm probably the only person who has done this, LOL
The readme is pretty clear, "Find this line of code:"
Code:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
"Directly below it add the following:"
Code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/back_to_top.min.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
BackToTop({
text : 'Back to Top',
autoShow : true,
timeEffect : 750
});
});
</script>
I don't think that anything else needs to be added ;-)
Thanks,
Anne