I have this piece of code that's problematic and I am not sure what is wrong with it.
The <%= theOnlink %> variable contains a url. Any ideas on what maybe wrong?
Thanks,
Todd
Code:
<% if (theOnlink.length() != 0) { %>
<a href="<%= theOnlink %>" + ' target="_blank"'
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('linkToContent<%=loopNumber%>','','images/linktocontent_press.gif',1)"><img name="linkToContent<%=loopNumber%>" src="images/linktocontent_off" width="90" height="28" border="0" alt="<%= resBundle.getString("linkcontent_button") %>"></a>
<% } %>
The <%= theOnlink %> variable contains a url. Any ideas on what maybe wrong?
Thanks,
Todd