Hello all,
First time posting here. I have a few questions.
With the Hyperlink On/Off Switch Mod if I am giving a Link Owner the option of adding a graphic to their listing how would I write the <if statement> so if the owner has a graphic and it is not linked it would display properly, still have the graphic, but not linked?
Also if they do not have a graphic it would show the text either linked <if isLinked = yes> no link <if isLinked = no>
Is it possible to write <if statements> like this?
<%if isLinked%> and <%if Graphic%> then
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank"><img src="<%Graphic%>" width="<%Gwidth%>" height="<%Gheight%>" alt="<%Title%>" border="0"></a>
<%ifnot isLinked%> and <%if Graphic%> then
<img src="<%Graphic%>" width="<%Gwidth%>" height="<%Gheight%>" alt="<%Title%>" border="0"><%endif%>
<%if isLinked%> and <%ifnot Graphic%> then
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"target="_Blank"><%Title%></a><%endif%>
<%ifnot isLinked%><%Title%><%endif%>
What I am trying to find out is can you have multiple <if statements> together?
Larry
First time posting here. I have a few questions.
With the Hyperlink On/Off Switch Mod if I am giving a Link Owner the option of adding a graphic to their listing how would I write the <if statement> so if the owner has a graphic and it is not linked it would display properly, still have the graphic, but not linked?
Also if they do not have a graphic it would show the text either linked <if isLinked = yes> no link <if isLinked = no>
Is it possible to write <if statements> like this?
<%if isLinked%> and <%if Graphic%> then
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank"><img src="<%Graphic%>" width="<%Gwidth%>" height="<%Gheight%>" alt="<%Title%>" border="0"></a>
<%ifnot isLinked%> and <%if Graphic%> then
<img src="<%Graphic%>" width="<%Gwidth%>" height="<%Gheight%>" alt="<%Title%>" border="0"><%endif%>
<%if isLinked%> and <%ifnot Graphic%> then
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"target="_Blank"><%Title%></a><%endif%>
<%ifnot isLinked%><%Title%><%endif%>
What I am trying to find out is can you have multiple <if statements> together?
Larry