.의 JS 전송 매개 변수를
js가 :
1 2 3 4 5 6 7 8 9 10 11 12 13 | 500 ; //time in millis to wait before showing dialog var BT_open_wait = 500; Millis에서 잠깐 대화를 게재하기 전에 / / 시간 0; //time in millis to wait before closing dialog var BT_close_wait = 0; Millis에 대화 상자를 닫기 전에 기다 리라고 / / 시간 true ; var BT_cache_enabled = 진정한; hash ) 함수 BT_setOptions (해시) ( hash [ "openWait" ] != null ) 만약 (해시 [ "openWait"]! = 계열) "openWait" ] ; BT_open_wait = 해시 [ ""] openWait; hash [ "closeWait" ] != null ) 만약 (해시 [ "closeWait"]! = 계열) "closeWait" ] ; BT_close_wait = 해시 [ ""] closeWait; hash [ "cacheEnabled" ] != null ) 만약 (해시 [ "cacheEnabled"]! = 계열) "cacheEnabled" ] ; BT_cache_enabled = 해시 [ "cacheEnabled"]; ) |
HTML을 값 :
1 2 3 4 5 6 | <script type="text/javascript" src="path-to/XXX.js"> </ 스크립트> <script type="text/javascript"> $ (함수 () ( BT_setOptions ((openWait : 2000, closeWait : 4000, enableCache : 거짓)); )) </ 스크립트> |
































