PDA


View Full Version : Coding question


rforaker
06-10-2005, 07:01 AM
If i'm using this code

<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td><img src="$stylevar[imgdir_misc]/navbits_dash.gif" alt=""/> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"><strong>Forums</strong></a></td></tr>

How do I add a check to see if there are new posts and if so to use a .gif to show there are in a nav menu?

Hope I made sense, thanks gang.

Brian
06-10-2005, 12:00 PM
Where exactly are you adding this?

Albus
06-10-2005, 02:27 PM
All that is pressent in my nav module (http://www.vbadvanced.com/forum/showthread.php?t=8221). Even if you just want to extract the code feel free to download it. I'm [not] stingy, it's free. One comment...it's pretty extensive coding...

[edit] I noticed I left a negative out above, so I inserted it. sorry for any confusion...

rforaker
06-11-2005, 05:21 AM
Thanks Albus, I really like your nav, and I'm still fairly new to all this. I'll give it a try and see what I come up with.

I'm trying to setup my nav with an image to show there are new posts, basically like Albus did with his, I'll see what I can work out with his coding. :)