Easy Gallery Generator - EGG V2.0

How to create a link to a Gallery from your own web page


You first need to put the following code into the html header. Straight after <HEAD> is a good place. (You should be able to cut and paste from here).

<script language='javascript'>
<!--
function openWindow(address)
{
  myoptions='toolbar=no,location=no,directories=no,menubar=no,resizable=yes,status=no,scrollbars=yes';
  window.open(address,'',myoptions)
}
// -->
</script>



Then for each link to a Gallery do either of the following:


Method One (Normal Link):


<a href='javascript:openWindow("galleries/gallery1/index.htm")'>Click Here view my Gallery</a>


Method Two: (Button)

<input type='button' value='View Gallery' onclick='openWindow("galleries/gallery1/index.htm")'>



But replace galleries/gallery1/index.htm with the correct address of the main page of your gallery.


Of course you don't have to do all this. If you just put a normal link in it will work fine, but the Browser will have the buttons, menus and such on the screen, so the photos will not fit if they were sized to the maximum available space.