Title: Message
Where do you stand on this?  Do you need me to write a popup tooltip function or something (I have code for that floating around on one of my pages I wrote)
 
 

Sr. Network Engineer
Diversified Solutions and Services, Inc.

22645 Canal Road, Suite B

Orange Beach, AL 36561

(251)980-8968
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suneel Jhangiani
Sent: Sunday, January 18, 2004 8:54 PM
To: [EMAIL PROTECTED]
Subject: [Modus] ModusMail version 282

When I get some time this week I’ll add the necessary code into my Add-On to do this. My idea is simply to restrict the length off the subject to ‘x’ characters and of the length is longer we trim it append 3 dots and make a mouseover display the full subject.

 

In case anyone else wants a crack at this here is a little pseudo-code:

 

CONST maxQuarantineSubjectLength = 25

CONST maxSubjectLength = 20

 

txtMouseOverSubject = Subject

 

IF (currentFolder = Quarantine AND len(subject) > maxQuarantineSubjectLength – 3) OR _

            (len(subject) > maxSubjectLength – 3) THEN

 

            ‘ Subject too long trim it

            IF currentFolder = Quarantine THEN

                        Subject = Left(Subject, maxQuarantineSubjectLength – 3) & “…”

            ELSE

                        Subject = Left(Subject, maxSubjectLength – 3) & “…”

            END IF

END IF

 

 

 

Regards,
 
Suneel Jhangiani
Inter-Computer Technology Ltd.
 

Modus3 Bug Buster Co-MVP


If it's 0 degrees today, and it's going to be twice as cold tomorrow, ...how cold will it be?

 

 

From: Jim Barstow [mailto:[EMAIL PROTECTED]
Sent: 16 January 2004 15:42
To: [EMAIL PROTECTED]
Subject: [Modus] ModusMail version 282

 

Ok, tested it and it appears that the problem exists in all folders, not just the quarantine.

 

However, in the fix, it should be noted that the inbox subject column has less real estate then the quarantines subject column, so we should be able to vary the length at which it becomes a subject with ... at the end.

 

 

Sr. Network Engineer
Diversified Solutions and Services, Inc.

22645 Canal Road, Suite B

Orange Beach, AL 36561

(251)980-8968

 

<<image001.gif>>

Reply via email to