[Javascript] INPUT TEXT show last characters

Peter Brunone peter at brunone.com
Wed Jan 31 16:06:06 CST 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 at gmail.com

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

On 1/31/07, Mike Dougherty <mdougherty at pbp.com> wrote: have you tried css?

input { text-align: right; }

On Tue, 30 Jan 2007 17:54:51 -0300 
  "Nico Ferretti" <ferrettinico at gmail.com> 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: <http://lists.evolt.org/pipermail/javascript/attachments/20070131/6e23764d/attachment.htm>


More information about the Javascript mailing list