vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   forum to pop up new wdw (https://vborg.vbsupport.ru/showthread.php?t=129884)

rknight111 10-24-2006 11:21 PM

forum to pop up new wdw
 
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?
HTML Code:

<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:

Code:

<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:

Code:

<script type="text/javascript">
<!--

function OpenWindow(){
Window = window.open('url link goes here','Window','directories=no,height=500,width=600,location=no,menubar=no,resizable=no,status=no,toolbar=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


All times are GMT. The time now is 07:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete