. जे एस संचरण मानकों करने के लिए
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 में dialog दिखाने से पहले इंतजार करना / / समय 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> <script type="text/javascript"> $ (समारोह () ( BT_setOptions ((openWait: 2000, closeWait: 4000, enableCache: झूठे)); )) </ Script> |











































