Prev Topic | Next Topic
| Author |
Posts
(Read 16021 times)
|
|
|
Doofy/Smokey Code
Saturday, January 24 2009 @ 02:10 PM CST
After seeing a lot of confusion over adding some of our code, I thought I'd simplify by putting all the code options supplied by SmokeyVW and me right here in this thread, and putting a little explanation after each. The codes are a la carte, so to speak, so adding one will not give you every single feature. Accordingly, you don't want to add the same line of code more than once, or you might get unexpected results. To add the code, simply copy the yellow, highlighted HTML and add it to your bio.
Doofy Code <script type="text/javascript" language="javascript" src="http://mysite.verizon.net/doofymusic/newComments.js"></script> - This is the code that makes everyone's profile show color-coded comment dates. Comments made on the current date are red and on fire. As days pass, the color "cools" off, going from red to blue, and finally back to normal. THIS CODE IS NEW AND NOW WORKS FOR THE TIME BEING. ALSO, THIS LINE SHOULD BE PUT IN BEFORE SMOKEY'S ALBUM CODE. <script type="text/javascript" language="javascript" src="http://mysite.verizon.net/doofymusic/newFavorites.js"></script> - This is the code that takes your favorite songs list, makes it invisible, and re-organizes it into a drop-down list. Also, it provides a search box so you can find the exact song you're looking for. Some of you have 1000+ favorite songs and scrolling through them is probaby not the best way to get to that song you know is in there somewhere. SmokeyVW Code <script type="text/javascript" language="javascript" src="http://mysite.verizon.net/doofymusic/smokey/mjSongSort.js"></script> - Smokey created a really cool script that makes your song list sortable, by name, vote, ht count, etc. All you need to do is click on the title of the column and it all sorts. Clicking the same title again swaps between ascending and descending order. <script type="text/javascript" language="javascript" src="http://mysite.verizon.net/doofymusic/smokey/mjAlbums.js"></script> - This script will actually sort your songs by "albums." Here is the follow-up code necessary for albums. <span id="albums" title=" album Hearing Colors songs 42823 42833 42840 42856 42858 42859 42860 album 32 Degrees of Freedom songs 40317 40990 41657 39048 40509 42580 39272 "></span> - As a quick explanation, the words directly after "album" will be your album name. The numbers following the word "songs" are the actual songs in that album. Where do the numbers come from, you ask? Mouse over any of your songs and you'll see that they have an ID#.<script type="text/javascript" language="javascript" src="http://mysite.verizon.net/doofymusic/smokey/mjBackground.js"></script> - This script makes most of the divisions of your page transparent. If that's too much transparency for your tastes, you can set each division to have a background color instead. Just add this to the end of your bio: <span id="mjBackground" title="Songs white FavoriteMacJammers white"></span> Here's a list of all the divisions. Just string them all inside the title as shown above. Colors can be regular names, or in HTML style like #ccffcc. Bio white Songs yellow FavoriteSongs white FavoriteMacJammers yellow Fans skyblue MusicBackground pink MusicSkills pink MusicHardware bbffbb MusicSoftware white Keywords red Past30Comments transparent The background behind your bio and the top portion with your name, Contact, etc. is set like this: Stats blue The background behind everything in the main portion of the page is set like this: Profile gray You can also set your background picture like this: <span id="mjBackground" title="Songs white FavoriteMacJammers white PageBackgroundhttp://i228.photobucket.com/albums/ee225/smokeyvw/ring4.jpg"></span> This sets your page background picture: PageBackgroundhttp://i228.photobucket.com/albums/ee225/smokeyvw/ring4.jpg Or you can set your page background color like this: PageBackgroundColor skyblue I have an ambitious goal of creating a console that will allow you to look at and sort things on the fly. Not sure if it will ever actually get finished, but you can see an example of the very beginnings of such a console - it says "console" and provides a close button - on my profile page. Wait about 10 seconds and then double-click anywhere on my page (well, preferably not on a link) and you will see the "console" appear. If I can make it useful, I'll share it with everyone. I hope this helps. All edits to the code in this thread will be done right here, not later in the thread, to keep in consistent. I said don't disturb me when I'm cleaning my room! |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 02:13 PM CST
THANKS DOOFY - it's great to have this all in one place with explanations!
my latest: "Blind Love (Seeing Heart)-Orchestral Version" |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 02:28 PM CST
Thanks for doing this, man. Very cool and much appreciated. Cheers. Peace.
|
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 02:28 PM CST
Thank you, thank you, thank you. This is what I was hoping for was a place to get all the little trick codes at once. U da man Doofy.
Ed Music is the master link in the chain of the tribes of mankind ! SloParts, March 21, 2008 |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 03:00 PM CST
Thank you Doofy for spelling it all out for us!
Great job.
Yes, there is extra stuff. The details are here: http://macjams.com/forum/viewtopic.php?forum=4&showtopic=135940 |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 03:04 PM CST
Thank you so much... I always wondered how everyone made their sites nice and tidy!
|
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 03:35 PM CST
I say we need to promote Doofy to Sheriff. That was so generous and I am grateful for the 'splanation. I may have enough courage to try one or two. From my heart, my thanks.
Better to remain silent and be thought a fool than to speak out and remove all doubt. Abraham Lincoln |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 04:05 PM CST
you guys are friggin cool
|
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 09:54 PM CST
It has been on my mental 'to do' list to ask for these, so I offer my most heartfelt thanks for the post.
These codes rock, and I appreciate the gesture greatly. Thanks much, SJ |
||
|
Re:Doofy/Smokey Code
Saturday, January 24 2009 @ 11:24 PM CST
Hi PD! I updated the first post to explain how the albums work. There is extra code needed (which has been added to that post). I hope it helps. I said don't disturb me when I'm cleaning my room! |







Mouse over any of your songs and you'll see that they have an ID#.






