inherit
46789
0
Jul 23, 2005 1:47:43 GMT -8
quoththeraven
9
June 2005
quoththeraven
|
Post by quoththeraven on Jun 20, 2005 16:45:21 GMT -8
I would really love to have a code to change the function of the buttons on the main page ('home', 'help', 'search', 'members', etc.).
What I really want them to do is become ....... button links. I want to assign frequently used websites to them, so that when they are clicked, the button would open the website it's intended for.
So that, for example, I could have an IMDb button instead of a 'members' button.
I apologize if there is an exisiting code somewhere for this. I have honestly been looking for days, wading through posts both here and on SSD.
Can anyone help me with this?
Please? I'd be really, really grateful!
Oh - and...... I'm just starting to grasp browser issues....... but I really think I need something cross-browser compatible (is that how you phrase that?)
We're already having a lot of issues related to things that don't function properly when viewed from Safari or IE for Mac.
HEAPS of thank-yous!
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Jun 20, 2005 22:42:56 GMT -8
Would you rather add additional buttons instead? You could keep your existing ones and it would be a bit simpler.
|
|
inherit
46789
0
Jul 23, 2005 1:47:43 GMT -8
quoththeraven
9
June 2005
quoththeraven
|
Post by quoththeraven on Jun 22, 2005 11:59:41 GMT -8
I suppose that would be alright. I'd considered that. It's just that so many of the existing buttons are superfluous to me.
My board is private, just me and close friends. We just don't have a need for most of what's there, but would find it very practical to have buttons for other things.
We use 'home', and 'logout'. (And would keep 'calandar' cause it's possible we just haven't gotten around to finding that useful just yet.) And I need the 'admin' button. That's it. Everything else is sitting up there with no useful purpose to us.
I caught just a glimpse of something, when I was digging around for a way to do this the other day, that said something about making the buttons transparent (I assume this just involves replacing the button's image with a transparent one). I suppose that might be a simpler route as well, but....... they'll still occupy space, won't they?
Know what I mean? Wouldn't there just be....... what looked like odd blank spaces sitting where the buttons are?
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 22, 2005 12:39:44 GMT -8
What about the profile button? Do you want to keep that too?
|
|
inherit
46789
0
Jul 23, 2005 1:47:43 GMT -8
quoththeraven
9
June 2005
quoththeraven
|
Post by quoththeraven on Jun 23, 2005 15:23:13 GMT -8
Eh - I could go either way about the profile button. We do use it, and I really don't mind if it stays. (But, we also agree we could just as easily get used to clicking on names to reach profile pages. )
<shrugs>
I guess it may as well stay. The fewer things changed, being the simpler.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 24, 2005 0:20:08 GMT -8
It would be simpler to change the lot rather than keeping a few and changing others...
|
|
inherit
46789
0
Jul 23, 2005 1:47:43 GMT -8
quoththeraven
9
June 2005
quoththeraven
|
Post by quoththeraven on Jun 27, 2005 13:18:14 GMT -8
Hmmmmm......
Okay. That would be fine too. So long as there would be a way not to totally lose the couple of buttons I do need as they are. (Like, to just reassign them to be what they already are. If that makes sense.)
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 27, 2005 15:55:08 GMT -8
<script language=JavaScript> <!--
// Replace menu buttons and links
var menuTD=document.getElementsByTagName('TD'); for(m=0; m<menuTD.length; m++) { if(menuTD[m].className=='menubg') {
// Edit below...
menuTD[m].innerHTML=' <a href="URL OF LINK"><img src="URL OF BUTTON IMAGE" border="0"></a> ';
menuTD[m].innerHTML+=' <a href="URL OF LINK"><img src="URL OF BUTTON IMAGE" border="0"></a> ';
menuTD[m].innerHTML+=' <a href="URL OF LINK"><img src="URL OF BUTTON IMAGE" border="0"></a> ';
// Edit above...
} } // --> </script>
Put that in your Global header and edit it where it says..
Continue adding....
menuTD[m].innerHTML+=' <a href="URL OF LINK"><img src="URL OF BUTTON IMAGE" border="0"></a> ';
for all your buttons....
|
|
inherit
46789
0
Jul 23, 2005 1:47:43 GMT -8
quoththeraven
9
June 2005
quoththeraven
|
Post by quoththeraven on Jun 28, 2005 12:27:44 GMT -8
Oh, you rock!
It works great, and it's exactly what I wanted!
Thank you SO much!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 28, 2005 15:27:34 GMT -8
No worries..
|
|