احمد2
13-05-2003, 07:53 AM
وذللك سانتهي من الموفع الجديد عما قريب ولكن
المشكلة في الصورة تحت كيق الضغط التالي بشرط تاتي
لي الصورة التالية وهكذا
http://members.lycos.co.uk/el3nan2002/up/up/1111111111.GIF
وهذا الكود لصورة الأولى
<table border="0" cellpadding="0">
<caption><strong>عرض الصور </strong></caption>
<tr>
<td width="100%"><img src="plane1.gif" width="300" height="240" name="photoslider"></td>
</tr>
<tr>
<td width="100%"><form method="POST" name="rotater">
<div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0
/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="plane1.gif"
photos[1]="plane2.gif"
photos[2]="plane3.gif"
photos[3]="plane4.gif"
photos[4]="plane5.gif"
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="<<السابق" name="B2"
onClick="backward()"> <input type="button" value="التالي>>" name="B1"
onClick="forward()"><br>
<a href="#" onClick="which=1;backward();return false"><small>أبدا العرض</small></a></p>
</center></div>
</form>
</td>
</tr>
</table>
المشكلة في الصورة تحت كيق الضغط التالي بشرط تاتي
لي الصورة التالية وهكذا
http://members.lycos.co.uk/el3nan2002/up/up/1111111111.GIF
وهذا الكود لصورة الأولى
<table border="0" cellpadding="0">
<caption><strong>عرض الصور </strong></caption>
<tr>
<td width="100%"><img src="plane1.gif" width="300" height="240" name="photoslider"></td>
</tr>
<tr>
<td width="100%"><form method="POST" name="rotater">
<div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0
/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="plane1.gif"
photos[1]="plane2.gif"
photos[2]="plane3.gif"
photos[3]="plane4.gif"
photos[4]="plane5.gif"
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="<<السابق" name="B2"
onClick="backward()"> <input type="button" value="التالي>>" name="B1"
onClick="forward()"><br>
<a href="#" onClick="which=1;backward();return false"><small>أبدا العرض</small></a></p>
</center></div>
</form>
</td>
</tr>
</table>