<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
|
compiled from "E:\ishangstudywebs\zhaopin\app\template\default\backtop.htm" */ ?>
|
<?php /*%%SmartyHeaderCode:3187067ff73e360b023-76244440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
'file_dependency' =>
|
array (
|
'1da5f3b8d4305ec58657ab7e24ce3078930c687c' =>
|
array (
|
0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\backtop.htm',
|
1 => 1634883842,
|
2 => 'file',
|
),
|
),
|
'nocache_hash' => '3187067ff73e360b023-76244440',
|
'function' =>
|
array (
|
),
|
'variables' =>
|
array (
|
'style' => 0,
|
),
|
'has_nocache_code' => false,
|
'version' => 'Smarty-3.1.21-dev',
|
'unifunc' => 'content_67ff73e360cb80_69589343',
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
<?php if ($_valid && !is_callable('content_67ff73e360cb80_69589343')) {function content_67ff73e360cb80_69589343($_smarty_tpl) {?><?php echo '<script'; ?>
|
>
|
function goTopEx(){
|
var obj=document.getElementById("goTopBtn");
|
function getScrollTop(){
|
return document.documentElement.scrollTop;
|
}
|
function setScrollTop(value){
|
document.documentElement.scrollTop=value;
|
}
|
window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";}
|
obj.onclick=function(){
|
var goTop=setInterval(scrollMove,10);
|
function scrollMove(){
|
setScrollTop(getScrollTop()/1.1);
|
if(getScrollTop()<1)clearInterval(goTop);
|
}
|
}
|
}
|
<?php echo '</script'; ?>
|
>
|
<div class="clear"></div>
|
<div id="goTopBtn" class="png none" ><img border=0 src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/images/lanren_top.png" class="png"></div>
|
<?php echo '<script'; ?>
|
type=text/javascript>goTopEx();<?php echo '</script'; ?>
|
>
|
<style>
|
#goTopBtn {
|
POSITION: fixed;
|
TEXT-ALIGN: center;
|
WIDTH: 47px;
|
BOTTOM:3px;
|
HEIGHT: 78px;
|
FONT-SIZE: 12px;
|
CURSOR: pointer;
|
RIGHT: 40px;
|
_position: absolute;
|
_right: 40;
|
_position:absolute;
|
_bottom:auto;
|
_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||15)-(parseInt(this.currentStyle.marginBottom,10)||15)));
|
_background:url(<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
|
/images/lanren_top.png) no-repeat
|
}
|
*html{
|
background-image:url(about:blank);
|
background-attachment:fixed;
|
}
|
</style><?php }} ?>
|