Answer the question
In order to leave comments, you need to log in
Correct operation of the logo on the pages of the site as a link to the main page?
The site uses the following code to check whether the call is from the main page of the site or not:
<!--#if expr="$DOCUMENT_URI=/^\/index.shtml/" -->
<img src="/pic/logo.gif" alt="сайт">
<!--#else -->
<a href="/index.shtml"><img src="/pic/logo.gif" alt="сайт [переход на главную]" title="сайт [переход на главную]"></a>
<!--#endif -->
Answer the question
In order to leave comments, you need to log in
m.b.,
<If "%{DOCUMENT_URI} == m#^/index.shtml$#">
<img...>
<Else>
<a href="/index.shtml"><img...</a>
</If>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question