Home > Article > CMS Tutorial > How to use DEDECMS to move the mouse to the title to display the complete title
How does DEDECMS move the mouse to the title to display the complete title?
Dream Weaver DEDECMS limits the title length and moves the mouse to the title to display the complete title
Recommended learning: Dream Weaver cms
DEDECMS has If the title limit character is very short, moving the mouse over the title will display the incomplete title anchor text. In this case, we can change the call tag of the anchor text. Let’s see the specific operation:
Our normal The code for calling the tag is as follows:
{dede:arclist titlelen=""40"" orderby=pubdate} <a href="[field:arcurl/]" title="[field:title/]">[field:title/]</a> {/dede:arclist}
The code marked in red is the key. The meaning of the code marked in red is: calling the title hyperlink, title="[field:title/]" means the title output of the call For title information, we replace this with the following code:
{dede:arclist titlelen=""40"" orderby=pubdate} <a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a> {/dede:arclist}
Pay attention to the code marked in red. In fact, the entire code just replaces title="[field:title/]" with title="[ field:fulltitle/]" is fine. Now you can preview whether the title displayed in this way can fully display the complete title anchor text information.
The above is the detailed content of How to use DEDECMS to move the mouse to the title to display the complete title. For more information, please follow other related articles on the PHP Chinese website!