Simple Machine Codes
April 20, 2024, 02:14:09 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

MC Radio V2

Pages: [1]   Go Down
  Print  
Author Topic: MC Radio V2  (Read 973 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 15, 2007, 01:42:26 pm »

I origninaly made this code for Invisionfree Forum.  And I decided to do transefer it to SMF.  So now it is.  I hope you like it!

Name of Code: MC Radio V2
Description: This is a shorter and much easier code than the first MC Radio.  Much easier to install, and shorter...and more stations

Modifications:
--Shorter Code
--More Stations
--Hide/Show Button
--Whichever option you choose from the Drop-Down Menu, the Description and the Genre will change...
--You may take off radio stations that you don't like, then you can shorten it...That is why I didn't go ahead and shorten the code.


Installing
This code goes in Manage Styles-->Edit Header/Footer--> You can put it in the Header or Footer...I prefer the Footer.

Notice
DO NOT REMOVE THE COPYRIGHT!!!

Code:
<!--MC Radio V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/scripts/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide MC Radio]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"><div class='catbg2'>MC Radio V2</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="23%">
<b>Listen to </b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, genre, 'textcontainer1')">
<option selected value="http://www.1club.fm/clubfm_media/v42.aspx?station=activex" target="newwin">Active Radio X</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=modernrock" target="newwin">Modern Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicrock" target="newwin">102 Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hairband">Hair Band Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicalt-dude" target="newwin">Alternative Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">House of Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=techno" target="newwin">Techno Club</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin"> Gruvsonic Hard Dance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=trance" target="newwin">Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=rnb" target="newwin">R&B Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=power" target="newwin">Old School Rap</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=breakbeat" target="newwin">70's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=goapsy" target="newwin">80's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=ibiza" target="newwin">90's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hitmusic" target="newwin">Channel 1</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vradio" target="newwin">Variety Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vybe" target="newwin">70's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">80's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin">90's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hkcountry" target="newwin">Kicker Country</option>
</select>
<input type="button" value="Listen"
onClick="jumptolink(document.form1.station)">
</form>
</a></td> <td class="windowbg2" width="32%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="A hard hitting Rock Channel playing the best in Heavy Metal, Alternative, and 80s Hard Rock on the planet."
description[1]="The Net's New Rock Alternative. An edgy display of Active, Modern, Today & Classic Alternative Rock Music."
description[2]="LIVE from a City that built the Classic Rock format. Take a listen to the legendary bands that started it all."
description[3]="The House of Hair Spray and Spandex. Playing your favorite sleaze Rock Anthems of the 80s & early 90s!"
description[4]=" Playing the best Alternative Rock music from the 90s era.<br>"
description[5]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[6]="Spinning the best in Trance and Techno Club Beats. Live from Chicago, it's the net's home for the best in underground sounds!"
description[7]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[8]="Featuring a pulsating mix of vocal and uplifting anthems from today's biggest trance dj's and artists."
description[9]="The hottest selection from today's most creative R&B Artists. These tracks are the cutting-edge of Contemporary R&B."
description[10]=" Hip Hop & R&B. Music from the best of today's biggest artists.<br>"
description[11]=" Throw'n down a funky and unique collection of old school, progressive, and fresh Florida Breaks."
description[12]="This channel features Massive bangers of Goa-Psy Trance.<br>"
description[13]=" The clubbing capital of the world is now on the radio. Welcome to Ibiza, featuring the music that is blowing up the Ibiza party scene."
description[14]="CHR Top 40 Channel featuring the hottest hits from today's pop, rock, and hip-hop artists."
description[15]="V means VARIETY. We play what we want on this channel. No rules, just great music."
description[16]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[17]=" This channel bangs the best in House, Trance, Breaks, and Progressive. This is Miami's OFFICIAL sound."
description[18]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[19]="Today's Hit Kicker Country Channel. Featuring the best from today's hot upbeat Country Hits and yesterday's all time favorites."
</script>
<br /></td> <td class="windowbg2" align="center" width="20%">
<span id="textcontainer2" align="center" style="font:bold 13px Arial">
</span>
<script type="text/javascript">
var genre=new Array()
genre[0]="Rock"
genre[1]="Rock"
genre[2]="Rock"
genre[3]="Rock"
genre[4]="Rock"
genre[5]="Rock"
genre[6]="Techno"
genre[7]="Techno"
genre[8]="Techno"
genre[9]="Hip-Hop/R&B"
genre[10]="Hip-Hop/R&B"
genre[11]="Pop"
genre[12]="Pop"
genre[13]="Pop"
genre[14]="Variety"
genre[15]="Variety"
genre[16]="Variety"
genre[17]="Variety"
genre[18]="Variety"
genre[19]="Country"
</script>
<script type="text/javascript">
function displaydesc(which, descriptionarray, genrearray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
document.getElementById('textcontainer2').innerHTML=genre[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value, "", "width=747px, height=462px")
else
window.location=selectedopt.value
}

displaydesc(document.form1.station, description, genre, 'textcontainer1')
</script>
</td></table>
<table border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="10%" height="5%" class='windowbg2'><a href="http://z11.invisionfree.com/MooseCreations" target="_blank">©</a> - Created By Agent Moose</th></tr></table>
</div><br></div>
</div><br></div>
<!--End MC Radio V2-->


Support
If you need any help with taking off radio stations, you can go here for support:
http://smfffhacks.smfforfree2.com/index.php

Thanks, I hope you like it!

-Agent Moose
« Last Edit: August 14, 2007, 10:33:46 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

LaundryLady
Geriatric Goddess
Global Moderator

Offline Offline

Gender: Female
Posts: 290


I'm watching, I have a sense of humor: Guess Who


View Profile
« Reply #1 on: July 15, 2007, 06:51:43 pm »

Thought you might like to know the show/hide doesn't toggle again and your link to the test forum for info on how to remove stations doesn't work.  Site closed for maintenance. 
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #2 on: July 15, 2007, 07:06:33 pm »

I took of the preview.

The button isn't working again!?  Grrr, I will try an alternate way to do it.
Report Spam   Logged

LaundryLady
Geriatric Goddess
Global Moderator

Offline Offline

Gender: Female
Posts: 290


I'm watching, I have a sense of humor: Guess Who


View Profile
« Reply #3 on: July 18, 2007, 08:56:37 am »

Moose,

I was messing with the code and and between you and me, I think we got it.  I have the code in TheBackLot and did a little tweaking.

Course you did all the work!!  It now sits in the sidebar nicely.

I changed b><div align="left">[Show/Hide MC Radio]</  to b><div align="center">[Show/Hide MC Radio]</

Thanks so much.

LL


« Last Edit: July 18, 2007, 09:04:17 am by LaundryLady » Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #4 on: July 18, 2007, 10:02:20 am »

Good job!
Report Spam   Logged

kevin-1990
Jezus I am scary
Members

Offline Offline

Posts: 52



View Profile
« Reply #5 on: July 18, 2007, 12:15:09 pm »

AWESOME code!
Report Spam   Logged
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #6 on: July 18, 2007, 05:23:25 pm »

Thanks.  Thiis is the third code I ever Made.
Report Spam   Logged

LaundryLady
Geriatric Goddess
Global Moderator

Offline Offline

Gender: Female
Posts: 290


I'm watching, I have a sense of humor: Guess Who


View Profile
« Reply #7 on: August 05, 2007, 05:25:50 pm »

Never mind, but would you put a copy of the instructions for removing stations on this site?  We are unable to access the smf hacks site.  Thank you.

That reworked code you made for me has stopped working also.
« Last Edit: August 05, 2007, 05:44:41 pm by LaundryLady » Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #8 on: August 06, 2007, 11:02:37 pm »

Ok, I will post how to add them, because you just do the opposite for adding them to remove them.  also, can you post your code here?
Report Spam   Logged

LaundryLady
Geriatric Goddess
Global Moderator

Offline Offline

Gender: Female
Posts: 290


I'm watching, I have a sense of humor: Guess Who


View Profile
« Reply #9 on: August 07, 2007, 05:45:24 am »

I will do that as soon as I make sure it's not me.  You know, LL's disease. (snickers)

You never put any of the instructions over here.  You had them on SMFHacks but that board is and has been in maintenance for a long time.  I just thought it might be helpful if people could see how its done.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #10 on: August 07, 2007, 09:42:55 am »

The main reason why I don't have the Tutorial on how to add more stations is because this isn't the main site for it.
Moose Creations
Taht would be the main forum.  It is my old invisionfree forum, it has all the stuff on how to add the stations and things.
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy