javascript location

by "Kim A. Woodbridge" <kimwoodbridge(at)yahoo.com>

 Date:  Wed, 12 Jul 2000 10:56:07 -0700 (PDT)
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hi,

We want to add a script to each page of our site that gives the location - kind
of like you are here.

 <script>
  document.write("<p>" + window.location + "</p>")
</script>

This works fine but because some of our URL's are really long because they are the
result of a database search the URL runs longer that than the width set for the page.
Is there anything I can do with a script like this to limit the size and cause the 
URL to wrap to another line?

Thanks,

Kim Woodbridge
kimwoodbridge(at)yahoo.com

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA