/* Javascript Document */
/*
	created by: Klaus Hoermann <klaus@3b-solutions.net>
	created for: Outlawzz
	Client: Haus St. Florian in Serfaus
	Description: Tooltip call for the QTip JQuery Plugin
	Copyright: (C) 3B-Solutions Klaus Hoermann 2010
*/

// jQuery's noConflict mode is used instead of the $
var J = jQuery.noConflict();

jQuery(document).ready(function()
{
	//-------------------------------------------------------------------
	// Define qtip style 
	J.fn.qtip.styles.florianstyle = 
	{
		background: "#333333",
		color:"#93d5f2",
		"font-weight":"bold",
		"font-size":"12px",
		border:
		{
			width:2,
			radius:0,
			color:"#385ea4"
		},
		tip: true
	};
	
	// Call QTip tooltip JavaScript	on title attributes of anchor tags
	J("a[title]").qtip(
	{
		style:"florianstyle",
		position:
		{
			target: "mouse",
			corner:
			{
				target: "bottomMiddle",
				tooltip: "topMiddle"
			}
		}
	})
		
	//-------------------------------------------------------------------
	// Call QTip tooltip JavaScript	on alt attributes of image tags
	// J("img[title]").
});
