ÿþ<BODY BGCOLOR="#a6bf79"> <HEAD> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js?load=effects" type="text/javascript"></script> <script src="js/lightbox.js" type="text/javascript"></script> <style type="text/css"> .slideshow{ /*CSS for DIV containing each image*/ float: left; margin-right: 10px; margin-bottom: 10px; } .slideshow img{ /*CSS for each image tag*/ border: 0; /* width: 200px; */ /* height: 106px; */ } #navlinks{ /*CSS for DIV containing the navigational links*/ width: 400px; } #navlinks a{ /*CSS for each navigational link*/ margin-right: 8px; margin-bottom: 3px; font-family: Trebuchet MS; font-size: 12; } #navlinks a.current{ /*CSS for currently selected navigational link*/ font-family: Trebuchet MS; } </style> </HEAD> <BODY BGCOLOR=BLACK> <FONT SIZE="2" FACE="Trebuchet MS"> <A HREF="../../motova_mio_2009-07.htm">Nazad na Galéria - Tábor Môeová 2009 - Miov maxivýber (zoznam)</A> <BR><BR> Návod na prezeranie galérie: <BR> 1. Po kajte, kým sa na ítajú vaetky náh>ady (zmenaené fotografie) <BR> 2. Kliknite na náh>ad pre zobrazenie prísluanej fotografie. <BR> 3. Ked sa otvorí fotografia, mô~ete pou~ie aípky na presun medzi jednotlivými fotografiami (v>avo=predchádzajúca, vpravo=nasledujúca) alebo pou~ite mya (kliknite na >avú/pravú stranu fotografie na zobrazenie predchádzajúcej/nasledujúcej fotografie). <BR> 4. Ak máte problémy (Javascript, ...), mô~ete skúsie <A HREF="08_simple.htm">zjednoduaenú verziu galérie (kliknite sem)</A> <BR><BR><BR> <script src="08/getpics.php" type="text/javascript"></script> <script type="text/javascript"> /*********************************************** * PHP Photo Album script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts * This notice must stay intact for legal use ***********************************************/ var dimension="7x24" //Specify dimension of gallery (number of images shown), such as 4x2, 3x1 etc var imagepath="08/THUMBS/" //Absolute path to image directory. Include trailing slash (/) var href_target="new" //Enter target attribute of links, if applicable //Toggle popup link setting: popupsetting[0 or 1, "pop up window attributes" (if 1)] var popupsetting=[0, "width=500px, height=400px, scrollbars, resizable"] //Toggle image description: descriptionprefix[0 or 1, "Text to show" (if 1)] var descriptionprefix=[0, "Photo "] //Sort images by date? ("asc", "desc", or "") //"desc" for example causes the newest images to show up first in the gallery //"" disables this feature, so images are sorted by file name (default) var gsortorder="asc" //By default, each image hyperlinks to itself. //However, if you wish them to link to larger versions of themselves //Specify the directory in which the larger images are located //The file names of these large images should mirror those of the original //Enter a blank string ("") to disable this option var targetlinkdir="08/" /////No need to edit beyond here/////////////////// function sortbydate(a, b){ //Sort images function if (gsortorder=="asc") //sort by file date: older to newer return new Date(a[1])-new Date(b[1]) else if (gsortorder=="desc") //sort by file date: newer to older return new Date(b[1])-new Date(a[1]) } if (gsortorder=="asc" || gsortorder=="desc") galleryarray.sort(sortbydate) var totalslots=dimension.split("x")[0]*dimension.split("x")[1] function buildimage(i){ var imagecompletepath=(targetlinkdir!="")? targetlinkdir+galleryarray[i][0] : imagepath+galleryarray[i][0] var tempcontainer='<a href="'+imagecompletepath+'" target="'+href_target+'" rel="lightbox[Rim 2007]">' tempcontainer+='<img src="'+imagepath+galleryarray[i][0]+'" title="'+galleryarray[i][0]+'" />' tempcontainer+='</a><br />' tempcontainer+=(descriptionprefix[0]==1)? descriptionprefix[1]+(i+1) : "" return tempcontainer } function jumptopage(p){ var startpoint=(p-1)*totalslots var y=1; for (i=0; i<totalslots; i++){ document.getElementById("slide"+i).innerHTML=(typeof galleryarray[startpoint+i]!="undefined")? buildimage(startpoint+i) : "" } while(document.getElementById("navlink"+y)!=null){ document.getElementById("navlink"+y).className="" y++ } document.getElementById("navlink"+p).className="current" } var curimage=0 for (y=0; y<dimension.split("x")[1]; y++){ for (x=0; x<dimension.split("x")[0]; x++){ if (curimage<galleryarray.length) document.write('<div id="slide'+curimage+'" class="slideshow">'+buildimage(curimage)+'</div>') curimage++ } document.write('<br style="clear: left" />') } function popuplinkfunc(imgsrc){ if (popupsetting[0]==1){ var popwin=open(imgsrc.href, "popwin", popupsetting[1]) popwin.focus() return false } else return true } </script> <CENTER> <!--Below HTML code refers to the navigational links for the gallery DISABLED <div id="navlinks"> <script type="text/javascript"> for (i=1; i<Math.ceil(galleryarray.length/totalslots)+1; i++) document.write('<a id="navlink'+i+'" href="javascript:jumptopage('+i+')\">Page'+i+'/'+Math.ceil(galleryarray.length/totalslots)+'</a> ') document.getElementById("navlink1").className="current" --> </script> </div> </BODY>