CSS active link

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 25, 2010   (RSS)

By videopixel - May 23, 2010

Is this correct?

<?php foreach ($categoriesRecords as $categoryRecord): ?>
<?php echo $categoryRecord['_listItemStart'] ?>
<?php if ($categoryRecord['_isSelected']): ?>
<div id="selected"><?php echo $categoryRecord['name'] ?></div>
<?php else: ?>
<div id="unselected"><a href="?category=<?php echo $categoryRecord['num'] ?>"><?php echo $categoryRecord['name'] ?></a></div>
<?php endif ?>
<?php echo $categoryRecord['_listItemEnd'] ?>
<?php endforeach ?>


just to confirm if i am on the right track... [;)]

Re: [Jason] CSS active link

By videopixel - May 25, 2010

Hi Jason,

No problem, just to confirm that this is the right code...

I"m almost final with my site now...

thanks... [cool]