RE: javascript location
by "tim booker" <timbooker(at)btinternet.com>
|
| Date: |
Wed, 12 Jul 2000 19:57:57 +0100 |
| To: |
"'Kim A. Woodbridge'" <kimwoodbridge(at)yahoo.com>, <hwg-techniques(at)hwg.org> |
| In-Reply-To: |
yahoo |
| |
todo: View
Thread,
Original
|
|
Just put style="width: 999px;" in the <p> tag.
Tim
> -----Original Message-----
> From: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Kim A. Woodbridge
> Sent: 12 July 2000 18:56
> To: hwg-techniques(at)hwg.org
> Subject: javascript location
>
>
> 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
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.