Forums
This topic is locked
Expressions & Unterminated string literal problem
Posted 09 Jul 2006 00:21:33
1
has voted
09 Jul 2006 00:21:33 Buddy Quaid posted:
Hi there,I am learning about the use of parameters and expressions which I think is a really cool way to save time. That is, if everything were to go smoothly. Of course with new things theres learning curves.
I have gotten my template to work correctly with the parameters but there seems to be an error I get for line 182 that says there is an "unterminated string literal" on that line. That line of code is just:
<pre id=code><font face=courier size=2 id=code><p class="middle"><a href="#" onclick="external_disclaimer('www.fdic.gov');return false">Member FDIC</a></p></font id=code></pre id=code>
I don't see anything wrong with this line and I havent touched it at all since the basic page was made when there were no errors at all.
I'm thinking it has to do with my expressions but as far as I know, the functionality is working and I get no errors about my expressions. Can anyone please see if they can figure this out? For simplicity sake I am posting just the table tag right after the body tag to save the headache of headers...if you need the entire page, i can certainly do so.
<pre id=code><font face=courier size=2 id=code> <table width="782" border="0" align="center" cellpadding="0" cellspacing="0" id="layoutTable">
<!--DWLayoutTable-->
<!-- fwtable fwsrc="Home_Final.png" fwbase="index.gif" fwstyle="Dreamweaver" fwdocid = "961642922" fwnested="0" -->
<tr>
<td width="71"><img src="../images/spacer.gif" width="71" height="1" border="0" alt="" /></td>
<td width="10"><img src="../images/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td width="50"><img src="../images/spacer.gif" width="50" height="1" border="0" alt="" /></td>
<td width="75"><img src="../images/spacer.gif" width="75" height="1" border="0" alt="" /></td>
<td width="67"><img src="../images/spacer.gif" width="67" height="1" border="0" alt="" /></td>
<td width="64"><img src="../images/spacer.gif" width="64" height="1" border="0" alt="" /></td>
<td width="143"><img src="../images/spacer.gif" width="143" height="1" border="0" alt="" /></td>
<td width="22"><img src="../images/spacer.gif" width="22" height="1" border="0" alt="" /></td>
<td width="24"><img src="../images/spacer.gif" width="24" height="1" border="0" alt="" /></td>
<td width="84"><img src="../images/spacer.gif" width="84" height="1" border="0" alt="" /></td>
<td width="172"><img src="../images/spacer.gif" width="172" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="8" bgcolor="#000000"><img src="../images/interior_logo.gif" alt="Treaty Oak Bank Logo" width="227" height="87" /></td>
<td colspan="3" valign="top" bgcolor="#000000" style="padding-left:5px" class="whiteTxt"><p><img src="../images/interior_slogan.gif" alt="Texas Native - Texas Strong" width="259" height="87" /></p></td>
</tr>
<tr>
<td colspan="2"><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c2','','../images/index_r2_c2_f2.gif',1)"><img name="index_r2_c2" src="../images/index_r2_c2.gif" width="81" height="32" border="0" id="index_r2_c2" alt="Home" /></a></td>
<td colspan="2"><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c4','','../images/index_r2_c4_f2.gif',1)"><img src="images/index_r2_c4@@(section=="business"?'_f2':'')@@.gif" alt="Business" name="index_r2_c4" width="125" height="32" border="0" id="index_r2_c4" onmouseover="MM_showMenu(window.mm_menu_0706152723_0,-81,34,null,'index_r2_c4')" @@(section=="business"?"<script>alert('hi there')</script>":""

<td colspan="2"><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c6','','../images/index_r2_c6_f2.gif',1)"><img name="index_r2_c6" src="images/index_r2_c6@@(section=="personal"?'_f2':'')@@.gif" width="131" height="32" border="0" id="index_r2_c6" alt="Personal" /></a></td>
<td><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c8','','../images/index_r2_c8_f2.gif',1)"><img name="index_r2_c8" src="images/index_r2_c8@@(section=="mortgage"?'_f2':'')@@.gif" width="143" height="32" border="0" id="index_r2_c8" alt="Mortgage" /></a></td>
<td colspan="3"><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c9','','../images/index_r2_c9_f2.gif',1)"><img name="index_r2_c9" src="images/index_r2_c9@@(section=="about"?'_f2':'')@@.gif" width="130" height="32" border="0" id="index_r2_c9" alt="About Us" /></a></td>
<td><a href="javascript:;" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r2_c12','','../images/index_r2_c12_f2.gif',1)"><img name="index_r2_c12" src="images/index_r2_c12@@(section=="locations"?'_f2':'')@@.gif" width="172" height="32" border="0" id="index_r2_c12" alt="Locations" /></a></td>
</tr>
<tr>
<td colspan="11" id="subLinks">@@(section)@@</td>
</tr>
<tr>
<td height="99" colspan="4" bgcolor="#888600"><form action="www.treatyoakbank.com/exchange.asp?postback=true" method="post" id="login" name="login">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0;padding:0;">
<tr>
<td align="right">SELECT:</td>
<td><select name="select" tabindex="1">
<option>Select Service</option>
<option value="persOnline">Personal Online</option>
<option value="busOnline">Business Online</option>
</select> </td>
</tr>
<tr>
<td align="right">User ID: </td>
<td><input name="UserID" type="text" id="UserID" /></td>
</tr>
<tr>
<td align="right">Password:</td>
<td><input name="Password" type="password" id="Password" /></td>
</tr>
<tr>
<td> </td>
<td><input name="" type="image" src="../images/login.gif" align="middle" border="0" style="width:60px;"/></td>
</tr>
</table>
</form></td>
<td colspan="7" rowspan="2" valign="top" bgcolor="#888600" style="padding:0;margin:0;"><img src="../images/about_image.jpg" width="576" height="141" /></td>
</tr>
<tr>
<td height="29" colspan="4" bgcolor="#888600"><ul class="loginInformation">
<li><a href="#">Business Online Information</a></li>
<li><a href="#">Personal Online Information </a></li>
</ul></td>
</tr>
<tr>
<td height="72" colspan="4" valign="top" bgcolor="#FFFFFF" id="leftNav">@@(section=="business"?'<ul>
<li><a href="#">Link1</a></li>
<li>link2</li>
<li><a href=www.google.com>link3</a></li>
<li>link4</li>
<li>link5</li>
<li>link6</li>
</ul>':'not business links'<img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>@@</td>
<td colspan="7" valign="top" id="content"><h1>This is a header </h1>
<h2>Small Business Checking </h2>
<h3>Small Business Checking </h3>
<p>This is some text and i this. Now is the time for all good men to come to the aid of their country. This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.</p>
<p>This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.</p>
<p>This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.</p>
<p>This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.This is some text and i this. Now is the time for all good men to come to the aid of their country.</p></td>
</tr>
<tr>
<td colspan="5" valign="top" class="intCopyright"><p>© 2006 Treaty Oak Bank </p>
<p class="middle"><a href="#" onclick="external_disclaimer('www.fdic.gov');return false">Member FDIC</a></p>
<p><a href="#" onclick="external_disclaimer('www.hud.gov');return false">Equal Housing Lender<img src="../images/int_ehl_logo.gif" alt="EHL" width="13" height="9" align="absmiddle" /></a> </p></td>
<td colspan="6" valign="top" bgcolor="c8cc7e" class="intFooterLinks"><ul>
<li><a href="#">EMPLOYMENT</a></li>
<li><a href="#">TERMS OF USE</a></li>
<li><a href="#">PRIVACY</a></li>
<li><a href="#">SITE MAP</a></li>
<li class="last"><a href="#">CONSUMER COMPLAINT NOTICE</a> </li>
</ul></td>
</tr>
</table>
</body></font id=code></pre id=code>
I appreciate any help!
Buddy Q