Difference between revisions of "User:Jplayer"

From RuneGlory
Jump to: navigation, search
Line 72: Line 72:
  
 
$.each( $( "div.index-item" ), function() {
 
$.each( $( "div.index-item" ), function() {
$( this ).click( function() {
+
 
window.location = $( this ).find( "a" ).attr( "href" );
+
$( this ).wrap( "<a></a>" );
return false;
+
var href = $( this ).find( "a" ).attr( "href" );
});
+
$( this ).parent().attr( "href", href );
 +
 
 
});
 
});
  

Revision as of 03:36, 20 March 2016

Hello, this is just a preview.

- Jplayer