Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

HTML question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Sheen - 05 Feb 2008 20:03 GMT
I have a status bar which I use javascript to update with progress.  I take
the duration of the event and calculate the % which is complete and then use
that as the width attribute for a <td>.  There are two <td>'s, the first for
the completed progress and the second to hold the remaining time.

What I would like to be able to do is overlay the graphic (bar graph) with
text as to the amount of time passed and the duration of the event (eg
02:27 / 03:54).

Is this possible?  The "progress meter" is part of a dragable panel (Ajax
toolkit).

Thanks
Lloyd Sheen
John Kotuby - 08 Feb 2008 17:34 GMT
Hi Lloyd,

Your question indicates some advanced work with .NET and I am guessing you
have mucho more experience than I do.

Anyway, if you haven't found your answer yet, at the risk of sounding
stupid:

If you are using the bar graph graphic as a background image, what is
keeping you from displaying text between the <td> and </td> tags which will
show up over the background graphic, especially if you center align the
<td>?

Just my 2 cents. I am guessing that what you're doing is too complicated for
such a simple solution to work.

>I have a status bar which I use javascript to update with progress.  I take
>the duration of the event and calculate the % which is complete and then
[quoted text clipped - 10 lines]
> Thanks
> Lloyd Sheen
John Kotuby - 08 Feb 2008 18:52 GMT
Addendum...

Since you are setting the width attribute of the table cell from JavaScript
using the DOM you most likely have a reference to the cell and you can use:

theCell.innerHTML = '02:27 / 03:54'

Or you can use a more conventional DOM approach to do accomplish same thing.

> Hi Lloyd,
>
[quoted text clipped - 27 lines]
>> Thanks
>> Lloyd Sheen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.