I don't understand why it ever gets changed to undefined.aspx to start with. Is that something that happens in the DNN Masters module until you define it? What do you need the CSS menu to do differently? I use a javascript method to switch to SSL and back on this site. var secureUrlPattern='login|Cart'; if(location.protocol.toLowerCase()=='http:'&&location.href.match(secureUrlPattern)) location.href=location.href.replace('http:','https:'); else if(location.protocol.toLowerCase()=='https:'&&!location.href.match(secureUrlPattern)) location.href=location.href.replace('https:','http:');
|