We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Radio station code
Topic Started: Nov 12 2011, 05:52 AM (694 Views)
SandyC (PM)
Member Avatar
Member
[ *  *  *  * ]
Board Address: http://s15.zetaboards.com/Sandys_Place/index/
Board Software: Zetaboards
Description:

I know I've asked for this in here before, but none of the codes I had worked for some reason. Anyway, what I'd like to be able to do is put a link to this radio station in my forum, preferrably up round the top of the page and have it open in a seperate window so members can listen to the radio while reading and posting. I need the seperate window, or they can't post of course and so it can be minimised while browsing the forum.

This is a New Zealand radio station, I don't know if it makes a difference as far as coding goes, but I'd like either a button or tab that will open it in a new window at the top of my page so everyone see's it.

I hope I can get a code that works this time, there's a few of us that like the music on this station...
Offline Profile Goto Top
 
toofx-ZNR (P)
Member Avatar
Who is The Coon?
[ * ]
well i can Make this Code for you
but What is it that you want exactly

if I'm not Mistaken) you want a Clickable Button with this radio station
link Behind it?
Offline Profile Goto Top
 
SandyC (PM)
Member Avatar
Member
[ *  *  *  * ]
Yes, there's a listen live bit in there and I'd like to be able to put a code in the board template that would give a button or tab above the board opening a new window that we can minimise and listen while we post.

As mentioned, I've been given several codes in two closed threads, none worked. I'm not sure if it was because it's a New Zealand radio station or what, but if I use the link as is it works fine, but none of the codes for clickable buttons etc have worked this far, so if you can come up with something that works I'd be grateful.
Offline Profile Goto Top
 
toofx-ZNR (P)
Member Avatar
Who is The Coon?
[ * ]
Here you Go
just put it Where you want your Button to appear
And i put it In the index only code just seemed like the right thing to Do

your code
 
<div class="indexonly"><a href="http://www.thecoast.net.nz/"target="_blank">
<button><strong>Button Title</strong></button></a></div>
<script>if(!location.href.match('/index')){document.write('<style>.indexonly\{display:none;\}</style>');}
</script>
If you Don't Want it....to Be index only Then Only Use This part of the code
code
 
<a href="http://www.thecoast.net.nz/"target="_blank">
<button><strong>Button Title</strong></button></a>

Edit Note: Code Fixed
Edited by toofx-ZNR, Nov 13 2011, 12:02 AM.
Offline Profile Goto Top
 
SandyC (PM)
Member Avatar
Member
[ *  *  *  * ]
Thanks for that, I'll try it out shortly. Just to sound a bit ignorant, what does the indexed mean?
Offline Profile Goto Top
 
toofx-ZNR (P)
Member Avatar
Who is The Coon?
[ * ]
SandyC
Nov 13 2011, 01:56 AM
Thanks for that, I'll try it out shortly. Just to sound a bit ignorant, what does the indexed mean?
the index is Basically your Home Page
And the index only code will Make The Button appear
only On your Home Page.



And No problem Glad to Help :up:
Offline Profile Goto Top
 
SandyC (PM)
Member Avatar
Member
[ *  *  *  * ]
Thanks, so if I want the link on every page, I use the second code...
Offline Profile Goto Top
 
toofx-ZNR (P)
Member Avatar
Who is The Coon?
[ * ]
SandyC
Nov 13 2011, 02:33 AM
Thanks, so if I want the link on every page, I use the second code...
(Bazinga) Meaning yes the second code
Offline Profile Goto Top
 
SandyC (PM)
Member Avatar
Member
[ *  *  *  * ]
Cheers. The first is working fine, but is only on the main forum page, I'll try the other code later. :)
Offline Profile Goto Top
 
lightfire
Member Avatar
littlegraycloud
[ *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic