No replies
aussiemike
aussiemike's picture
Offline
Enthusiast
Kenya
Last seen: 7 years 14 weeks ago
Kenya
Timezone: GMT+3
Joined: 2003-05-29
Posts: 51
Points: 28

Hi,
I have this in the head of my document
<script LANGUAGE="JavaScript" TYPE="text/javascript">
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - Grade / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script>

and I have this in the body

<a target="_blank" href="belgravia/Kitchen%201.jpg" onclick="NewWindow(this.href,'name','350','350','no');return false;">

Would someone be kind enough to fill in the body code so the picture opens 10 px left and 10 px right of the new window.
TIA
Aussiemike

When an old man dies we loose a library.
"Old Kikuyu saying"