میوانی بهڕێز، بهخێرهاتی بۆ مهكۆكانی وێبچن، وهك میوان دهتوانی ههموو بابهتهكانی مهكۆكان بخوێنیتهوه و پێویست به خۆ تۆمار كردن ناكات، بۆ ئهوهی بتوانی بابهت و پرسیار بنووسیت پێویسته خۆت تۆمار بكهیت كه چهند ههنگاوێكی زۆر ئاسان و كورته بۆ جێبهجێ كردن

سڵاو
ئهم ماوهیه خۆم لهگهڵی خهریک کردوه
ههستم کردوه بابی ههموویانه:d
بهڕاستی بههێزه
دووپرسیارم ههیه
1- چۆن سلاید شۆ دابنێم بۆ دواین 10 بابهت بۆ نمونه دواین ئهو 10 بابهتانهی که بڵاو یان دهکهمهوه چۆن راستهوخۆش به سلای شۆ نیشان بدرێن؟
بهڵام لهسلاید شۆکه چی نیشان بدرێت، وێنهی بابهتهکه نوسینهکه سهردێڕهکه.
هیوادارم ڕوون بێت
2- چۆن شریتی دواین 10 بابهت دابنیم لهسهرهوه
سوپاس بۆ هاوکاریتان
لێره نیه
سهرهتا ببوره كه تاخیر وهڵامم داوه بۆتام باس كرد كه سهم زۆر دههێشا بهم توانی بێمهوه سهر خهت بۆ وهلام دانهوه بهههر حاڵ هاتمهوه![]()
ئهم ماوهیه خۆم لهگهڵی خهریک کردوه
ههستم کردوه بابی ههموویانه:d
بهڕاستی بههێزه
ئاسانیشه تهنها دهبێ شارهزایت ههبێ له كۆدهكانی html+ CSS ئهكاته دهزانی زۆر سادهو ساكاره ئهكهیفی تۆ دێتو دهروا ![]()
2- چۆن شریتی دواین 10 بابهت دابنیم لهسهرهوه
لێره كاك ئاسۆی نادری باسی كردبوو
ئاسۆ نادری نووسی:
پێش ههموو شتێك ڕووكارێك درووست بكه كه تهنیا سهردێڕی بابهت/ ههواڵهكان پیشان بدات،
:
<a href="index.php?id={id}">{title}</a>دواتر له index.php ی ماڵپهڕهكهت، لهو شوێنهی كه دهتهوێ دهربكهوێت، شتێكی وهك ئهمه ڕێك بخه،
:
<marquee direction="right" scrolldelay="130" style="width: 806px"> <?php $static=TRUE; $number="10"; $category="14"; $template="serderr"; include("admin/show_news.php"); ?></marquee>
1
- چۆن سلاید شۆ دابنێم بۆ دواین 10 بابهت بۆ نمونه دواین ئهو 10 بابهتانهی که بڵاو یان دهکهمهوه چۆن راستهوخۆش به سلای شۆ نیشان بدرێن؟
بهڵام لهسلاید شۆکه چی نیشان بدرێت، وێنهی بابهتهکه نوسینهکه سهردێڕهکه.
بۆ ئهو چۆره یهكهم جار تۆ دهبێ سلاید شۆیهك دیاری بكهی بۆ ئهوهی تێكهڵاوی بكهی لهگهڵ لهگهڵ كهت نیوس
وابزانم تۆ مهبهستت ئهوهیه كه سلاید شۆی
http://www.dynamicdrive.com/dynamicinde … slider.htm
دهكرێ لهگهڵ مالپهرهكهی خۆتی تێكهڵاوی بكهی بهدروستی پاشان ئهنجامهكهی لێره بنوسه ئهو كاته ئهوانی تریشت بۆ روون دهكهمهوه كه چۆن لهگهڵ كهت نیوس چۆنه
رووكارێك دابرێژه بهم جۆرهی كه خۆت حهزی پێ دهكهی
ئهمه له HEAD دابنێ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <link rel="stylesheet" type="text/css" href="contentslider.css" /> <script type="text/javascript" src="contentslider.js"> /*********************************************** * Featured Content Slider- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more ***********************************************/ </script>
ئهم سێ لینكه له مالپهرهكهت ههلبگره
http://www.dynamicdrive.com/dynamicinde … slider.css
http://www.dynamicdrive.com/dynamicinde … tslider.js
http://www.dynamicdrive.com/dynamicindex17/loading.gif
ئێستا ئهوه ماوه كه بچی ئهو كۆده دابنێ ی كه سلاید شۆكه نیشان بدات له مالپهرهكهت
ئهو كۆده لهو شوێنه دابنێ كه دهتهوێ سلاید شۆكه نیشان بدات
<h2>Example 1</h2>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
Content 1 Here. <br />
<p></p><a href="javascript:featuredcontentslider.jumpTo('slider1', 3)">Go to 3rd slide</a></p>
</div>
<div class="contentdiv">
Content 2 Here.
</div>
<div class="contentdiv">
Content 3 Here.
</div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>ئێستا سلاید شۆیهكه كاردهكات بێ كێشه بۆ بهرێزت ![]()
Content 1 Here. <br />
ئهوه شوێنی دیار كهوتنی سلاید شۆكهیه
دهكری لهبهرێوهبهرایهتی رووكارێكی بۆ دابنێ و لهشوێنی ئهم كۆدهش كۆدێكی بۆ رێك بخهی ئهو كاته ههوالهكان بهدروسی نیشان دهدات
<?php $template="slayd"; $category="3"; $number="1"; include $cutepath.'admin/show_news.php'; ?>
لهبهرێوهبهرایهتی رووكارێك دروست بكه نای بنێ slayd
تهواو رێكی بخه بۆ سلاید شۆكه به ههموو ترشو خوێكانهوه
سهرهكهوتوو بێ
لێره نیه
سڵاو
کارهکانم ههموو کرد بهڵام لهو شوێنهی که دهمهوێت سڵاید شۆکه دابنێم
ئهم کۆدهی خوارهوه دادهنێم، یچ نیشان نادات!
<h2>Example 1</h2>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="1";
include admin.'/show_news.php'
?> <br />
<p></p><a href="javascript:featuredcontentslider.jumpTo('slider1', 3)">Go to 3rd slide</a></p>
</div>
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="2";
include admin.'/show_news.php'
?>
</div>
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="3";
include admin.'/show_news.php'
?>
</div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>لێره نیه
ئهوه لهجیاتی دابنێ
<h2>Example 1</h2>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="1";
include admin.'/show_news.php'
?> </div>
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="2";
include admin.'/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="3";
include admin.'/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="4";
include admin.'/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="5";
include admin.'/show_news.php'
?> </div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
<br />ئهوی نوسراوه
/show_news.php
بیگۆره به
file/show_news.php
file ناوی ئهو فایلهیه كه بهرێوهبهرایهتیت تێداداناوه
بژی
دواترین جار دهستكاری كراوه لهلایهن badil_hub (2009-04-24 09:50:14)
لێره نیه
بهم شێوهیه دایدهنێم ههر نیشان نادات
<h2>Example 1</h2>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="1";
include admin/show_news.php'
?> </div>
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="2";
include admin/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="3";
include admin/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="4";
include admin/show_news.php'
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="5";
include admin/show_news.php'
?> </div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>لێره نیه
بێ گومان ههلهت كردوه
ئهمه
include admin/show_news.php'
بگۆره به
include $cutepath.'admin/show_news.php';
سهركهوتوو بی
لێره نیه
ههر وهک خۆیهتی نیشان نادات
ئهم جاره ئاوامان لێکرد
<h2>Example 1</h2>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="1";
include $cutepath.'admin/show_news.php';
?> </div>
<div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="2";
include $cutepath.'admin/show_news.php';
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="3";
include $cutepath.'admin/show_news.php';
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="4";
include $cutepath.'admin/show_news.php';
?> </div><div class="contentdiv">
<?php
$template="slayd";
$category="5";
$number="5";
include $cutepath.'admin/show_news.php';
?> </div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
<br /></td>
</tr>
</table>
<table border="0" width="100%" id="table7" cellspacing="0" cellpadding="0">
<tr>
<td>
<!--Inner content DIVs should always carry "contentdiv" CSS class-->
<!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>لێره نیه
