View Full Version : forum to pop up new wdw
rknight111
10-24-2006, 11:21 PM
How do I set up when you click on a forum and it opens the url in a separate window??
I am installing 2 photo gallerys on my site and would like them to open when you click on the forum but to open up in a new window so when you are completed with them your back in the main page..
Ron
nico_swd
10-25-2006, 11:20 AM
Something like this?
<a href="./forum/" target="_blank">Go to forum</a>
error_22
10-25-2006, 03:45 PM
I actually think he means like a forum on the forum main page. So I guess it has to be some kind of setting made in the Admin CP? Perhaps in the FORUMHOME template?
rknight111
10-25-2006, 04:38 PM
I have the forum labelled Photo's, then when they went to the forum it forwards you to a URL that I set it to but it closes out the vbforum, unless you go back with the browser. I would of preferred it to open up a new window.. But if you have a way of doing that let me know for future..
Otherwise I changed my mind on that and I searched this Great site and last night I set up the VBPicforum on my site, I have some tweeking to do but It will work better than the gallery that dot5 has on there system.
RON
syrus.xl
10-27-2006, 12:56 AM
It really depends on how you want the new page window to look. A simple call to target the url would suffice, then use this:
<a href="full url to target goes here" target="_blank">Text Label Here</a>
Or, if you want it as a popup then you would need to define the window size and properties with a javascript routine call like this:
<script type="text/javascript">
<!--
function OpenWindow(){
Window = window.open('url link goes here','Window','directories=no,height=500,width=60 0,location=no,menubar=no,resizable=no,status=no,to olbar=no')
return false;
}
-->
</script>
<a href="#" onclick="return OpenWindow()">Link Text goes Here</a>
With this method you can specify the size of the new window, and if you want status bar, toolbars, etc
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.