PDA

View Full Version : forum to pop up new wdw


rknight111
25 Oct 2006, 01:21
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
25 Oct 2006, 13:20
Something like this?


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

error_22
25 Oct 2006, 17:45
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
25 Oct 2006, 18:38
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
27 Oct 2006, 02:56
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:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



With this method you can specify the size of the new window, and if you want status bar, toolbars, etc