|
Posted by Edwin van der Vaart on 06/28/05 23:41
Domestos wrote:
> Hi all,
>
> I need to open a HTML/PHP window with the dimensions 300x300 after clicking
> an image on the source page. How on earth do I do this - I have searched
> around the web and found various muck that hasn't helped me much...
>
> Ideally I would like the window to appear without the menus and icons...
Use a "make new window" script with js.
e.g.
Between the <head>
<script type="text/js">
var newWindow
function makeNewWindow() {
newWindow =
window.open("url","sub","toolbar=no,location=no,resizable=no,status=no,scrollbars=no,menubar=no,personalbar=no,widht=300px,height=300px")
}
</script>
Some on the source file
<a href="url_image" onClick="makeNewWindow1();return false"><img
src"url_thumbnail"></a>
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction
[Back to original message]
|