Subj : Re: Adding links To : JahLuv From : Angus McLeod Date : Sun Mar 09 2008 10:08 pm Re: Re: Adding links By: JahLuv to Angus McLeod on Sun Mar 09 2008 15:26:00 > > > if(http_request.virtual_path=="/tiddly/crap.html") > > template.leftnav.push({html: ' > Crap'}); > > I get this error: > > !JavaScript c:\sbbs\mods\../web/lib/leftnav_html.ssjs line 102: SyntaxError: > unterminated string literal > > line 102 is the : > > template.leftnav.push({html: ' Try joining that, and the next line like so: template.leftnav.push({html: ' Crap'}); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I'm not sure if you can break the string across two lines. Some languages are OK with it; some complain. --- Playing loud: "I Can't Tell You Why" by "Eagles". þ Synchronet þ Where we BAJA Rob into writing our modules. The ANJO BBS .