2010-05-20, 10:36
#1
__________________
Senast redigerad av PanpizzAn 2010-05-20 kl. 10:38.
Senast redigerad av PanpizzAn 2010-05-20 kl. 10:38.
// Shows a popup box under menu links
$(document).ready(function(){
$(".menu a").append("<em></em>");
$(".menu a").hover(function() {
$(this).find("em").animate({opacity: "show", top: "-75"}, "slow");
var hoverText = $(this).attr("title");
$(this).find("em").text(hoverText);
}, function() {
$(this).find("em").animate({opacity: "hide", top: "-85"}, "fast");
});
});
<a href="http://www.picmeeting.com/kontakta-mig/" [b]title="Kontakta mig"[/b]>Kontakta mig<em style="display: none; top: -85px;">Kontakta mig</em></a>
<a href="http://www.picmeeting.com/kontakta-mig/" [b]alt="Kontakta mig"[/b]>Kontakta mig<em style="display: none; top: -85px;">Kontakta mig</em></a>
<script type="text/javascript">
// Create the tooltips only on document load
$(document).ready(function()
{
// By suppling no content attribute, the library uses each elements title attribute by default
$('#content a[href][title]').qtip({
content: {
text: false // Use each elements title attribute
},
style: 'cream' // Give it some style
});
// NOTE: You can even omit all options and simply replace the regular title tooltips like so:
// $('#content a[href]').qtip();
});
</script>
$('a[title]').qtip({ style: { name: 'cream', tip: true } })
// Shows a popup box under menu links
$(document).ready(function(){
$(".menu a").append("<em></em>");
$(".menu a").hover(function() {
$(this).find("em").animate({opacity: "show", top: "-75"}, "slow");
var hoverText = $(this).attr("alt");
$(this).find("em").text(hoverText);
}, function() {
$(this).find("em").animate({opacity: "hide", top: "-85"}, "fast");
});
});
echo "<li class=\"rss\"><a href=\"" . thesis_feed_url() . "\" [b]title[/b]=\"$feed_title\"$feed_nofollow>" . trim(wptexturize(thesis_feed_link_text())) . "</a></li>\n"; #wp
echo "<li class=\"rss\"><a href=\"" . thesis_feed_url() . "\" [b]alt[/b]=\"$feed_title\"$feed_nofollow>" . trim(wptexturize(thesis_feed_link_text())) . "</a></li>\n"; #wp
echo "<li$tab><a href=\"" . get_page_link($nav_item['id']) . "\" [b]title[/b]=\"$title\">$link_text</a></li>\n"; #wp
echo "<li$tab><a href=\"" . get_page_link($nav_item['id']) . "\" [b]alt[/b]=\"$title\">$link_text</a></li>\n"; #wp
Flashback finansieras genom donationer från våra medlemmar och besökare. Det är med hjälp av dig vi kan fortsätta erbjuda en fri samhällsdebatt. Tack för ditt stöd!
Swish: 123 536 99 96 Bankgiro: 211-4106
Flashback finansieras genom donationer från våra medlemmar och besökare. Det är med hjälp av dig vi kan fortsätta erbjuda en fri samhällsdebatt. Tack för ditt stöd!
Swish: 123 536 99 96 Bankgiro: 211-4106