ragtek
10-09-2007, 10:00 PM
This is my little Add-On to add a threadpreview to the forumdisplay and the searchresults.
It doen't add any extraqueries, because the text comes direct from the "title-tag".
Result: on mouseover a "popup" opens with the text
A live preview can be seen here: http://www.developer-network.org/
Screenshot:
70851
Updates/Changelog:
10.10.2007 Version 1.1:
Released and added the preview to the searchresults
Installation:
Upload the files.
If you have installed tms (https://vborg.vbsupport.ru/showthread.php?t=152931) just install the add-on
Else: install the add-on and add to forumdisplay and search_results template before $footer this part:
<script type="text/javascript" src="clientscript/yui/yahoo.js"></script>
<script type="text/javascript" src="clientscript/yui/event-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/dom-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/container-min.js"></script>
<link type="text/css" rel="stylesheet" href="clientscript/yui/containerdev.css">
<script type="text/javascript" src="clientscript/ragtek_forumdisplay.js"></script>
for setting up the style:
open the container.css, search for: .yui-tt {
visibility:hidden;
position:absolute;
color:#FFFFCC;
background-color:#222222;
font-family:arial,helvetica,verdana,sans-serif;
padding:2px;
border:1px solid #FCC90D;
font:100% sans-serif;
width:400px;
}and edit this part:
color:#FFFFCC;background-color:#222222;border:1px solid #FCC90D;
It doen't add any extraqueries, because the text comes direct from the "title-tag".
Result: on mouseover a "popup" opens with the text
A live preview can be seen here: http://www.developer-network.org/
Screenshot:
70851
Updates/Changelog:
10.10.2007 Version 1.1:
Released and added the preview to the searchresults
Installation:
Upload the files.
If you have installed tms (https://vborg.vbsupport.ru/showthread.php?t=152931) just install the add-on
Else: install the add-on and add to forumdisplay and search_results template before $footer this part:
<script type="text/javascript" src="clientscript/yui/yahoo.js"></script>
<script type="text/javascript" src="clientscript/yui/event-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/dom-min.js" ></script>
<script type="text/javascript" src="clientscript/yui/container-min.js"></script>
<link type="text/css" rel="stylesheet" href="clientscript/yui/containerdev.css">
<script type="text/javascript" src="clientscript/ragtek_forumdisplay.js"></script>
for setting up the style:
open the container.css, search for: .yui-tt {
visibility:hidden;
position:absolute;
color:#FFFFCC;
background-color:#222222;
font-family:arial,helvetica,verdana,sans-serif;
padding:2px;
border:1px solid #FCC90D;
font:100% sans-serif;
width:400px;
}and edit this part:
color:#FFFFCC;background-color:#222222;border:1px solid #FCC90D;