Sidebar: Show full title in title=""

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2008, 08:44 AM
Pligg Donor
Pligg Version: 9.9.0
Pligg Template: Custom
 
Join Date: Dec 2007
Posts: 40
In sidebar_stories.tpl i have:

Code:
<div class="sstories">
<span class="count_total"><a href="{$story_url}">{$link_shakebox_votes}</a></span>
</div>
<a href="{$story_url}" class="switchurl">{$title_short}</a>
And in sidebar_stories_u.php and sidebar_stories.php i have:

Code:
$ss->TitleLengthLimit = 28;
What i want is to have a title text (when you hover the mouse over the title) that do not get truncated, but shows the complete title. But when i do the following, the {$title_short} in the HTML title of course get truncated:

Code:
<div class="sstories">
<span class="count_total"><a href="{$story_url}" title="{$title_short}">{$link_shakebox_votes}</a></span>
</div>
<a href="{$story_url}" class="switchurl" title="{$title_short}">{$title_short}</a>
What else then {$title_short} can i use in the HTML title="" so that it don't get truncated? (The code in red color is the title that i don't want to get truncated.)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sidebar stories - both short and long title needed Ghool Questions and Comments 1 10-20-2008 03:23 PM
how to completely REMOVE links from the title in the full story page? VictorML Questions and Comments 5 09-18-2008 09:26 AM
How to show external RSS feed in sidebar? longcountdown Questions and Comments 0 07-17-2008 10:57 AM
Show Top Stories by Category in Sidebar - A How To TrailofDead Questions and Comments 0 04-23-2007 09:30 PM
How show a short content in homepage,and show the full content in story page? iweb Questions and Comments 5 05-07-2006 08:22 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development