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?
just to confirm if i am on the right track... [;)]
<?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: [videopixel] CSS active link
By Jason - May 25, 2010
Hi,
I can't see a problem with your code. Are you running into any issues?
Thanks.
I can't see a problem with your code. Are you running into any issues?
Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
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]
No problem, just to confirm that this is the right code...
I"m almost final with my site now...
thanks... [cool]