This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
556
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 09:50 PM »Secondly, you could just add a style rule to that element on its own:Code: [Select] tooltipclick
{
cursor: pointer;
}
557
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 09:15 PM »
'kay, don't kill me.. :P
Just a curiosity: what if I want to have the "hand cursor" appear (as it was a link)?
I tried adding href="#" to <a id="tooltipclick"> but doing this it doesn't work anymore (and with href="" of course it reloads the page)..
Just a curiosity: what if I want to have the "hand cursor" appear (as it was a link)?
I tried adding href="#" to <a id="tooltipclick"> but doing this it doesn't work anymore (and with href="" of course it reloads the page)..
558
Plugins / Re: Which next? [Poll]
« on March 30th, 2012, 07:22 PM »
I replied 'something else' because I was thinking about a wiki system.. :cool:
559
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 07:16 PM »
Oh, instead of jQuery('#tooltipclick').click{ your code is: jQuery('#tooltipclick').click(function(){
And works! ;)
And works! ;)
560
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 07:08 PM »
http://[url]http://compagniaoltreconfine.com/beta/[/url] (but it has the old working code without document.ready), here the interested parts:
Code: [Select]
Don't look the horrible css.. I'll rewrite 'em later.. :niark:
If I put the new function instead of this it doesn't work..
<html>
<head>
<script src="http://compagniaoltreconfine.com/beta/wp-content/themes/compagniaoltreconfine/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<div id="tooltip" style="display:none;text-align:right;position:absolute;width:1000px"><div id="dentrotooltip" style="float:right;width:auto;padding:12px;color:white;margin-top:-36px;background:none repeat scroll 0 0 rgba(0, 0, 0, 0.8);box-shadow:1px 1px 6px rgba(0, 0, 0, 0.5)">graphic design: <a href="http://drlm.it">drlm.it</a><br>web design: <a href="http://lorenzoraffio.com">lorenzoraffio.com</a></div></div>
<div id="barrasotto"></div>
<p style="margin-top:5px;text-align:right">
<a id="tooltipclick" style="color:darkred;border-bottom:1px dotted;font-size:11px;font-weight:bold">Credits</a>
</p>
<script>
jQuery('#tooltipclick').click(function(){
jQuery('#tooltip').toggle();
});
</script>
</body>
</html>Don't look the horrible css.. I'll rewrite 'em later.. :niark:
If I put the new function instead of this it doesn't work..
561
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 07:03 PM »
Ehm.. still nothing.. :blush:
562
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 06:59 PM »
Ehm.. doesn't work now... :blush: :P
A typo?
A typo?
563
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 06:48 PM »
ok! I used 'jQuery' because in wordpress it runs in 'no conflict' mode and the shortcut doesn't work..
This would be ok then? :)
Code: [Select]
This would be ok then? :)
jQuery(function()
{
jQuery('#tooltipclick').click{
jQuery('#tooltip').toggle();
});564
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 06:45 PM »
Thanks! :)
So the function rewritten would be something like:
Code: [Select]
?
So the function rewritten would be something like:
$(function()
{
jQuery('#tooltipclick').click{
jQuery('#tooltip').toggle();
});?
565
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 06:00 PM »
Done! :D :D
I really like the tooltip BTW! ^_^
I really like the tooltip BTW! ^_^
566
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 05:44 PM »
Damn IE..
I'm on Win 8 and even IE 10 doesn't like that syntax. I tried with opacity: 0.5; filter: alpha(opacity = 50); but it doesn't apply to the background..
I'm on Win 8 and even IE 10 doesn't like that syntax. I tried with opacity: 0.5; filter: alpha(opacity = 50); but it doesn't apply to the background..
567
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 05:36 PM »
yeah, now it works even in IE & Safari! :))
The only problem is, why IE doesn't like:
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8) ?
The only problem is, why IE doesn't like:
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8) ?
568
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 05:31 PM »
Now doesn't work even in Firefox and Chrome.. wtf..
EDIT: Ok, the script needs to be positioned after the calling <a>
EDIT: Ok, the script needs to be positioned after the calling <a>
569
Off-topic / Re: Hackers could decapitate the internet soon
« on March 30th, 2012, 05:17 PM »
Uhm, yeah maybe with a serious dyslexia.. :P
570
Off-topic / Re: Hackers could decapitate the internet soon
« on March 30th, 2012, 05:10 PM »
Anarator :whistle: