86 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
 | 
						|
<meta charset="utf-8" />
 | 
						|
 | 
						|
<title>Grid n' View</title>
 | 
						|
 | 
						|
<link rel="stylesheet" href="css/grid-n-view.css" />
 | 
						|
<script src="grid-n-view.js"></script>
 | 
						|
 | 
						|
<style>
 | 
						|
</style>
 | 
						|
 | 
						|
<script>
 | 
						|
</script>
 | 
						|
 | 
						|
</head>
 | 
						|
<body onload="setup()">
 | 
						|
 | 
						|
<h3>ToDo</h3>
 | 
						|
<pre>
 | 
						|
- Lightbox: indicators: 
 | 
						|
	- start/end (a-la ImageGrid.Viewer)
 | 
						|
	- next/prev
 | 
						|
	- <s>count</s>
 | 
						|
	- <s>selection</s>
 | 
						|
- <s>Gallery: Adaptable image justification in grid</s>
 | 
						|
	- Can we make this passive??? (i.e. CSS only)
 | 
						|
	- <s>Make more accurate -- align right side to pixel...</s>
 | 
						|
- <s>Gallery: Spacial navigation (up/down/left/right)</s>
 | 
						|
	- <b>auto focus current image iff the gallery is visible</b>
 | 
						|
		- handle focus / tabindex (???)
 | 
						|
	- <s>option: .loop_images</s>
 | 
						|
	- <s>Up/Down: might be a good idea to select an image based on 
 | 
						|
	  longest border instead of closest center (current)...</s>
 | 
						|
- Gallery: PageUp/PageDown, home/end + allow page navigation
 | 
						|
- <b>Gallery: focus visible (if no current and partially scrolled)...</b>
 | 
						|
- <s>Gallery/Lightbox: Selection of images (space / ctrl-a / ctrl-d / ctrl-i)</s>
 | 
						|
	- <s>Lightbox: show selection marker</s>
 | 
						|
- <b>Gallery: constructor (list of urls)</b>
 | 
						|
- <b>Gallery: views</b>
 | 
						|
	- "make view from selection"
 | 
						|
	- close view
 | 
						|
	- multiple view stack
 | 
						|
- Gallery: drop images
 | 
						|
- Gallery: drag to sort
 | 
						|
- Gallery: remove image
 | 
						|
- <b>Gallery: serialize / deserialize</b>
 | 
						|
- <s>Lightbox: navigation (keyboard / mouse)</s>
 | 
						|
- <s>Lightbox: fullscreen mode</s>
 | 
						|
- Gallery: element (???)
 | 
						|
- ...
 | 
						|
</pre>
 | 
						|
 | 
						|
<hr>
 | 
						|
 | 
						|
<div class="gallery">
 | 
						|
	<!-- gallery: content -->
 | 
						|
	<div class="images">
 | 
						|
		<img src="images/500px/1.JPG" caption="Caption text">
 | 
						|
		<img src="images/500px/2.JPG">
 | 
						|
		<img src="images/500px/3.JPG">
 | 
						|
		<img src="images/500px/DSC08102.jpg">
 | 
						|
		<img src="images/500px/4.JPG">
 | 
						|
		<img src="images/500px/5.JPG">
 | 
						|
		<img src="images/500px/DSC08102.jpg">
 | 
						|
		<img src="images/500px/6.JPG">
 | 
						|
		<img src="images/500px/DSC08102.jpg">
 | 
						|
		<img src="images/500px/2.JPG">
 | 
						|
		<img src="images/500px/5.JPG">
 | 
						|
	</div>
 | 
						|
	<!-- lightbox -->
 | 
						|
	<div class="lightbox">
 | 
						|
		<img>
 | 
						|
		<div class="buttons">
 | 
						|
			<div class="button fullscreen"></div>
 | 
						|
			<div class="button close"></div>
 | 
						|
		</div>
 | 
						|
	</div>
 | 
						|
</div>
 | 
						|
 | 
						|
</body>
 | 
						|
</html>
 | 
						|
<!-- vim:set ts=4 sw=4 : -->
 |