Page 1 of 1
[SOLVED]News Module mouseover/tooltip feature request
Posted: Fri Jan 18, 2008 5:51 pm
by dvanoss
I've been trying to find a way to implement an option within a news template where a user can mouseover the news title ({$entry->titlelink}) and popup the summary information of the article in a "tooltip" style window, such as is used by
Netflix and other sites. Any thoughts?
Re: News Module mouseover/tooltip feature request
Posted: Fri Jan 18, 2008 6:08 pm
by calguy1000
try {$entry|print_r} there should be a field there for the title without a link.... then you could do whatever scripting you want.
Re: News Module mouseover/tooltip feature request
Posted: Wed Jan 23, 2008 11:00 pm
by dvanoss
I wasn't sure how to get at the "titlelink} so I ended up adding an image icon with the script in the link for that with the summary of the news article displaying in the tooltip:
summary})">
Unfortunately, if there are any links or images in the news content it blows the script and gives errors. Still looking for a better alternative that would show a pop-up baloon with a summary and a "details" link to take you to the full news content page for that article.
Re: News Module mouseover/tooltip feature request
Posted: Mon Dec 15, 2008 5:56 pm
by dvanoss
Found a better method which you can see under the left column of news here:
http://www.parkviewchurch.org. Hover over the right icon and the content of the Summary Field of the news article pops up.
I installed CSS Tooltips
http://www.cssplay.co.uk/menu/balloons.html, modified some of the stylesheet code, and then created a custom Summary Template for display of the News which included the code to call the tooltip. It allowed me to also include a "MORE" link within the tooltip to go to News Detail for that article, as well as to include any links or images in the tooltip.