tbrand68
09-09-2009, 11:48 AM
I posted this yeterday in a different category...but I think I put it somewhere I should have. Sorry... So here it is again in hopefully the right forum topic.
__________________________________________________
Ok, so I've started looking at a script that dynamic drive wrote...
http://www.dynamicdrive.com/dynamici...ntentorder.htm
It does exactly what I need, except I need to weight certain items so they pop up to the top more often.
I know it sounds odd to have random content show up in a not all random form.
I've searched the archives for a script to do what I need, but I can't seem to find one. If there is one already, I appologize, if you could point me in the right direction, I'dd appreciate it.
Otherwise, if you could help me modify the script above to add a weight element... I was thinking that in the class name, there could be an addition.. for example <div class="group1"> could be changed to <div class="group1,10"> where 10 would be the weight... the higer the number, the more often it would come up to the #1 position...
This make sense??? sorry, I'm not a coder, just a dreamer! Any help would be appreciated.
Regards,
Tim
__________________________________________________
Ok, so I've started looking at a script that dynamic drive wrote...
http://www.dynamicdrive.com/dynamici...ntentorder.htm
It does exactly what I need, except I need to weight certain items so they pop up to the top more often.
I know it sounds odd to have random content show up in a not all random form.
I've searched the archives for a script to do what I need, but I can't seem to find one. If there is one already, I appologize, if you could point me in the right direction, I'dd appreciate it.
Otherwise, if you could help me modify the script above to add a weight element... I was thinking that in the class name, there could be an addition.. for example <div class="group1"> could be changed to <div class="group1,10"> where 10 would be the weight... the higer the number, the more often it would come up to the #1 position...
This make sense??? sorry, I'm not a coder, just a dreamer! Any help would be appreciated.
Regards,
Tim