Bear with me - it's been a while since I hacked JavaScript.
Pre Roller 3.0 I had some JavaScript :
function selectCategory(catname) {
var url;
#set( $blogURL = "$baseURL/page/$userName" )
if (catname == "All" ) {
url="$blogURL" }
else {
url="$blogURL/?catname=/"+catname
}
window.location.replace ( url );
}
using the new macros I should use :
url="$url.category (catname)"
unfortunately that doesn't work - maybe something to do with the evaluation
order ?
Any ideas how to code such an expression ?
--
View this message in context:
http://www.nabble.com/Roller-3.0-macros-and-JavaScript-tf2229053s12275.html#a6178080
Sent from the Roller - User forum at Nabble.com.