I am trying to make a SitePub component that contains a list of links for navigation. I have been trying to make it compare each link href in the list with the url of the current page, and if so, set the anchors class=active. Here is the code I have so far:
[html]
$PAGE_LINK[.]
active
[/html]
I have confirmed that $the-page and $the-link appear to be exactly the same when the component is viewed on the right page, but for some reason the test="" doesn't evaluate them as being equal. Any help is appreciated.
Reply With Quote