Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 can I target This code ???? Universal login
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

acoustika
Junior Member

Denmark
311 Posts

Posted - 13 December 2003 :  21:51:42  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
I am trying to do the Universal login on my site But are having difficulties to get it to work as I want.
can I put a target Tag on this code in anyway, I want the default.asp to open in either "_top" or "_blank", anyone???????????

here's the code
response.write "<meta http-equiv=""Refresh"" content=""0; URL=forum/default.asp"">" & vbNewLine

May The Code Be With You
www.UniqueDk.dk *** The Open Forums of Denmark ***

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 15 December 2003 :  05:32:58  Show Profile
Try using javascript:
response.write	"<script type=""text/javascript"">" & vbnewline & _
		"top.location=""forum/default.asp"";" & vbnewline & _
		"</script>" & vbnewline
Or:
response.write	"<script type=""text/javascript"">" & vbnewline & _
		"win=window.open(""forum/default.asp"",""_blank"");" & vbnewline & _
		"win.focus();" & vbnewline & _
		"</script>" & vbnewline

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

acoustika
Junior Member

Denmark
311 Posts

Posted - 15 December 2003 :  12:52:50  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
Okay thank's MeTV, But I fixed it by doin a javascript "breakout of frames" thing on default.asp instead and that seem's to work pretty good, so I'll try with that, also then i'm pretty sure that my forums will open in their own window, this is my breakout script. read about a rumor that some search engines could delete your site if it wasn't coded this way, though it'a hard to believe.

My breakout of frame code:
<SCRIPT Language="javascript">
<!--
eval(unescape("%69%66%28%74%6f%70%21%3d%73%65%6c%66%29%7b%74%6f%70%2e%6c%6f%63%61%74%69%6f%6e%2e%68%72%65%66%3d%73%65%6c%66%2e%6c%6f%63%61%74%69%6f%6e%2e%68%72%65%66%3b%7d%0a"));
//-->
</SCRIPT>


Anyone know's if this is safe to put in default.asp

May The Code Be With You
www.UniqueDk.dk *** The Open Forums of Denmark ***

Edited by - acoustika on 15 December 2003 12:55:18
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07