Forums / Cotonti / Skins / Link control

fedai
#1 2009-02-18 00:46
your skin to:
header.tpl open:
search:
<link rel="stylesheet...
and add:
<script type="text/javascript" src="skins/yourskin/js/jquery.js"></script>
<script type="text/javascript" src="skins/yourskin/js/jquery.linkControl.js"></script>

<script type="text/javascript">
	$(document).ready(function(){
		// alert ('jQuery running');
		
		$('a.inline').linkControl({inline:true});
		$('a').linkControl({overlay:true, padding:5, bgColor:'#fff', borderColor:'#333'});
	});
</script>
(edit: skins/yourskin/...)
download
Screenshot:
"peace in the homeland, peace in the world" K.ATATÜRK

personal blog:
http://www.sametbal.net

Dit bericht is bewerkt door fedai (2009-02-18 00:54, 15 jaren ago)
diablo
#2 2009-02-18 06:56
since everyone using a scroll mouse and tabbed browser this feature seems useless. just mid click the link and u get your new tab.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
jslowik
#3 2009-02-18 07:14
# diablo : since everyone using a scroll mouse and tabbed browser this feature seems useless. just mid click the link and u get your new tab.
I wouldn't use the word useless. But what diablo says has much merit. Tabbed browsing is the thing these days. If people click a link they'll either fully intend to navigate away from the page, or they'll just open the link in new tab.

Great idea though!
m_ogz
#4 2009-02-18 20:21
I like this idea too. Every computer don't have scroll also.
Ne hasta bekler sabahı, ne taze ölüyü mezar, ne de şeytan bir günahı, seni beklediğim kadar;<br /><br />
Geçti istemem gelmeni, yoklugunda buldum seni, bırak vehmimde gölgeni, gelme artık neye yarar...