繁體
|
簡體
Sclub交友聊天~加入聊天室當版主
(檢舉)
分享
新浪微博
QQ空间
人人网
腾讯微博
Facebook
Google+
Plurk
Twitter
Line
标题:
[
求助
]
有没有滚动这个代码?
[打印本页]
作者:
天使小小
时间:
2018-11-22 17:17
标题:
有没有滚动这个代码?
哪位朋友有这个代码
下载
(60.84 KB)
2018-11-22 17:16
网址:
http://gtuu.com/
图片附件:
111.png
(2018-11-22 17:16, 60.84 KB) / 下载次数 893
http://icode.258club.com/attachment.php?aid=689&k=0960d03f125abeed35c1dcf0ff41b41d&t=1754696200&sid=oeoJBZ
作者:
icode
时间:
2018-11-22 19:04
回复
1#
天使小小
直接在原网站抠出来的
<link rel="stylesheet" href="http://ria.gtuu.com/css/public.css?201704271137">
<link rel="stylesheet" href="http://ria.gtuu.com/css/index.css?201704271137">
<!-- 品牌中心 start -->
<div class="brand">
<h1 class="brandTit">品牌中心</h1>
<div class="brandContain">
<div class="brandBox clearfix">
<a class="previous span1" id="js_pre" target="_blank"><i class="icons preIco"></i></a>
<div class="brand-box" id="brandContainer">
<div id="box1" class="divbox" style="left: -1075px; width: 2150px; display: block;">
<div class="fl brandBody" data-num="1">
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/247.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/586387b29f0c5.jpg" alt="AMSOIL" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AMSOIL</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/129.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638937d26c3.jpg" alt="ACE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">ACE</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/49.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5ad417545ad75.jpg" alt="AME" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AME</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/53.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638a8890c9e.jpg" alt="RAYS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">RAYS</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/863.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5b71206abac34.jpg" alt="BRIDE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">BRIDE</span>
</div>
</div>
<div class="fl brandBody" data-num="2">
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/987.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/59a8f53261d59.jpg" alt="RAVIZE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">RAVIZE</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/313.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638c193f354.jpg" alt="CGW" style="width:120px;height:120px;">
</a>
<span class="brandSpan">CGW</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/277.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/589add97de292.jpg" alt="AXR" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AXR</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/1621.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5bc7011b85048.jpg" alt="TTCOS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">TTCOS</span>
</div>
<div class="brandDiv">
<a href="www.zeroracing.net" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5bbdc30644b6b.jpg" alt="BBS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">BBS</span>
</div>
</div>
</div>
<div id="box2" class="divbox" style="left: 1075px; width: 2150px; display: block;">
<div class="fl brandBody" data-num="1">
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/247.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/586387b29f0c5.jpg" alt="AMSOIL" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AMSOIL</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/129.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638937d26c3.jpg" alt="ACE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">ACE</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/49.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5ad417545ad75.jpg" alt="AME" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AME</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/53.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638a8890c9e.jpg" alt="RAYS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">RAYS</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/863.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5b71206abac34.jpg" alt="BRIDE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">BRIDE</span>
</div>
</div>
<div class="fl brandBody" data-num="2">
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/987.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/59a8f53261d59.jpg" alt="RAVIZE" style="width:120px;height:120px;">
</a>
<span class="brandSpan">RAVIZE</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/313.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/58638c193f354.jpg" alt="CGW" style="width:120px;height:120px;">
</a>
<span class="brandSpan">CGW</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/277.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/589add97de292.jpg" alt="AXR" style="width:120px;height:120px;">
</a>
<span class="brandSpan">AXR</span>
</div>
<div class="brandDiv">
<a href="http://brand.gtuu.com/detail/1621.html" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5bc7011b85048.jpg" alt="TTCOS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">TTCOS</span>
</div>
<div class="brandDiv">
<a href="www.zeroracing.net" class="brandA" target="_blank">
<img src="http://p2.gtuu.com/ad_image/5bbdc30644b6b.jpg" alt="BBS" style="width:120px;height:120px;">
</a>
<span class="brandSpan">BBS</span>
</div>
</div>
</div>
</div>
<a class="previous span2" id="js_next" target="_blank"><i class="icons nextIco"></i></a>
</div>
</div>
</div>
<!-- 品牌中心 end -->
<script type="text/javascript" src="http://ria.gtuu.com/js/jquery-1.9.1.js?201704271137"></script>
<script type="text/javascript" src="http://ria.gtuu.com/js/public.js?201704271137"></script>
<script>
//搜索
var local_url = null;
var search_url = function(){
var str= $('#js_val').text();
str = str .replace(/\s/g, "");
var value = $('#search_val').val();
//value = value .replace(/\s/g, "");
if(value .length == 0){
$time = 0;
t=window.setInterval(function(){
$time++;
if($time<=1){
$("#search_val").css({"border":"1px solid #ff0000"});
}else{
$("#search_val").css({"border":""});
clearInterval(t);
}
},500);
return false;
}
if(str == '资讯'){
local_url = $INFO_URL+"/index/index/w/"+value;
}
if(str == '案例'){
local_url = $CASE_URL+"/special/index/w/"+value;
}
if(str == '店家'){
local_url = $SHOP_URL+"/index/index/w/"+value;
}
window.open(local_url);
}
//检测回车
document.onkeydown=function(event){
e = event ? event :(window.event ? window.event : null);
if(e.keyCode==13){
search_url();
}
}
//搜索按钮
$('#search').click(function(){
search_url();
});
$(function() {
//搜索
$("#js_sel").click(function() {
if ($("#js_selResult").css("display") == "block") {
$("#js_selResult").hide();
} else {
$("#js_selResult").show();
}
});
// totop
toTop(document.getElementById("toTop"));
// fixed
fix(document.getElementById("js_fix_rb"));
// 头像上传预览
//使用IE条件注释来判断是否IE6,通过判断userAgent不一定准确
if (document.all) document.write('<!--[if lte IE 6]><script type="text/javascript">window.ie6= true<\/script><![endif]-->');
// var ie6 = /msie 6/i.test(navigator.userAgent);//不推荐,有些系统的ie6 userAgent会是IE7或者IE8 getElementsByClassName
//表单提交
var oForm = document.getElementById("oForm");
$("#js_submit").bind("click", function(ev) {
if (!verifyForm(oForm)) {
ev.preventDefault();
} else {
if ($("input[name='gzxm']:checked").length == 0) {
alert("请至少选择一个改装项目");
} else {
alert("通过验证");
}
}
});
//手机验证码
$("#js_yzm").bind("click", function() {
if (true) {
bindCheckTel($("#js_yzm"), 60);
}
});
//品牌中心
setInterval(left, 3000);
$("#js_pre").unbind("click").bind("click",function(){
// console.log(111);
left();
});
$("#js_next").unbind("click").bind("click",function(){
right();
});
}());
$(document).scroll(function(){
//alert($(document).scrollTop());
if(document.body.scrollTop==0){
$('#toTop').css('display','none');
}else{
$('#toTop').css('display','block');
}
})
</script>
复制
作者:
天使小小
时间:
2018-11-23 16:20
回复
2#
icode
可不可以帮我把它的CSS文件 调整一下 可以适合论坛用?
下载
(66.63 KB)
2018-11-23 16:20
我弄上去打乱论坛的
图片附件:
11.JPG
(2018-11-23 16:20, 66.63 KB) / 下载次数 970
http://icode.258club.com/attachment.php?aid=690&k=2ad58a3dd9f06d505a8e233c5af432a7&t=1754696200&sid=oeoJBZ
作者:
天使小小
时间:
2018-11-23 16:21
回复
2#
icode
可不可以帮我把它的CSS文件 调整一下 可以适合论坛用?
下载
(66.63 KB)
2018-11-23 16:21
图片附件:
11.JPG
(2018-11-23 16:21, 66.63 KB) / 下载次数 923
http://icode.258club.com/attachment.php?aid=691&k=ceb56bc9edc2728a7c8079f6235fd7d9&t=1754696200&sid=oeoJBZ
欢迎光临 爱秀代码 (http://icode.258club.com/)
Powered by Discuz! 7.2