Tag System Example

Example of the tags system

A very simple way of randomizing a tag page to make it look a little more interesting than normal. If you have a little more time and your tag system supports it you can make it so that the popularity of the tag affects it’s size rather than it being random. So that the tags that are used most often are the largest, but that is a task for a rainy day.

 php |  copy code |? 
01
02
03
$tag_sizes = Array('10','15','20');
04
$tag_weights = Array('normal', 'bold');
05
$tag_colors = Array('000000', '660000', '006600', '000066', '666600', '006666', '660066');
06
07
?>
08
09

10
 
11

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2014 Altroleet Suffusion theme by Sayontan Sinha