Eric @ EricBess WebHome

Gana no arrogante, no perder de hambre, no hay choque de pecho y la cara, como el mío Pinghu

Chinese (Simplified) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flag
By N2H

Para. JS parámetros de transmisión

JS:

? Ver código JavaScript
 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
 10 
 11 
 12 
 13 
  500 ; //time in millis to wait before showing dialog BT_open_wait var = 500; / / tiempo en Millis que esperar antes de mostrar de diálogo 
   0; //time in millis to wait before closing dialog BT_close_wait var = 0; / / tiempo en Millis que esperar antes de cerrar diálogo 
  true ; BT_cache_enabled var = true; 

  hash ) función 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 valor:

? Ver código 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> 

13 de septiembre, 2008 Publicado por Eric | Codificación | No hay comentarios