
قبل از بسته شدن تگ head كد هاي زير رو قرار بديد
<style>
body { font-size: .75em; font-family: Arial, Helvetica, sans-serif; }
#header { width: 963px; margin: 0 auto; padding: 42px 0 0 0; }
#header #logo_title { font-family: arial, serif; font-style: bold; text-shadow: 1px 1px 1px #656565; color: #1d1d1d; font-size: 1.5em; margin: 18px 0; float: left; }
#header #logo_title a:link { text-decoration: none; color: #fff; }
#header img { float: left; }
#header #searchico { float: right; padding: 27px 19px 0 0; position: relative; }
#header #searchbox { position: absolute; display: none; margin-left: -200px; margin-top: -13px; padding: 0; background: url('http://www.maxtemp.ir/theme/polish/images/searchbox.png') no-repeat; width: 186px; height: 44px; }
#header input#s{ background: transparent; border: 0; padding-top: 17px; padding-left: 17px; margin-top: -6px; font-family: Georgia, serif; font-style: italic; font-size: 1.167em; color: #717171; height: 20px; float: left;texi-align:right;direction:rtl; }
#header .logo_line { margin: 0 15px; }
#header #logo { margin: 6px 0 9px 3px; }
#header #featured { margin-top: 8px; float: left; }
#header #featured #left_arrow { float: left; background: url('http://www.maxtemp.ir/theme/polish/images/featured_before.png') no-repeat top right; width: 34px; margin-left: 7px; padding-top: 110px; height: 217px;}
#header #featured #featured_content { padding: 19px 19px 19px 40px; float: left; background: url('http://www.maxtemp.ir/theme/polish/images/featured_bg.png') no-repeat; width: 829px; height: 280px; color: #e1e1e1; font-size: 1em; line-height: 1.6em; text-shadow: 1px 1px 1px #000; }
#header #featured #featured_content img { float: left; margin: 0 30px 0 0; }
#header #featured #featured_content h1 {line-height: 1.2em; float: right;direction:rtl; font-size: 2.5em; margin: 0px 0 14px 0; font-family: arial; font-weight: normal; color: #fff; text-shadow: -2px -1px 0px #000; }
#header #featured #featured_content #spotlight { float: left; width: 500px; margin-right: 10px; }
span.readmore_g { margin-left: auto; display: block; background: url('http://www.maxtemp.ir/theme/polish/images/button_grey_left.png') 0 0 no-repeat; height:29px; width: 82px; padding-left:14px; margin-top: 25px; float: right;}
span.readmore_g a{ padding-top: 2px; font-weight: bolder; text-shadow: -1px -1px 1px #000;display: block; background: url('http://www.maxtemp.ir/theme/polish/images/button_grey_right.png') no-repeat top right;text-align: center; font-size: 0.920em; height: 29px; color: #fff; text-decoration: none; padding-right: 14px;}
span.readmore_b { display: block; background: url('http://www.maxtemp.ir/theme/polish/images/button_blue_left.png') 0 0 no-repeat; height:29px; width: 82px; padding-left:14px; float:right; margin-top: 10px;}
span.readmore_b a{ padding-top: 0px; font-weight: bolder; text-shadow: -1px -1px 1px #006fc9; display: block; background: url('http://www.maxtemp.ir/theme/polish/images/button_blue_right.png') no-repeat top right; text-align: center; font-size: 0.920em; height: 29px; color: #fff; text-decoration: none; padding-right: 14px;}
#header #featured #featured_content #spotlight div {
float: left;
background: url('http://www.maxtemp.ir/theme/polish/images/featured_bg.png') no-repeat;
background-position: 0px -10px;
text-align:right;
direction:rtl;
}
.order {display: none;}
#header #featured #featured_content #f_menu { float: right; padding-right: 117px; width: 200px; }
#header #featured #featured_content #f_menu div { cursor: pointer; }
#header #featured #featured_content #f_menu .featitem {text-align:right;direction:rtl; line-height: 1em; background: url('http://www.maxtemp.ir/theme/polish/images/featured_menubg.png'); width: 267px; margin: 0px 0 1px 35px; padding: 11px; height: 43px; }
#header #featured #featured_content #f_menu .featitem h2 { font-family: Arial, Helvetica, sans-serif; color: #fff; font-size: 1.167em; font-weight: 500; margin: 7px 0 6px 0; }
#header #featured #featured_content #f_menu .featitem img { padding: 5px 5px 5px 5px; background: url('http://www.maxtemp.ir/theme/polish/images/featured_menuimgbg.gif') no-repeat; background-position: center top; margin-right: 15px; }
#header #featured #featured_content #f_menu .featitem .meta { color: #888888; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-size: 0.917em; }
#header #featured #right_arrow { padding-top: 110px; float: left; background: url('http://www.maxtemp.ir/theme/polish/images/featured_aftr.png') no-repeat top left; width: 34px; height: 217px; }
#f_menu .active { background: url('http://www.maxtemp.ir/theme/polish/images/featured_menu_selected_bg.png') no-repeat !important; margin: 0px 0 1px 3px !important; width: 278px !important; padding-left: 25px !important; border-right-style: solid; border-right-width: 7px; border-right-color: #0084ff; }
</style>
<script type='text/javascript' src='http://www.maxtemp.ir/theme/polish/js/jquery.js?ver=1.6.1'></script>
بعد در جايي كه ميخوايد اسلايد شو به نمايش در بياد كد هاي زير و بذاريد:
<div id="top">
<div id="header">
<!-- Start Featured -->
<div id="featured">
<div id="left_arrow"><a href="#" id="previous"><img src="http://www.maxtemp.ir/theme/polish/images/fleft_arrow.png" width="32" height="70" alt="Featured Previous"/></a></div>
<!-- Featured Content -->
<div id="featured_content">
<!-- Featured Articles -->
<div id="spotlight">
<div class="slide">
<h1>به وبسايت ما خوش امديد ...</h1>
<br class="clear" />
<img src="http://www.maxtemp.ir/theme/polish/thumb-1-177x177.jpg" class='featured_img' alt='' width='177' height='177' />
<span style="font-family: tahoma">
<!-- text -->
به وبسايت ما خوش اميديد.اميدوارم كه در اين وبسايت لحظات خوشي را سپري كنيد. جهت ارائه ي هرگونه انتقاد و يا پيشنهادي ميتوانيد از بخش تماس با ما استفاده نماييد.
<!-- text -->
<br />
</span>
<span class="readmore_g"><a href="linkadress"> ادامه ي اين مطلب</a></span>
</div>
<div class="slide">
<h1>تيتر شما ...</h1>
<br class="clear" />
<img src="http://www.maxtemp.ir/theme/polish/thumb-4-177x177.jpg" class='featured_img' alt='' width='177' height='177' />
<span style="font-family: tahoma">
<!-- text -->
جهت اموزش نحوه ي ايجاد تغييرات بر روي اين قالب <a href="http://maxtemp.ir/blog/37-%D9%82%D8%A7%D9%84%D8%A8-%D9%BE%D9%88%D9%84%D9%8A%D8%B4.html" target="_blank">اينجا</a> را كليك كنيد.
<!-- text -->
<br />
</span>
<span class="readmore_g"><a href="linkadress"> ادامه ي اين مطلب</a></span>
</div>
<div class="slide">
<h1>تيتر شما...</h1>
<br class="clear" />
<img src="http://www.maxtemp.ir/theme/polish/thumb-3-177x177.jpg" class='featured_img' alt='' width='177' height='177' />
<span style="font-family: tahoma">
<!-- text -->
جهت اموزش نحوه ي ايجاد تغييرات بر روي اين قالب <a href="http://maxtemp.ir/blog/37-%D9%82%D8%A7%D9%84%D8%A8-%D9%BE%D9%88%D9%84%D9%8A%D8%B4.html" target="_blank">اينجا</a> را كليك كنيد.
<!-- text -->
<br />
</span>
<span class="readmore_g"><a href="linkadress"> ادامه ي اين مطلب</a></span>
</div>
<div class="slide">
<h1>تيتر شما...</h1>
<br class="clear" />
<img src="http://www.maxtemp.ir/theme/polish/10-177x177.jpg" class='featured_img' alt='' width='177' height='177' />
<span style="font-family: tahoma">
<!-- text -->
جهت اموزش نحوه ي ايجاد تغييرات بر روي اين قالب <a href="http://maxtemp.ir/blog/37-%D9%82%D8%A7%D9%84%D8%A8-%D9%BE%D9%88%D9%84%D9%8A%D8%B4.html" target="_blank">اينجا</a> را كليك كنيد.
<!-- text -->
<br />
</span>
<span class="readmore_g"><a href="linkadress"> ادامه ي اين مطلب</a></span>
</div>
</div>
<!-- End Featured Articles -->
<!-- Featured Menu -->
<div id="f_menu">
<div class="featitem active">
<img src="http://www.maxtemp.ir/theme/polish/thumb-1-35x35.jpg" alt='' width='35' height='35' />
<h2>به اينجا خوش آمديد...</h2>
<span class="meta">خوش امد گويي به شما</span>
<span class="order">1</span>
</div>
<div class="featitem">
<img src="http://www.maxtemp.ir/theme/polish/thumb-4-35x35.jpg" alt='' width='35' height='35' />
<h2>تيتر شما...</h2>
<span class="meta">توضيح و يا تاريخ</span>
<span class="order">2</span>
</div>
<div class="featitem">
<img src="http://www.maxtemp.ir/theme/polish/thumb-3-35x35.jpg" alt='' width='35' height='35' />
<h2>تيتر شما...</h2>
<span class="meta">توضيح و يا تاريخ</span>
<span class="order">3</span>
</div>
<div class="featitem last">
<img src="http://www.maxtemp.ir/theme/polish/10-35x35.jpg" alt='' width='35' height='35' />
<h2>تيتر شما...</h2>
<span class="meta">توضيح و يا تاريخ</span>
<span class="order">4</span>
</div>
</div>
<!-- End Featured Menu -->
</div>
<!-- End Featured Content -->
<div id="right_arrow"><a href="#" id="next"><img src="http://www.maxtemp.ir/theme/polish/images/fright_arrow.png" width="32" height="70" alt="Featured Next"/></a></div>
</div>
<!-- End Featured -->
</div>
<!-- End Header -->
<div style="clear: both;"></div>
</div>
<!-- End Top -->
<script src="http://www.maxtemp.ir/theme/polish/js/jquery.lavalamp.1.3.3-min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://www.maxtemp.ir/theme/polish/js/jquery.cycle.all.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://www.maxtemp.ir/theme/polish/js/superfish.js" type="text/javascript" charset="utf-8"></script>
<script src="http://www.maxtemp.ir/theme/polish/js/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
//<![CDATA[
jQuery(function(){
jQuery.noConflict();
jQuery('ul.sf-menu').superfish({
delay: 200, // one second delay on mouseout
animation: {'marginLeft':'0px',opacity:'show',height:'show'}, // fade-in and slide-down animation
speed: 'fast', // faster animation speed
autoArrows: true, // disable generation of arrow mark-up
onBeforeShow: function(){ this.css('marginLeft','20px'); },
dropShadows: false // disable drop shadows
});
jQuery('ul.sf-menu ul > li').addClass('noLava');
jQuery('ul.sf-menu > li').addClass('top-level');
jQuery('ul.sf-menu > li > a.sf-with-ul').parent('li').addClass('sf-ul');
if (!(jQuery("#footer_widgets .block_b").length == 0)) {
jQuery("#footer_widgets .block_b").each(function (index, domEle) {
// domEle == this
if ((index+1)%3 == 0) jQuery(domEle).after("<div class='clear'></div>");
});
};
/* featured slider */
jQuery('#spotlight').cycle({
timeout: 0,
speed: 1000,
fx: 'fade'
});
var $featured_item = jQuery('div.featitem');
var $slider_control = jQuery('div#f_menu');
var ordernum;
var pause_scroll = false;
var $featured_area = jQuery('div#featured_content');
function gonext(this_element){
$slider_control
.children("div.featitem.active")
.removeClass('active');
this_element.addClass('active');
ordernum = this_element.find("span.order").html();
jQuery('#spotlight').cycle(ordernum - 1);
}
$featured_item.click(function() {
clearInterval(interval);
gonext(jQuery(this));
return false;
});
jQuery('a#previous, a#next').click(function() {
clearInterval(interval);
if (jQuery(this).attr("id") === 'next') {
auto_number = $slider_control.children("div.featitem.active").prevAll().length+1;
if (auto_number === $featured_item.length) auto_number = 0;
} else {
auto_number = $slider_control.children("div.featitem.active").prevAll().length-1;
if (auto_number === -1) auto_number = $featured_item.length-1;
};
gonext($featured_item.eq(auto_number));
return false;
});
var auto_number;
var interval;
$featured_item.bind('autonext', function autonext(){
if (!(pause_scroll)) gonext(jQuery(this));
return false;
});
interval = setInterval(function () {
auto_number = $slider_control.find("div.featitem.active span.order").html();
if (auto_number == $featured_item.length) auto_number = 0;
$featured_item.eq(auto_number).trigger('autonext');
}, 5000);
});
//]]>
</script>