ForumsnerdyA CSS question

This topic has 2 voices, contains 2 replies, and was last updated by  kturet 1242 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
September 11, 2008 at 7:55 pm #6878

kturet

Brad:

Your site remains an inspiration for its creative coding, as well as its novel notions for distributing original music.

Now, if you don’t mind answering a nosy CSS design question, how did you selectively prevent the delicious music player (powered by javascript and flash) from inserting its play icon before your download links on the music page?

I’m referring to the links on the right side of the column, where the text reads “info | download”.

Thanks, and best of luck with the new album!

September 11, 2008 at 8:43 pm #6879

Brad

Oh I modified the Javascript. If you download this:

http://www.bradsucks.net/js/playtagger.js

You’ll see I modified it so that only hrefs that I specify rel=”mp3″ in show the play button. So the code is:

<a href="http://blah.com/blah.mp3&quot; rel="mp3">whatever!</a>

I found it just gave me a bit more control.

September 12, 2008 at 7:51 pm #6880

kturet

Thanks for that!

I see the edit lets you place a download link where you want it, without the player doing its thing.

I’ve added the delicious player to my site, with a little extra CSS to identify mp3s by extension:

turetzkysyndrome.com

Viewing 3 posts - 1 through 3 (of 3 total)

ForumsnerdyA CSS question

You must be logged in to reply to this topic.