jQuery make variable out of links used in plugin -


this weird one, apologize.

i'm working soundcloud's custom player , need make variable out of src of each link plugin initiated on. i've been digging around source , can't find takes links in , starts manipulating them. here source>

so clear, there bunch of links on page:

<a class="sc" href="link/to/soundcloud/">yeah!</a> 

the plugin initialized with:

$('a.sc').scplayer(); 

i'd make variable out of each of links .attr('href'); use in special little gui piece i'm adding within guts of plugin. essentially, i'm building url make pop-out window , need give each instance of $player it's own link correspond subfolder on site.

unfortunately, 1 digging around source , lot of techniques/methods involved on head. it's worth, did try myself long while before decided ask here. you'll find on line 134 player's source set. in html5 driver instead of flash one.. it's not quite ideal on right track.

where on earth each links href brought in , manipulated? driving me crazy!

im not sure if understand correctly, me seems tracks processed on line 523 within $.each function. looks there object - track has member named permalink_url holds uri.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -