Hello thanks for getting back to me
the code i placed is what i was passed from someon else that uses javascript to open a pop up window to specific size.
i want to add code to the indivudal divs on the page to open. using the code below:
<a href="java script:void(0)" onclick="window.open('IMAGE','miniwin',& #39;toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable
=0,width=WIDTH,height=HEIGHT')"
i then added it to the code below:
<div id="content">
<div id="card_1">
<div id="galleryphoto"><img src="galleryimages/Bruce_Lee_1.jpg" class="img" alt="Bruce Lee 1"></div>
<div id="galleryphotoname">Bruce Lee 1</div>
</div>
to give me this:
<div id="content">
<a href="java script:void(0)" onclick="window.open('www.retrodesigner.co.uk/popups/brucelee1.html','miniwin',& #39;toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable
=0,width=500,height=500')">
<div id="card_1">
<div id="galleryphoto"><img src="galleryimages/bruce_Lee_1.jpg" class="img" alt="Bruce Lee 1"></div>
<div id="galleryphotoname">Bruce Lee 1</div>
</div></a>
Now i know this code works and seem simple enough to edit, its just the layout issue that i have a problem with.
Any help would be great thanks
Can anyone help me?