Télécharger des logiciels Windows, Mac, Linux, Palm, Pocket PC, Mobile, Jeux, scripts PHP, script ASP, scripts CGI, scripts PERL. Télécharger des cours, des wallpapers, des curseurs, des gifs animés, des fonds d'écran, fonds d'écrans, des textures, des icônes, des dessins. Gratuiciels, freeware, shareware, démonstration, gratuit.
Faites le plein de téléchargements !



Télécharger le script javascript Access Control by Screen Size - Toocharger.com.
l►► Télécharger Access Control by Screen Size v1.0. Ce javascript redirigera vos visiteurs suivant leur configuration d'écran : 640, 800, 1024, ou autres. Il inclut une option d'alerte. Script Access Control by Screen Size. Téléchargement de Access Control by Screen Size, download.
CATEGORIES

COMPARATEUR DE PRIX
Séparation
À partir de 865,50€
À partir de 859,00€
Tous les prix

SONNERIES MOBILES

FOND D'ÉCRAN



Vous êtes ici : Scripts > Javascript > Redirection > Ecran > Access Control by Screen Size

Scripts PHP, ASP, Flash, CGI-PERL, Javascript, ASP.NET, Python, C, C++, DHTML, XML et CFM

SCRIPT JAVASCRIPT ACCESS CONTROL BY SCREEN SIZE v 1.0

 

Script javascript Access Control by Screen Size
Agrandir Cliquez pour agrandir
Ce javascript redirigera vos visiteurs suivant leur configuration d'écran : 640, 800, 1024, ou autres. Il inclut une option d'alerte.

  • Une
    Voir ce script sur le site de l'auteur

CODE SOURCE (imprimer) :
  1. <script language="JavaScript">
  2. <!--
  3. // Copyright 2001 by www.CodeBelly.com
  4. // Do *not* remove this notice.
  5.  
  6. // INSTRUCTIONS
  7.  
  8. // Place this script in the <head> of the page you will use
  9. // for redirection *only*. It should *not* be placed in a
  10. // regular (content) page.
  11.  
  12. // Set page destinations for the various screen sizes below.
  13. // If the pages are in the same directory as the page with
  14. // this script, only the page filename is needed; otherwise
  15. // use the full, http://www.site.com/page.html address.
  16.  
  17. // If you have one page used for more than one size (say,
  18. // both 1024 and Larger), then use the same page address
  19. // in each of the associated variables.
  20.  
  21. pageFor640 = "pageFor640.html";
  22. pageFor800 = "pageFor800.html";
  23. pageFor1024 = "pageFor1024.html";
  24. pageForLarger = "pageForLarger.html";
  25.  
  26. // Set showAlert to "yes" if you wish an alert box to appear
  27. // when the visitor hits your referer page; otherwise, set
  28. // it to "no"
  29.  
  30. showAlert = "yes";
  31.  
  32. // This is the message that will be seen if showAlert is
  33. // used; alter it as needed.
  34.  
  35. sayOnAlert = "Redirecting to a page designed for your screen size...";
  36.  
  37. // DO NOT EDIT BELOW THIS LINE.
  38. // ----------------------------
  39.  
  40. var Wide = screen.width;
  41.  
  42. if (Wide <= 640){
  43. if (showAlert == "yes"){
  44. alert(sayOnAlert);
  45. }
  46. window.location = pageFor640;
  47. }
  48.  
  49. else if (Wide <= 800){
  50. if (showAlert == "yes"){
  51. alert(sayOnAlert);
  52. }
  53. window.location = pageFor800;
  54. }
  55.  
  56. else if (Wide <= 1024){
  57. if (showAlert == "yes"){
  58. alert(sayOnAlert);
  59. }
  60. window.location = pageFor1024;
  61. }
  62.  
  63. else {
  64. if (showAlert == "yes"){
  65. alert(sayOnAlert);
  66. }
  67. window.location = pageForLarger;
  68. }
  69.  
  70. //-->
  71. </script>
  72. </textarea>
  73. </form>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td width="100%" align="center"><font color="#FFFFFF">,</font>
  78. </td>
  79. </tr>
  80. </tbody>
  81. </table>
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </center>
  87. <!--webbot bot="Include" endspan i-checksum="17915" -->
  88. <!--webbot bot="Include" U-Include="../~navigation.bottom.html" TAG="BODY" startspan -->
  89. <img src="../1x1.trans.gif" width="5" height="55"><br>
  90. <div align="center">
  91. <center>
  92. <table border="0" cellpadding="5" cellspacing="0" width="740">
  93. <tr>
  94. <td align="left" width="148"><font size="2" face="Arial"><b><a href="../index.html" target="_top">Home</a></b></font></td>
  95. <td align="left" width="148"><font size="2" face="Arial"><b><a href="../java/index.html" target="_top">Java
  96. Applets</a></b></font></td>
  97. <td align="center" width="148"><font size="2" face="Arial"><b><a href="index.html" target="_top">JavaScript
  98. Index</a></b></font></td>
  99. <td align="right" width="148"><font size="2" face="Arial"><b><a href="../links/index.html" target="_top">Resources</a></b></font></td>
  100. <td align="right" width="148"><font size="2" face="Arial"><b><a href="../indexnew.html" target="_top">New
  101. Scripts</a></b></font></td>
  102. </tr>
  103. </table>
  104. </center>
  105. </div>
  106. <!--webbot bot="Include" endspan i-checksum="64471" -->
  107. <!--webbot bot="Include" U-Include="../~footer.html" TAG="BODY" startspan -->
  108. <table border="0" cellpadding="5" cellspacing="0" width="100%">
  109. <tr>
  110. <td width="100%"><img border="0" src="../1x1.trans.gif" width="1" height="1"></td>
  111. </tr>
  112. <tr>
  113. <td align="center"><a href="http://www.codebrain.com" target="_top">www.CodeBrain.com</a>
  114. Need Still <i>More</i> Scripts? <a target="_top" href="http://www.codelifter.com">www.CodeLifter.com</a></td>
  115. </tr>
  116. </table>
  117. <table border="0" cellpadding="5" cellspacing="0" width="100%">
  118. <tr>
  119. <td width="100%" align="center">
  120. <a href="http://www.codebrain.com/java/codebrainslider/index.html" target="_top"><img border="0" src="http://www.codebelly.com/ads/codebrain468x60g.gif" width="468" height="60"></a>
  121.  
  122. </td>
  123. </tr>
  124. </table>
  125. <p align="center"><font size="1" face="Arial" color="#C0C0C0">Copyright 1996 -
  126. 2004 by OEC Corp and CodeBelly.com</font></p>
  127.  
  128. <script>
  129. var popURL="http://www.codelifter.com";
  130. var beAsAnnoyingAsPossible = false;
  131.  
  132. function doPopUnder(){
  133. if (document.all){
  134. popUnder=window.open("","","");
  135. popUnder.blur();
  136. popUnder.location=popURL;
  137. self.focus();}}
  138.  
  139. function munchTheCookie(Who){
  140. var brandOfCookie = Who + "=";
  141. var whatSayYe = "";
  142. if (document.cookie.length > 0) {
  143. beginningOfCookie = document.cookie.indexOf(brandOfCookie);
  144. if (beginningOfCookie != -1) {
  145. beginningOfCookie += brandOfCookie.length;
  146. endOfCookie = document.cookie.indexOf(";", beginningOfCookie);
  147. if (endOfCookie == -1) endOfCookie = document.cookie.length;
  148. whatSayYe=unescape(document.cookie.substring(beginningOfCookie, endOfCookie));
  149. }
  150. }
  151. return whatSayYe;
  152. }
  153.  
  154. function ToPopOrNotToPopIsTheQuestion(){
  155. if (munchTheCookie('Nabisco')==''){
  156. doPopUnder();
  157. document.cookie="Nabisco=yes";}}
  158.  
  159. if (beAsAnnoyingAsPossible){
  160. doPopUnder();}
  161. else{ToPopOrNotToPopIsTheQuestion();}
  162. </script>
  163.  
  164. <center>
  165. <table border="0" cellpadding="5" cellspacing="0" width="740">
  166. <tr>
  167. <td width="100%" align="center"></td>
  168. </tr>
  169. <tr>
  170. <td width="100%" align="center"><br>
  171. <font face="Verdana,Arial" size="2">
  172. CodeBrain InterNET<br>
  173. Group</font></td>
  174. </tr>
  175. <tr>
  176. <td width="100%" align="center">
  177. <a href="http://www.CodeBrain.com" target="_top">www.CodeBrain.com</a><img src="../1x1.trans.gif" width="20" height="1">
  178. <a href="http://www.BrainCode.com" target="_top">www.BrainCode.com</a><img src="../1x1.trans.gif" width="20" height="1">
  179. <a href="http://www.CodeLifter.com" target="_top">www.CodeLifter.com</a><img src="../1x1.trans.gif" width="20" height="1">
  180. <a href="http://www.MicroTicker.com" target="_top">www.MicroTicker.com</a>
  181. </td>
  182. </tr>
  183. <tr>
  184. <td width="100%" align="center">
  185. <a href="http://www.etLux.com" target="_top">www.etLux.com</a><img src="../1x1.trans.gif" width="20" height="1">
  186. <a href="http://www.oeccorp.com/" target="_top">www.OECCorp.com</a><img src="../1x1.trans.gif" width="20" height="1">
  187. <a href="http://www.CodeBelly.com" target="_top">www.CodeBelly.com</a><img src="../1x1.trans.gif" width="20" height="1">
  188. <a href="http://www.CodeFoot.com" target="_top">www.CodeFoot.com</a>
  189. </td>
  190. </tr>
  191. <tr>
  192. <td width="100%" align="center">
  193. <a href="http://www.jscode.com" target="_top">www.jsCode.com</a><img src="../1x1.trans.gif" width="20" height="1">
  194. <a href="http://www.IEFix.com" target="_top">www.IEFix.com</a><img src="../1x1.trans.gif" width="20" height="1">
  195. <a href="http://www.PopUpWorks.com" target="_top">www.PopUpWorks.com</a><img src="../1x1.trans.gif" width="20" height="1">
  196. <a href="http://www.D3Q.com" target="_top">www.D3Q.com</a><img src="../1x1.trans.gif" width="20" height="1">
  197. <a href="http://www.FFFast.com" target="_top">www.FFFast.com</a>
  198. </td>
  199. </tr>
  200. <tr>
  201. <td width="100%" align="center">
  202. <font color="#FFFFFF">
  203. .<br>
  204. .<br>
  205. .</font></td>
  206. </tr>
  207. </table>
  208. </center>
  209.  
  210. <!--webbot bot="Include" endspan i-checksum="61494" -->
  211. <p> </p>
  212. </body>
  213.  
  214. </html>

 Auteur David Sosnowski
 Site web de l'éditeur
 Date de publication 14/01/2008
 Langue anglais
 Type de licence gratuit
 Licence -
 Bases de données Aucune
 Consultations total 54
 Consultations ce mois 0

Note des utilisateurs

-/10

Fonctionnalités
Blank
Interface
Blank
Stabilité
Blank
Installation
Blank
Rapport qualité/prix
Blank
Avis général
Blank
Nbre de votes : 0

Blank




Blank

Commentaires

DERNIERS AVIS POSTÉS PAR LES UTILISATEURS


Il n'y a pas d'avis enregistrés pour le moment, vous pouvez enregistrer le vôtre.

Copyright © 2004-2008 Webluna. Tous droits réservés.
Hebdotop