need help with adding pop-up toolbar

xmyth

Regular Member
Joined
Dec 16, 2008
Messages
234
Reaction score
31
hi. guys (I know im gonna get alot ppl saying "READ DUMBASS" well im sorry im not good with scripts.

im having a problem trying to put a pop-up on my blog im not good @ javascripts if you guys can tell me where to put the javascript it would be cool here the exsample:


<!-- TWO STEPS TO INSTALL POPUP WINDOW:

1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=5,height=5');");
}
// End -->
</script>


<!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->

<BODY onLoad="javascript:popUp('www.blackhatworld.com')">

<!-- Script Size: 0.73 KB -->
 
Last edited:
Back
Top