English | Español | Deutsch | Francais



Beispiele

Generated Gallery

Toggle Fullwindow/Div-View
Toggle Fullwindow/Div-View
loading gallery...

Download


Code

append to head (between your <head> tags):
		
		<!-- ****** append stylesheet of gambarize ****** -->
		<link rel="stylesheet" href="http://gambarize.klickagent.ch/cdn/0.3/style/gambarize.css.php?noreset=1" type="text/css" media="all" /> 
		
		
		<!-- ****** init gambarize scripts ****** -->
		<script type="text/javascript">
		
			<!-- fuckin IE 8 bugfix -->
			window.gambarize_instance='';
						
		
			
		window.onload = function(){	
			gambarize_instance = new gambarize();	
			gambarize_instance.init({
			
				icon_imgchooser: true,
				
				MODE: 'viewer',
				enableHistory: true,
				
				content: { 
					source: 'a',
					selector: 'gmbz',
					
					loadInDiv: 'gallery'
				}
											
			});
			
			
			
			gambarize_instance2 = new gambarize();	
			gambarize_instance2.init({
			
				icon_imgchooser: true,
				
				MODE: 'viewer2',
				
				content: { 
					source: 'a',
					selector: 'gmbz2',
					
					loadInDiv: 'gallery2'
				}
											
			});
			
		}
</script>

append to body (between your <body> tags):
		 <!-- ****** adding content ****** -->
		 
		 	
	<div style="float: left">
		<div id="viewer" style="height: 300px; width: 450px;"></div>
	
		<a href="data/album_simple/field.jpg" rel="" title="" class="gmbz"></a>
		<a href="data/album_simple/mountains.jpg" rel="" title="Mountains, Shadows, Yes this was an amazing landscape!" class="gmbz"></a>
		<a href="data/album_simple/sea.jpg" rel="" title="Sea, Bali" class="gmbz"></a>
		<a href="data/album_simple/wave.jpg" rel="" title="Wave, Bali" class="gmbz"></a>
		
		
		<a href="javascript:;" onclick="gambarize_instance.fullWindow();">Toggle Fullwindow/Div-View</a>
		
	
		<div id="gallery">
			loading gallery...
		</div>
	 </div>
	 
	 
	 <div style="float: right">
	 	<div id="viewer2" style="height: 300px; width: 450px;"></div>
	 	
 		<a href="data/album_simple/field.jpg" rel="" title="" class="gmbz2"></a>
 		<a href="data/album_simple/mountains.jpg" rel="" title="Mountains, Shadows, Yes this was an amazing landscape!" class="gmbz2"></a>
 		<a href="data/album_simple/sea.jpg" rel="" title="Sea, Bali" class="gmbz2"></a>
 		<a href="data/album_simple/wave.jpg" rel="" title="Wave, Bali" class="gmbz2"></a>
 		
 		
 		<a href="javascript:;" onclick="gambarize_instance2.fullWindow();">Toggle Fullwindow/Div-View</a>
 		
 	
 		<div id="gallery2">
 			loading gallery...
 		</div>
	 
	 </div>   
	    
	    
		<!-- ****** adding gambarize scripts ***** -->
		<!-- add jquery, if not already loaded somewhere else on your website: -->
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
			
		<!-- add the cdn/0.3 of gambarize plugin -->
		<script src="http://gambarize.klickagent.ch/cdn/0.3/js/gambarize.js" type="text/javascript"></script>