Forums

This topic is locked

display 'new message' icon:like hotmail

Posted 11 May 2002 04:34:45
1
has voted
11 May 2002 04:34:45 zoe z posted:
i would like to know how to show the 'new message'icons to new
messages,messages that has been replied, or the ones that haven't been
replied yet on the display page.i have a page that
displays all the messages that i received,and i want to put icons on
every messages to show that i've replied the messages,or i haven't
replied the messages or new messages .it's
like an email system.what i did was,i put the image path in the
database.and in order to display the right image,i had to manually
update the database.but what i really want is,all the icons to appear
automatically.say,after i've replied a message and submit
it,the display page will automatically shows the replied image
on the display page.same with new messages.when user send me new
messages,they will automatically appear on the display page,without me
having to update the database first.i've also tried the if
statement,but it didn't work correctly.pls help.i use asp & access
#if there's a tutorial that shows how to do this,pls let me know<font face='Verdana'></font id='Verdana'><font size=2></font id=size2><font color=blue></font id=blue>

Replies

Replied 11 May 2002 13:23:05
11 May 2002 13:23:05 Tim Lunceford replied:
What about setting up the reply sheet that takes down the username that is in the session var, or the cookie. Have a conditional region that basically compares the session var mm_username or the username that is in the cookie to the entry in the db. If it sees a match it displays one image. If it doesn't, it displays the other. Hope this helps.

Tim


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
i would like to know how to show the 'new message'icons to new
messages,messages that has been replied, or the ones that haven't been
replied yet on the display page.i have a page that
displays all the messages that i received,and i want to put icons on
every messages to show that i've replied the messages,or i haven't
replied the messages or new messages .it's
like an email system.what i did was,i put the image path in the
database.and in order to display the right image,i had to manually
update the database.but what i really want is,all the icons to appear
automatically.say,after i've replied a message and submit
it,the display page will automatically shows the replied image
on the display page.same with new messages.when user send me new
messages,they will automatically appear on the display page,without me
having to update the database first.i've also tried the if
statement,but it didn't work correctly.pls help.i use asp & access
#if there's a tutorial that shows how to do this,pls let me know<font face='Verdana'></font id='Verdana'><font size=2></font id=size2><font color=blue></font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic