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 Advanced Gallery script - Toocharger.com.
l►► Télécharger Advanced Gallery script v1. Advanced Gallery vous permet d'afficher tour à tour du texte, des images ou du code HTML de façon automatique ou manuelle. Script Advanced Gallery script. Téléchargement de Advanced Gallery script, download.
CATEGORIES

COMPARATEUR DE PRIX
Séparation
À partir de 866,00€
À partir de 539,00€
Tous les prix

SONNERIES MOBILES

FOND D'ÉCRAN



Vous êtes ici : Scripts > Javascript > Texte aléatoire > Advanced Gallery script

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

SCRIPT JAVASCRIPT ADVANCED GALLERY SCRIPT v 1

 

Script javascript Advanced Gallery script
Agrandir Cliquez pour agrandir
Advanced Gallery vous permet d'afficher tour à tour du texte, des images ou du code HTML de façon automatique ou manuelle.

  • Une
    Télécharger

CODE SOURCE (imprimer) :
  1. <style type="text/css">
  2.  
  3. .gallerycontroller{
  4. width: 250px
  5. }
  6.  
  7. .gallerycontent{
  8. width: 250px;
  9. height: 200px;
  10. border: 1px solid black;
  11. background-color: #DFDFFF;
  12. padding: 3px;
  13. display: block;
  14. }
  15.  
  16. </style>
  17.  
  18. <script type="text/javascript">
  19.  
  20. /***********************************************
  21. * Advanced Gallery script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  22. * This notice must stay intact for legal use
  23. * Visit http://www.dynamicdrive.com/ for full source code
  24. ***********************************************/
  25.  
  26. var tickspeed=3000 //ticker speed in miliseconds (2000=2 seconds)
  27. var displaymode="auto" //displaymode ("auto" or "manual"). No need to modify as form at the bottom will control it, unless you wish to remove form.
  28.  
  29. if (document.getElementById){
  30. document.write('<style type="text/css">\n')
  31. document.write('.gallerycontent{display:none;}\n')
  32. document.write('</style>\n')
  33. }
  34.  
  35. var selectedDiv=0
  36. var totalDivs=0
  37.  
  38. function getElementbyClass(classname){
  39. partscollect=new Array()
  40. var inc=0
  41. var alltags=document.all? document.all.tags("DIV") : document.getElementsByTagName("*")
  42. for (i=0; i<alltags.length; i++){
  43. if (alltags[i].className==classname)
  44. partscollect[inc++]=alltags[i]
  45. }
  46. }
  47.  
  48. function contractall(){
  49. var inc=0
  50. while (partscollect[inc]){
  51. partscollect[inc].style.display="none"
  52. inc++
  53. }
  54. }
  55.  
  56. function expandone(){
  57. var selectedDivObj=partscollect[selectedDiv]
  58. contractall()
  59. selectedDivObj.style.display="block"
  60. if (document.gallerycontrol)
  61. temp.options[selectedDiv].selected=true
  62. selectedDiv=(selectedDiv<totalDivs-1)? selectedDiv+1 : 0
  63. if (displaymode=="auto")
  64. autocontrolvar=setTimeout("expandone()",tickspeed)
  65. }
  66.  
  67. function populatemenu(){
  68. temp=document.gallerycontrol.menu
  69. for (m=temp.options.length-1;m>0;m--)
  70. temp.options[m]=null
  71. for (i=0;i<totalDivs;i++){
  72. var thesubject=partscollect[i].getAttribute("subject")
  73. thesubject=(thesubject=="" || thesubject==null)? "HTML Content "+(i+1) : thesubject
  74. temp.options[i]=new Option(thesubject,"")
  75. }
  76. temp.options[0].selected=true
  77. }
  78.  
  79. function manualcontrol(menuobj){
  80. if (displaymode=="manual"){
  81. selectedDiv=menuobj
  82. expandone()
  83. }
  84. }
  85.  
  86. function preparemode(themode){
  87. displaymode=themode
  88. if (typeof autocontrolvar!="undefined")
  89. clearTimeout(autocontrolvar)
  90. if (themode=="auto"){
  91. document.gallerycontrol.menu.disabled=true
  92. autocontrolvar=setTimeout("expandone()",tickspeed)
  93. }
  94. else
  95. document.gallerycontrol.menu.disabled=false
  96. }
  97.  
  98.  
  99. function startgallery(){
  100. if (document.getElementById("controldiv")) //if it exists
  101. document.getElementById("controldiv").style.display="block"
  102. getElementbyClass("gallerycontent")
  103. totalDivs=partscollect.length
  104. if (document.gallerycontrol){
  105. populatemenu()
  106. if (document.gallerycontrol.mode){
  107. for (i=0; i<document.gallerycontrol.mode.length; i++){
  108. if (document.gallerycontrol.mode[i].checked)
  109. displaymode=document.gallerycontrol.mode[i].value
  110. }
  111. }
  112. }
  113. if (displaymode=="auto" && document.gallerycontrol)
  114. document.gallerycontrol.menu.disabled=true
  115. expandone()
  116. }
  117.  
  118. if (window.addEventListener)
  119. window.addEventListener("load", startgallery, false)
  120. else if (window.attachEvent)
  121. window.attachEvent("onload", startgallery)
  122. else if (document.getElementById)
  123. window.onload=startgallery
  124. </script>
  125.  
  126.  
  127. <div class="gallerycontent" subject="What is JavaScript?">
  128. JavaScript is a scripting language originally developed by Netscape to add interactivity and power to web documents. It is purely client side, and runs completely on the client's browser and computer.
  129. </div>
  130. <div class="gallerycontent" subject="Java & JavaScript Differences">
  131. Java is completely different from JavaScript- it's more powerful, more complex, and unfortunately, a lot harder to master. It belongs in the same league as C, C++, and other more complex languages.
  132. </div>
  133.  
  134. <div class="gallerycontent" subject="What is DHTML?">
  135. DHTML is the embodiment of a combination of technologies- JavaScript, CSS, and HTML. Through them a new level of interactivity is possible for the end user experience.
  136. </div>
  137.  
  138. <!--HTML for gallery control options below. Remove checkboxes or entire outer DIV if desired -->
  139.  
  140. <div id="controldiv" style="display:none" class="gallerycontroller">
  141. <form name="gallerycontrol">
  142.  
  143. <select class="gallerycontroller" size="3" name="menu" onChange="manualcontrol(this.options.selectedIndex)">
  144. <option>Blank form</option>
  145. </select><br>
  146.  
  147. Auto: <input type="radio" checked name="mode" value="auto" onClick="preparemode('auto')"> Manual: <input type="radio" name="mode" value="manual" onClick="preparemode('manual')">
  148.  
  149. </form>
  150. </div>

 Auteur dynamicdrive.com
 Site web de l'éditeur
 Date de publication 08/01/2008
 Langue anglais
 Type de licence gratuit
 Licence -
 Bases de données Aucune
 Téléchargements total 685
 Téléchargements ce mois 6

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