|
 |
|
รบกวนด้วยค่ะถ้าเราต้องการให้ progress bar โหลด เสร็จแล้วขึ้นโปรแกรมที่เราจะนำเสนอเราต้องเขียนอย่างไรค่ะ |
|
 |
|
|
 |
 |
|
if(newWidth <= 100)
{
document.getElementById("progress").style.width = newWidth+"%";
document.getElementById("val").innerHTML = newWidth+"%";
setTimeout("setProgess()",100);
}
else{
window.location = "test.php"
หรือ
window.open('test.php','myWindow','height =186, width =367, resizable =0,top=200,left=250,scrollbars=0')
}
ลองดูครับ
|
 |
 |
 |
 |
Date :
2012-01-26 10:37:42 |
By :
Thep |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณค่ะ แต่ขอถามค่ะว่าถ้าเราจะให้มันลิงค์ไปอีก folder หนึ่งต้องเขียนอย่างไรค่ะคือไม่อยากให้มีปัยหาเวลาอัพขึ้น เว็บค่ะ
|
 |
 |
 |
 |
Date :
2012-01-26 11:04:59 |
By :
fight2932 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
if(newWidth <= 100)
{
document.getElementById("progress").style.width = newWidth+"%";
document.getElementById("val").innerHTML = newWidth+"%";
setTimeout("setProgess()",100);
}
else{
window.location = "/web/folder/test.php"
หรือ
window.open('/web/folder/test.php','myWindow','height =186, width =367, resizable =0,top=200,left=250,scrollbars=0')
}
ก้อให้ใส่ path ที่ เราต้องการจะให้ Link ไป ครับ
|
 |
 |
 |
 |
Date :
2012-01-26 12:03:44 |
By :
Thep |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณมากค่ะ
|
 |
 |
 |
 |
Date :
2012-01-26 12:55:18 |
By :
fight2932 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 04
|