/    Sign up×
Community /Pin to ProfileBookmark

how pop up centered?

hi, how centered this pop up? thanks

[CODE]<script language=”JavaScript”>
function resizeOuterTo(w,h) {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName==”Netscape”) {
top.outerWidth=w+10;
top.outerHeight=h+85;
}
else
{
top.resizeTo(400,300);
wd = 400-document.body.clientWidth;
hd = 300-document.body.clientHeight;
top.resizeTo(w+wd,h+hd);
}
}
}

function init()
{
resizeOuterTo(document.images[‘LargeImg’].width, document.images[‘LargeImg’].height);
}
</script>
</head>
<body marginheight=”0″ marginwidth=”0″ topmargin=”0″ leftmargin=”0″ rightmargin=”0″ bottommargin=”0″ onLoad=”init();” bgcolor=”black”>
<img name=”LargeImg” src=”<?php echo $_GET[‘img_url’]?>” border=”0″/>
</body>[/CODE]

to post a comment
JavaScript

2 Comments(s)

×

Success!

Help @marexo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...