View Full Version : button history
tranquanghoc
07-09-2002, 11:45
lam on chi cho minh cach tao nut back trong trang web di:.(
SaLanHost.com
07-09-2002, 16:58
Cách 1
<A HREF="javascript:history.back()"> Quay lại </A>
<A HREF="javascript:history.forward()"> Đi tới </A>
Cách 2
<A HREF="javascript:history.go(-1)">Trở lui</A>
<A HREF="javascript:history.go(1)">Chạy tới</A>
Cách 3
<FORM>
<INPUT TYPE="button" VALUE="Back" onClick="history.back()">
<INPUT TYPE="button" VALUE="Forward" onClick="history.forward()">
</FORM>
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.