- $(this).mouseover
- (
- function()
- {
- $(this).find("div.ui-innertable-header").addClass('ui-state-hover');
- $(this).find("div.ui-innertable-content").addClass('ui-state-hover');
- $(this).find("div.imageButton").mouseover
- (
- function()
- {
- // yayaa this is NOT flash *stfu*
- $(this).find("div.resizeButton").fadeIn().mouseover
- (
- function()
- {
- $(this).stop(true).css({'background-color':'#f00'});
- }
- ).click
- (
- function()
- {
- location.href = $(this).parent().find('a').attr('href');
- return false;
- }
- );
- }
- );
- ;
- }
- ).mouseout
- (
- function()
- {
- $(this).removeClass('mouse_pointer');
- $(this).find("div.ui-innertable-header").removeClass('ui-state-hover');
- $(this).find("div.ui-innertable-content").removeClass('ui-state-hover');
- $(this).find("div.imageButton").mouseout
- (
- function()
- {
- $(this).find("div.resizeButton").fadeOut().mouseout
- (
- function()
- {
- $(this).stop(true).css({'background-color':'#fff'});
- }
- );
- }
- );
- }
- )
jquery :(
By: fruffl | Date: Feb 16 2010 13:42 | Format: None | Expires: never | Size: 1.38 KB | Hits: 861
Latest pastes
1 days ago
3 days ago
3 days ago
4 days ago
5 days ago