...

View Full Version : ASP Equivalent for Javascript



ldiuf
06-19-2002, 03:15 PM
Does anyone know the ASP Equivalent to this javascript?

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


Thanks,
Larry

landon11
06-19-2002, 03:30 PM
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>

QuackHead
06-19-2002, 03:43 PM
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

ldiuf
06-19-2002, 05:00 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum