Eric @ EricBess WebHome

Rather than just thinking, knowing it would be meaningless

Chinese (Simplified) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flag
By N2H

To. JS transmission parameters

js:

? [Copy to clipboard] View Code JAVASCRIPT
 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; / / time in millis to wait before showing dialog 
  0 ; //time in millis to wait before closing dialog var BT_close_wait = 0; / / time in millis to wait before closing dialog 
  true ; var BT_cache_enabled = true; 

  hash ) function BT_setOptions (hash) 
  ( 
	  hash [ "openWait" ] != null ) if (hash [ "openWait"]! = null) 
		  "openWait" ] ; BT_open_wait = hash [ "openWait"]; 
	  hash [ "closeWait" ] != null ) if (hash [ "closeWait"]! = null) 
		  "closeWait" ] ; BT_close_wait = hash [ "closeWait"]; 
	  hash [ "cacheEnabled" ] != null ) if (hash [ "cacheEnabled"]! = null) 
		  "cacheEnabled" ] ; BT_cache_enabled = hash [ "cacheEnabled"]; 
  ) 

HTML value:

? [Copy to clipboard] View Code HTML
 1 
 2 
 3 
 4 
 5 
 6 
  <script type="text/javascript" src="path-to/XXX.js"> </ script>  
  <script type="text/javascript"> 
      $ (function () ( 
         BT_setOptions ((openWait: 2000, closeWait: 4000, enableCache: false)); 
      )) 
  </ script> 

September 13th, 2008 Posted by eric | Coding | no comments