new icon
2 posters
Page 1 of 1
new icon
Can someone help me how to add a new icon when there is a new topic created just like this
my forum version is punbb
http://muonline.forums.com.bz
my forum version is punbb
http://muonline.forums.com.bz
Re: new icon
Hello GummyBear,
You could add that by checking for the new posts image.
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
Create a new javascript
Name: What you wish
Placement: In the homepage
Source:
.tcl:has(img[src="IMAGE"])
When finished save.
Now go to CSS
Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet
Paste the codes below and submit.
You could add that by checking for the new posts image.
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
Create a new javascript
Name: What you wish
Placement: In the homepage
Source:
- Code:
jQuery(function () {
jQuery('.tcl:has(img[src="IMAGE"])').prepend('<span class="newPosts">NEW</span>');
});
.tcl:has(img[src="IMAGE"])
When finished save.
Now go to CSS
Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet
Paste the codes below and submit.
- Code:
.newPosts{
float:right;
padding:5px;
margin-right:5px;
border-radius:5px;
color:#ff5;
background:#AAA;
box-shadow:0px 6px 6px rgba(255,255,255, 0.1) inset, 0px -6px 6px rgba(0,0,0, 0.1) inset;
}
Similar topics
» How to Put the Website icon, Email Icon, and others to the Left side?
» Forum icon instead of No New Posts/Locked icon?
» how do i change the nav bar from a text icon to a image icon
» Rank Icon and Topic icon request over here... ^_^
» favorites icon, page icon .-- i can't change it
» Forum icon instead of No New Posts/Locked icon?
» how do i change the nav bar from a text icon to a image icon
» Rank Icon and Topic icon request over here... ^_^
» favorites icon, page icon .-- i can't change it
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum