السلام عليكم ورحمة الله وبركاته :wub: :wub:
المشكلة الثانية الحمد لله تمكنت من ايجاد حل لها وهي ظهور العداد والحل هو كما يلي :
<p><!--webbot bot="HTMLMarkup" startspan --><form name="redirect">
<center>
<font face="Arial"><b>You must finsh this Exam by the specific time <br><br>
<form>
<input type="text" size="3" name="redirect2">
</form>
seconds</b></font>
</center>
<script>
<!--
var targetURL="var targetURL="result.jsp"
var countdownfrom=10
var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
//-->
</script>
</p>نضع هذا الكود في بداية البرنامج quizeApplication
تغير العداد بواسطة المتغير var countdownfrom=10
ويمكن حل المشكلة الحمد لله بقة المشكلة الاولى الله يسهل
سلامي
اخوكم
محمود سامي
تم تعديل هذه المشاركة بواسطة mahmoodsami في 13 فبراير 2010 في 23:31
