![]() |
thread statusicons alt text?
Ok, I removed the icons key code from forumdisplay (I just don't like it).
Instead I want to add an alt text to the thread statusicons so that when user hover they see what each icon means (like hot thread, thread u posted in it, etc) How do I do that? |
You would ad a title="whatever you want it to say" to the image tag:
HTML Code:
<img src="image.jpg" alt="whatever" title="whatever you want it to say" /> |
Yea, but where is the image?
I looked in threadbit template and here's the code Code:
<tr> |
Not an alt tag, a *title* tag. You'd add it to that image there:
Code:
<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" title="whatever you want it to say" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" /> |
but that will show the same title to all the icons?
I want a special title tag to each of them (hot thread, thread u posted it, hot thread new posts, etc) |
Then write a plugin to set a variable that you write there or put in a condition to define that title text. You could try just putting "$thread[statusicon]" in there and see if that is what you want or write the condition based on that variable.
HTML Code:
<if condition="$thread[statusicon] == '_dot_hot'">Hot Thread<else /> etc..... </if> |
All times are GMT. The time now is 06:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|