The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
hyperlink new window size?
Hi everybody, is there a way to make it so that when someone clicks a link and a new window pops up the window is a certain size specified by you? how would I code that?
I've got this in my navbar so that when clicked it will guide the user to the teamspeak server. Code:
<td class="vbmenu_control"><a href="teamspeak://66.228.124.197:8796">Team Speak</a></td></if> What I would like to do is insert another code so that when clicked it also opens a new window that opens up this page http://www.optikal-illuzionz.com/forums/tsserver.htm but I would like it to open as a small window that just fits the text. as always, any help would be greatly appreciated. thanks |
#2
|
|||
|
|||
<a href="http://www.javascript-coder.com/window-popup/javascript-window-open.phtml" target="_blank">http://www.javascript-coder.com/wind...dow-open.phtml</a>
|
#3
|
||||
|
||||
Thanks for the link, tried using what they listed but it doesn't seem to work in the navbar.
|
#4
|
||||
|
||||
TeamSpeak links directly open the TeamSpeak client, and not in a browser window, therefore, cannot be resized (with JS and the like).
|
#5
|
||||
|
||||
No I'm trying to have the link do two things, open into the team speak server and also open a new browser window to the page i specified. I'm not sure if it can be done, but that's what I'm trying to do.
|
#6
|
||||
|
||||
In that case, you'll need to craft JS to open a popup. Most popup codes will have options to change the size.
|
#7
|
||||
|
||||
thanks, guess I'll goolge java script popup codes then.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|