Jump to content

Quick Jquery Question

What do i need to call jquery to do

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Quick Jquery Question What do i need to call jquery to do Rate Topic: -----

#1 User is offline   Steven Gardner 

  • W.R. Corporal
  • Group: Members
  • Posts: 160
  • Joined: 17-September 07
  • Gender:Male
  • Location:Fife, Scotland

Posted 12 June 2008 - 04:34 PM

I am at the stage were the jquery is doing a lovely job Thanks to Catalyst. I now want a little text box to assist the mouse icon as a hover over each image (like the alt description).

I dont know what to ask of jquery to create a small box when hovering with text.
My code so far
<script type="text/javascript">

	$(document).ready(function(){
		$(".Photo1").mouseover(function() {$(".Photo2,.Photo3").stop().fadeTo(500, 0.6);});
		$(".Photo1").mouseout(function() {$(".Photo2,.Photo3").stop().fadeTo(500, 1.0);});
		$(".Photo2").mouseover(function() {$(".Photo1,.Photo3").stop().fadeTo(500, 0.6);});
		$(".Photo2").mouseout(function() {$(".Photo1,.Photo3").stop().fadeTo(500, 1.0);});
		$(".Photo3").mouseover(function() {$(".Photo2,.Photo1").stop().fadeTo(500, 0.6);});
		$(".Photo3").mouseout(function() {$(".Photo2,.Photo1").stop().fadeTo(500, 1.0);});
		
		$(".Photo1").mouseover(function() {
			});
	});
</script>

This post has been edited by Steven Gardner: 12 June 2008 - 04:46 PM

0

#2 User is offline   Catalyst 

  • Codesmith
  • Group: Administrators
  • Posts: 1,049
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 12 June 2008 - 07:04 PM

Could you like to an example of a site that has something like that? Just not sure I know what effect you're looking for...

Is it something like this?
http://codylindley.c...jquery-tool-tip (demo)
http://15daysofjquer...ry-tooltips/21/ (script)
0

#3 User is offline   Catalyst 

  • Codesmith
  • Group: Administrators
  • Posts: 1,049
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 12 June 2008 - 07:07 PM

And another one: http://bassistance.d...plugin-tooltip/
0

#4 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 13 June 2008 - 06:03 AM

View PostCatalyst, on Jun 12 2008, 08:07 PM, said:


I personally used this one, noted by Catalyst, over on my own business site: http://www.bostonwebstudio.com/ - roll over the tiny icons at the bottom of the page...
0

#5 User is offline   Steven Gardner 

  • W.R. Corporal
  • Group: Members
  • Posts: 160
  • Joined: 17-September 07
  • Gender:Male
  • Location:Fife, Scotland

Posted 13 June 2008 - 06:06 AM

Perfect Cheers again Catalyst
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users