有没有滚动这个代码?
哪位朋友有这个代码[attach]689[/attach]
网址:[url]http://gtuu.com/[/url] [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=38761&ptid=238]1#[/url] [i]天使小小[/i] [/b]
直接在原网站抠出来的[code] <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>[/code] [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=38764&ptid=238]2#[/url] [i]icode[/i] [/b]
可不可以帮我把它的CSS文件 调整一下 可以适合论坛用?
[attach]690[/attach]
我弄上去打乱论坛的 [b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=38764&ptid=238]2#[/url] [i]icode[/i] [/b]
可不可以帮我把它的CSS文件 调整一下 可以适合论坛用?
[attach]691[/attach]
页:
[1]