We help IT Professionals succeed at work.
Get Started

Jquery Tools Scrollable - Focus on MouseOver

s8web
s8web asked
on
1,771 Views
Last Modified: 2012-05-08
I have implemented Jquery Scrollable http://flowplayer.org/tools/demos/scrollable/. I am using this flavor http://flowplayer.org/tools/demos/scrollable/site-navigation.htm. It's really cool, but I would like for the action to be on mouse over instead of click. I can't find this in the documention anywhere. I was hoping that someone has done this before.
<script>

$(document).ready(function() {

// main vertical scroll
$("#main").scrollable({

	// basic settings
	vertical: true,
	size: 1,
	clickable: false,

	// up/down keys will always control this scrollable
	keyboard: 'static',

	// assign left/right keys to the actively viewed scrollable
	onSeek: function(event, i) {
		horizontal.scrollable(i).focus();
	}
	
// main navigator (thumbnail images)
}).navigator("#main_navi");

// horizontal scrollables. each one is circular and has its own navigator instance
var horizontal = $(".scrollable").scrollable({size: 1}).circular().navigator(".navi");


// when page loads setup keyboard focus on the first horzontal scrollable
horizontal.eq(0).scrollable().focus();

});

Open in new window

Comment
Watch Question
Commented:
This problem has been solved!
Unlock 2 Answers and 3 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE