hwg-techniques archives | Jul 2000 | new search | results | previous | next |
RE: javascript locationby "tim booker" <timbooker(at)btinternet.com> |
|
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