Skip to content

Instantly share code, notes, and snippets.

@johnathancroom
Created August 25, 2012 16:28
Show Gist options
  • Save johnathancroom/3467588 to your computer and use it in GitHub Desktop.
Save johnathancroom/3467588 to your computer and use it in GitHub Desktop.
<style type="text/css">
.colorcards img {
margin: 10px 10px 0 0;
width: 180px;
}
</style>
<p class="colorcards">
<a href="http://jnzipper.com/New/gallery_big/ColorCard/A-E.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/A-E.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCard/F-J.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/F-J.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCard/K-O.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/K-O.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCard/P-T.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/P-T.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCard/U-Y.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/U-Y.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCard/Z-AD.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCard/Z-AD.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCardIndex/color-index-1.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCardIndex/color-index-1.jpg"></a>
<a href="http://jnzipper.com/New/gallery_big/ColorCardIndex/color-index-2.jpg" onclick="return popuplinkfunc(this)"><img src="http://jnzipper.com/New/gallery/ColorCardIndex/color-index-2.jpg"></a>
</p>
<script type="text/javascript">
var popupsetting=[1, "width=600px, height=1160px, scrollbars, resizable"]
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
var popwin=open(imgsrc.href, "popwin", popupsetting[1])
popwin.focus()
return false
}
else
return true
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment