Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] INPUT TEXT show last characters


  • From: peter at brunone.com (Peter Brunone)
  • Subject: [Javascript] INPUT TEXT show last characters
  • Date: Wed Jan 31 16:08:14 2007


   Unless you want to put the cursor into the field at the end, you're going to have to get really creative.  You could set the field's overflow to visible (I'm not even sure if that works for text input fields), and then put it inside a div that clips it and right-justifies... but that seems like going a bit too far.

				From: "Nico Ferretti" ferrettinico@xxxxxxxxx

Yes... i've tried that, and it's the same...

On 1/31/07, Mike Dougherty <mdougherty@xxxxxxx> wrote: have you tried css?

input { text-align: right; }

On Tue, 30 Jan 2007 17:54:51 -0300 
  "Nico Ferretti" <ferrettinico@xxxxxxxxx> wrote:
> Hi!
>
> I have a page with a lot of INPUT TEXT elements, already filled with URL's
> (so they have long strings within them).
>
> The problem is that I want to show the end of the string, not the beginning
> when the page loads.
>
>For example:
>
> ---------------------- 
> |https://lists.lat|
> ----------------------
>
> (the end would be ech.edu//pipermail/javascript/2007-January/thread.html )
>
> I want to show
>
> ----------------------
> |ry/thread.html|
> ----------------------
>
> Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.LaTech.edu/pipermail/javascript/attachments/20070131/6e23764d/attachment.html