Web Analytics Made Easy -
StatCounter ASP Equivalent for Javascript - CodingForum

Announcement

Collapse
No announcement yet.

ASP Equivalent for Javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    "No Page To Show, Just Likes To Code."

  • #2
    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

    Comment


    • #3
      Re: ASP Equivalent for Javascript

      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

      Comment


      • #4
        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
        "No Page To Show, Just Likes To Code."

        Comment

        Working...
        X