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
  • Pages:
  • 1
  • 2
[ C ] Code to get a link from a profile field.
Topic Started: Jul 19 2013, 08:05 PM (863 Views)
RichardInTN
Member Avatar
I believe in I.D.I.C.
[ *  *  * ]
Board Address: Great Escape
Board Software: ZetaBoards
Description: I have the following code created by HolySavior of ZNR (with my links in it, obviously)
Code:
 
/*created by HolySavior of ZNR and Javascriptin.com */
var idrop = new Array()
idrop[0] = ["URL","Link Name that appears in menu"]
idrop[1] = ["URL","Link Name that appears in menu"]
idrop[2] = ["URL","Link Name that appears in menu"]
idrop[3] = ["URL","Link Name that appears in menu"]
idrop[4] = ["URL","Link Name that appears in menu"]
idrop[5] = ["URL","Link Name that appears in menu"]

if($("#top_menu:contains('Inbox ')").html()) {

$("#top_menu").append("<li><a>Helpful Links</a><ul id='newdrop'></ul></li>");

for(x=0;x<idrop.length;x++) {
$("#newdrop").append("<li><a href='"+idrop[x][0]+"'>"+idrop[x][1]+"</a></li>");
}
}
What I'd ideally like to add to it is a link line (this would be either "idrop[6]" or I might re-number them and make the new one "idrop[0]") that would get an address from a profile field labelled "My Radio Station" and then open a new pop-BEHIND (or popped up, but instantly minimized) window for that radio station's live broadcast.

I'd like the link in the menu, when created, to be named "My Radio".

Here's an example of a link that would be found in the "My Radio Station" profile field (it's my local station, that I listen to): http://www.wimz.com/sites/wimz/wimz.html

Is this possible?
Edited by RichardInTN, Jul 19 2013, 08:07 PM.
Offline Profile Goto Top
 
Replies:
Moonface
Member Avatar


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
  • Pages:
  • 1
  • 2