﻿/*!
 * jQuery HinaWorld JavaScript Library v1.0
 * Coded by Andrea Fusco
 *

 */
$(document).ready(function() {			
		$('img.menuitem1').qtip({
  			content: '<p class="texttips"><img src="images/menutips/home.jpg" align="left" class="imagetips"><span class="titletips">Home Page</span><br><br>The main section of the site with informations and news about HinaWorld and Manga-Anime series.<br><br><a href="http://www.hinaworld.it" class="altrenews">Go to Home</a></p>',
  			container: $('img.menuitem1'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem2').qtip({
  			content: '<p class="texttips"><img src="images/menutips/lovehina.jpg" align="left" class="imagetips"><span class="titletips">Love Hina</span><br><br>The first handsome work of Ken Akamatsu which had consacrated his mangaka career in Japan. Keitaro is a student who desperately try to enter at Todai, the most famous University of Tokyo. After another fail he leave his house for going to study at granny\'s residence. But in the meantime Hinata Sou is being a female dormitory...</p><p class="altrenews"><a href="http://lovehina.hinaworld.it" >Go to Love Hina</a></p>',
  			container: $('img.menuitem2'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem3').qtip({
  			content: '<p class="texttips"><img src="images/menutips/negima.jpg" align="left" class="imagetips"><span class="titletips">Mahou Sensei<br>Negima</span><br><br>After the success of Love Hina, Ken Akamatsu consolidate his mangaka fame with another best seller series. Negi Springfield is a young english wizard in the age of 10 which goes to Japan for working as a teacher, this is his apprenticeship for being a real mage...</p><p class="altrenews"><a href="http://negima.hinaworld.it">Go to Negima</a></p>',
  			container: $('img.menuitem3'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem4').qtip({
  			content: '<p class="texttips"><img src="images/menutips/mysanta.jpg" align="left" class="imagetips"><span class="titletips">Itsudatte<br>My Santa</span><br><br>A Christmas short story published on Shonen Magazine in 1995 which in 2006 is beaing an 2 OAV animated series. The main character is Santa, a young boy which passed every Christmas home alone...</p><p class="altrenews"><a href="http://mysanta.hinaworld.it">Go to MySanta</a></p>',
  			container: $('img.menuitem4'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem5').qtip({
  			content: '<p class="texttips"><img src="images/menutips/ailove.jpg" align="left" class="imagetips"><span class="titletips">Ai ga Tomaranai</span><br><br>The first work serialized by Ken Akamatsu. Hitoshi Koube is a young student who have a great passion for computer programming but he is very unlucky with the girls...</p><p class="altrenews"><a href="http://ailove.hinaworld.it">Go to AI Love</a></p>',
  			container: $('img.menuitem5'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem6').qtip({
  			content: '<p class="texttips"><span class="titletips">HinaWorld Community</span><br><br>Here you can find some other sections which aren\'t on Ken Akamatsu works. Click on the images for going to sections:<br><br><img src="images/menutips/chrno.jpg" title="Chrno Crusade" align="left">&nbsp;&nbsp;<a href="http://chrnocrusade.hinaworld.it">Chrno Crusade</a><br><br><img src="images/menutips/fmp.jpg" title="Full Metal Panic" align="left"><br>&nbsp;&nbsp;<a href="http://fullmetalpanic.hinaworld.it">Full Metal<br>&nbsp;&nbsp;Panic</a></p>',
  			container: $('img.menuitem7'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});
		
		$('img.menuitem7').qtip({
  			content: '<p class="texttips"><img src="images/menutips/manga.jpg" align="left" class="imagetips"><span class="titletips">Scan DB</span><br><br>This is the collection of my scanlations. Unfortunately is Italian Only language.</p><p class="altrenews"><a href="http://scandb.hinaworld.it">Go to ScanDB</a></p>',
  			container: $('img.menuitem7'),
  			position: {
			      corner: {
			         target: 'bottomLeft',
			         tooltip: 'topRight'
			      },
			      adjust: { x: 20 }
			  },
			 	width: 150,
			 	style: {
			 			border: {
								width: 2,
								radius: 5,
								color: '#FC7A56'
						},
				 		background: '#FFFFFF',
				 		tip: {
			 			corner: 'topRight'
			 			}
			 	},
		    show: 'mouseover',
		    hide: { when: 'mouseout', fixed: true }
		});

});