::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : سه شنبه 10 آذر 1405 - 11:36 بعد از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
oisrex آفلاین



ارسال‌هاAsnwers : 747
عضویتRegistration date : 4 /8 /1393
حمایت کردهthanks : 231
حمایت شدهThanked : 886
پاسخAnswer 10 : درخواست کد منوی عمودی تب دار

کدی که دادم که برای خودم کار میکنه...با فایرفاکس برو کد رو ببین

شاید دمو مشکل داشته باشه...خودت برو توی اون ادیتور و این کد رو قرار بده:

کد:
<script type="text/javascript" src="http://up.redtools.ir/up/redtools/themple/downloadha/jquery.js"></script>

<script type="text/javascript">jQuery(document).ready( function(){

jQuery(".topnews-key a:first").addClass("active").show(); //Activate first tab

jQuery(".topnews-area:not(:first)").hide();

jQuery(".topnews-area:first").show();

jQuery(".topnews-key a").click(function(){

jQuery(".topnews-key a").removeClass("active"); //Remove any "active" class

jQuery(this).addClass("active"); //Add "active" class to selected tab

stringref = jQuery(this).attr("href").split('#')[1];

jQuery('.topnews-area:not(#'+stringref+')').hide();

if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {

jQuery('.topnews-area#' + stringref).show();

} else

jQuery('.topnews-area#' + stringref).fadeIn();

return false;

});

});

jQuery(document).ready( function(){

jQuery(".keys a:first").addClass("active").show(); //Activate first tab

jQuery(".post-f-c:not(:first)").hide();

jQuery(".post-f-c:first").show();

jQuery(".keys a").click(function(){

jQuery(".keys a").removeClass("active"); //Remove any "active" class

jQuery(this).addClass("active"); //Add "active" class to selected tab

stringref = jQuery(this).attr("href").split('#')[1];

jQuery('.post-f-c:not(#'+stringref+')').hide();

if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {

jQuery('.post-f-c#' + stringref).show();

} else

jQuery('.post-f-c#' + stringref).fadeIn();

return false;

});

});

$(function() {

var pull = $('#pull');

menu = $('.rightsidebar');

menuHeight = menu.height();

$(pull).on('click', function(e) {

e.preventDefault();

menu.slideToggle();

});

});

$(function() {

var pull1 = $('#archivekey');

menu1 = $('.archivelist');

menuHeight1 = menu1.height();

$(pull1).on('click', function(e) {

e.preventDefault();

menu1.slideToggle();

});

});

$(document).ready(function() {

var windowWidth = $(document).width();

if (windowWidth <= 981) {

$('.archives').appendTo('.leftsidebar');

$('.status').appendTo('.leftsidebar');

}

});

$(document).ready(function () {

var top = $('.categories').offset().top - parseFloat($('.categories').css('marginTop').replace(/auto/, 0));

$(window).scroll(function (event) {

var y = $(this).scrollTop();

if (y >= top) {

$('.categories').addClass('fixed');

} else {

$('.categories').removeClass('fixed');

}

});

});

</script>

<section class="newsbox">

<div style="float:right" class="topnews-key">

<a href="#best"><span>تست 1</span></a><br>

<a href="#rand"><span>تست 2</span></a><br>

<a href="#news" class="last"><span>تست 3</span></a>

<div class="clear"></div>

</div>

<RB:Hit_Posts_Block>

<div class="topnews-area" id="best">

<ul>

فلان متن یا عکس1

</ul>

</div>

<div class="topnews-area" id="rand">

<ul>

فلان متن یا عکس2

</ul>

</div>

<div class="topnews-area" id="news">

<ul>

فلان متن یا عکس3

</ul>

</div>

</section>


جمعه 10 بهمن 1393 - 15:38
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks
حمایت شده حمایت شده: سپاس هاThanks (1) : pejman17 -



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex