vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Code Question...

Peggy
09-24-2006, 09:33 PM
I hope this is the correct place to post this.

I'd like to know what the following code is for:

<SCRIPT TYPE="text/javascript">
<!--
function popup(url, winpopup)
{
if (! window.focus)return true;
var href;
if (typeof(url) == 'string')
href=url;
else
href=url.href;
window.open(href, winpopup, 'width=300,height=250,scrollbars=yes');
return false;
}
//-->
</SCRIPT>


Thanks

noppid
09-24-2006, 09:41 PM
It opens a new browser for a given url of dimensions 300x250 with a scroll bar. Like vB for the attachments upload box, but maybe not that particular piece of code. I never looked.
http://developer.mozilla.org/en/docs/window.open

Peggy
09-24-2006, 10:04 PM
ahha... a pop-up window? kewl


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum