|
Control Panel Buttons Switch |
|
|
Author |
Message |
st.Xenon
HCG Geek
> : join us! the-cradle.users-boar
Posts : 577
Age : 31
Location : Singapore
Reg-Date : 2009-05-11
Forum Warning :
Contribution :
|
Subject: Control Panel Buttons Switch Sun May 24, 2009 6:54 pm |
|
|
REPU PLEASE Title: Control Panel Buttons Switch Description: This script will create a single button that will hide and show your control panel buttons. The appearance of the button will depend on how well you customize it. To customize the said button, just go to the style attribute and do your thing. Tested With: IE7, Fx2, O9 TEST IT HERE - Code:
-
content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>" +"<input type='button' value='SHOW BUTTON' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" +"</div>" controlPanelButtons.style.display="none" function showButtons(){ controlPanelButtons.style.display="block" myCPButtons.innerHTML="<input type='button' value='HIDE BUTTON' onclick='hideButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" } function hideButtons(){ controlPanelButtons.style.display="none" myCPButtons.innerHTML="<input type='button' value='SHOW BUTTON' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>" } [/list] - Important Notes:
- Do not alter anything that is not meant to be altered in the code to avoid errors.
- I included the styling in the code itself to make it work for Internet explorer. Using an external file doesn't seem to work well with this code in Internet Explorer.
credit: Angell de Ville (the-cradle)
Last edited by st.Xenon on Mon May 25, 2009 9:39 pm; edited 3 times in total
|
|
|
|
natsumi08
HCG Wizard
> : i Love hCg a Lot....
Posts : 53
Age : 28
Location : kanagawa, japan
Mood : Happy
Country :
Reg-Date : 2009-04-28
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 6:57 pm |
|
|
|
|
|
|
magoytot
HCG Wizard
> : -- SHHHHHH !
Posts : 82
Age : 29
Mood : Drunk
Country :
Reg-Date : 2009-04-10
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 7:06 pm |
|
|
sorry again!
|
|
|
|
st.Xenon
HCG Geek
> : join us! the-cradle.users-boar
Posts : 577
Age : 31
Location : Singapore
Reg-Date : 2009-05-11
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 7:08 pm |
|
|
^sorry for what? it's okay miss.. btw i PM in the-cradle ... - Spoiler:
cute u pala
|
|
|
|
magoytot
HCG Wizard
> : -- SHHHHHH !
Posts : 82
Age : 29
Mood : Drunk
Country :
Reg-Date : 2009-04-10
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 7:20 pm |
|
|
|
|
|
|
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 8:38 pm |
|
|
- Spoiler:
hahaha. lol. hanggang dito..
@topic - thanks for sharing?? hehe.. nice codes there.. XD
|
|
|
|
Excell
HCG Freak
> : Brush Your Teeth.
Posts : 157
Age : 31
Location : Unknown
Mood : Drunk
Country :
Reg-Date : 2009-05-16
Forum Warning :
Contribution :
|
|
|
|
st.Xenon
HCG Geek
> : join us! the-cradle.users-boar
Posts : 577
Age : 31
Location : Singapore
Reg-Date : 2009-05-11
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 9:04 pm |
|
|
^paste it in your js file bro @ flint0131 you're always welcome
|
|
|
|
anniecx
HCG Addict
> : Geez, I'm not impressed with w
Posts : 388
Age : 28
Location : XD
Mood : Bittersweet
Country :
Reg-Date : 2009-04-28
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Sun May 24, 2009 9:06 pm |
|
|
|
|
|
|
kramzee
HCG Geek
> : Uh May Gaad!
I Lab Luke. :)
Posts : 836
Age : 28
Location : Chicago, IL
Mood : Ecstatic
Country :
Reg-Date : 2009-02-21
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Mon May 25, 2009 6:59 am |
|
|
|
|
|
|
babat
Guest
> : I love HCG!
Posts : 3
Reg-Date : 2009-05-16
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Mon May 25, 2009 8:21 am |
|
|
http://profiles.friendster.com/9401888 <---please review the profile.. how did he do the CP buttons?? pls help me.. im still a newbie h-ir HCG.. pls.. i'll be thankful 4 u
|
|
|
|
tshiin
HCG Elite
> : simple is enough!
Posts : 1238
Age : 29
Location : in your eyes.
Mood : Crushed
Country :
Reg-Date : 2009-04-05
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Mon May 25, 2009 9:55 am |
|
|
mm, nice trick dude..
@babat: u should make ur own topic..
|
|
|
|
QueenMoimoi
Contributor
> : white or cyan? hmn.
Posts : 10666
Age : 30
Location : here XP
Mood : Giggly
Reg-Date : 2009-03-12
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Mon May 25, 2009 3:23 pm |
|
|
tenx Yoe :) luve it.. its working.view >> fs coo
|
|
|
|
st.Xenon
HCG Geek
> : join us! the-cradle.users-boar
Posts : 577
Age : 31
Location : Singapore
Reg-Date : 2009-05-11
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Mon May 25, 2009 9:41 pm |
|
|
you're all welcome! dont forget my REPU
|
|
|
|
Mickey™
Promoter
> : Twitter: mickeysantilla
Posts : 2676
Age : 31
Location : Nueva Ecija
Mood : Happy
Country :
Reg-Date : 2009-01-31
Forum Warning :
Contribution :
|
|
|
|
Excell
HCG Freak
> : Brush Your Teeth.
Posts : 157
Age : 31
Location : Unknown
Mood : Drunk
Country :
Reg-Date : 2009-05-16
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Thu May 28, 2009 8:14 pm |
|
|
|
|
|
|
Gheraald :)
HCG Geek
> : ` im in.Larb !
Posts : 677
Age : 25
Location : ` recycLe bin :]
Mood : Blah
Country :
Reg-Date : 2009-04-20
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Thu May 28, 2009 8:54 pm |
|
|
|
|
|
|
Gheraald :)
HCG Geek
> : ` im in.Larb !
Posts : 677
Age : 25
Location : ` recycLe bin :]
Mood : Blah
Country :
Reg-Date : 2009-04-20
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Fri May 29, 2009 10:53 am |
|
|
` not bad . ` btw nice trick .
|
|
|
|
st.Xenon
HCG Geek
> : join us! the-cradle.users-boar
Posts : 577
Age : 31
Location : Singapore
Reg-Date : 2009-05-11
Forum Warning :
Contribution :
|
Subject: Re: Control Panel Buttons Switch Fri May 29, 2009 6:40 pm |
|
|
thanks btw avoid double posting
|
|
|
|
lodz231
HCG Wizard
> : I love HCG!
Posts : 70
Age : 29
Location : Valenzuela
Mood : Happy
Country :
Reg-Date : 2009-06-13
Forum Warning :
Contribution :
|
|
|
|
Sponsored content
|
Subject: Re: Control Panel Buttons Switch |
|
|
|
|
|
|
|
Control Panel Buttons Switch |
|
|