Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-19-2002, 03:15 PM   PM User | #1
ldiuf
New Coder

 
Join Date: Jun 2002
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
ldiuf is an unknown quantity at this point
Unhappy ASP Equivalent for Javascript

Does anyone know the ASP Equivalent to this javascript?

<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>


Thanks,
Larry
ldiuf is offline   Reply With Quote
Old 06-19-2002, 03:30 PM   PM User | #2
landon11
Regular Coder

 
Join Date: Jun 2002
Location: USA
Posts: 113
Thanks: 0
Thanked 0 Times in 0 Posts
landon11 is an unknown quantity at this point
That should work. ASP is not a language. You can have javascript in an asp page.

<script language=javascript>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>
__________________
USA
landon11 is offline   Reply With Quote
Old 06-19-2002, 03:43 PM   PM User | #3
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
Re: ASP Equivalent for Javascript

Quote:
Originally posted by ldiuf
Does anyone know the ASP Equivalent to this javascript?

<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>


Thanks,
Larry
Larry,

What exactly are you trying to do.. (ie, why is that not working?)

~Quack
QuackHead is offline   Reply With Quote
Old 06-19-2002, 05:00 PM   PM User | #4
ldiuf
New Coder

 
Join Date: Jun 2002
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
ldiuf is an unknown quantity at this point
My Bad,
The script is working just fine, I don't have any problems with it except for that is in JS I'm trying to get the ASP or VBS version of some of my javascripts to cut down on them because I'm using a bunch of them.

Thanks,
Larry
ldiuf is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:30 PM.


Advertisement
Log in to turn off these ads.