intelligent half of our team is off on other jobs (and you guessed right if
you figure I'm not that half) and I thought I might be able to get some help
here and make this small change myself. If you go to
http://www.vbexplorer.com/ you'll see at the bottom of the page the 'Newest
User Submissions' box. I don't like the fact that the long lines wrap and
was wondering if I can just insert a bit of script that will snip the lines
to a certain length. In a total pseudo and clueless example here is
basically what I;d like
If the category column can hold say 17 characters without wrapping I'd like
to have a small script to take something like this
Files, Folders And Directories
and turn it into this
I know I could just rename everything but that isn't practical since the
title, name and category are used in other places where the length is not a
problem so I don't want to end up with illegible coded names to fit
everything in. (I guess I can steal a page from Outlook and put the text in
a 'Title=category name' so they can get the full name on mouseover -at least
The values I need to 'chop' are ##title, ##Name, and ##CategoryName which
are inserted from the database. Here's the pertinent code.
<TD width="100"> <a
<TD width="120"> <a
If there is some simple way of doing this (more pseudo stuff) ala
<a href="show.asp?id=99&itemid=##id;"><script>chop (17,
that'd be great.
Thanks a lot,
Fixed it, no need to respond -assuming you were going to.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL