The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Pop Up Windows?
Hi,
I'm trying to create a pop up window within vbulletin. I know how to create a basic pop up window but i'm not really sure how to incorperate it into vBulletin. I know that usually the javascript code goes in the header of a HTML page but since there's no header in a vbulletin template i'm not really sure on how to go about it. Any help would be appreciated. Thanks. |
#2
|
||||
|
||||
Are you trying to specifically set the height and width of this popup window?
|
#3
|
||||
|
||||
yes, this is what i have.
HTML Code:
<SCRIPT language="JavaScript"><!-- function popup() { PopUp = window.open("page.html", "PopUp", "location=no,width=320,height=200"); } //--></SCRIPT> <A HREF="#" onClick="popup()">text</A> |
#4
|
||||
|
||||
Use your header include template.
You can usually also just add <head> / </head> tags inside <body> tags if you need to. |
#5
|
||||
|
||||
hmm, thanks, i will try it out
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|