Edit Comment Box..., Help with code pls... |
Edit Comment Box..., Help with code pls... |
Aug 31 2005, 05:26 PM
Post
#1
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
ok i have this code here for editing my comment box
i've tried editing it so it's custimized the way i want it .. but it doesnt work... can u guys help me with this? or try testing it out on ur xangas... my width is 596 and the length is 196 and the color i want it to be is #8c8c8c QUOTE <script>
// Resize Comment Box by Paul Chen aka Coyote width = NUMBER; //change this value height = NUMBER; //change this value if(location.pathname=='/item.aspx'){ var booga = document.getElementById('htmleditor') newBooga = '<ifr' + 'ame' + ' class=\"htmleditor\" width=\"' + width + '\" height=\"' + height + '\" ID=\"htmleditor\" scrolling=NO>'; booga.insertAdjacentHTML('afterEnd',newBooga); booga.removeNode(true); } </SCRIPT> <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #BACKGROUND HEX CODE; FILTER: alpha(opacity=0); overflow:auto"><center><applet><xmp> |
|
|
|
![]() |
Sep 4 2005, 07:04 PM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
The width and height properties work fine, but the background doesn't work, how odd.
And IE isn't "normal internet", it's just the browser that stupid people use. Geez, it gives you too much freedom when you're coding. Let me try this one more time. CODE <style type="text/css">textarea{width: 596px; height: 196px; background: #8c8c8c;}</style><script>
// Resize Comment Box by Paul Chen aka Coyote width = 596; //change this value height = 196; //change this value if(location.pathname=='/item.aspx'){ var booga = document.getElementById('htmleditor') newBooga = '<ifr' + 'ame' + ' class=\"htmleditor\" width=\"' + width + '\" height=\"' + height + '\" ID=\"htmleditor\" scrolling=NO>'; booga.insertAdjacentHTML('afterEnd',newBooga); booga.removeNode(true); } </SCRIPT> <ilayer name=""><div id="" style="width:1; height:1; BACKGROUND: #8c8c8c; FILTER: alpha(opacity=0); overflow:auto"><center><applet><xmp> |
|
|
|
ChazyChazLives Edit Comment Box... Aug 31 2005, 05:26 PM
fishcake-y If you use Mozilla, it won't work.
CODE<s... Aug 31 2005, 05:41 PM
ChazyChazLives ok i used the new code for my comment box but it s... Sep 1 2005, 02:32 PM
fishcake-y Don't make a new topic. -.-u Just post in the ... Sep 1 2005, 02:48 PM
ChazyChazLives heyy the code is still being retarted... im about ... Sep 2 2005, 05:53 PM
ChazyChazLives have u guys tried using the code on ur xanga? beca... Sep 2 2005, 09:27 PM
khraene Here, try this one. It works on my xanga. Just edi... Sep 2 2005, 09:31 PM
ChazyChazLives uh......i think thats the wrong code...... thats 4... Sep 2 2005, 09:52 PM
Madame C ^ Actually, if you use Firefox, that is the code t... Sep 3 2005, 12:31 AM
dreamstar7 <style type="text/css">
#pnlEnable... Sep 3 2005, 05:26 PM
ChazyChazLives ok.. i tried this code a while ago..
<styl... Sep 4 2005, 06:57 PM
ChazyChazLives um.... lol...
i really really appreciate that ur ... Sep 4 2005, 07:09 PM
fishcake-y It works fine.
[ http://www.xanga.com/item.aspx?u... Sep 4 2005, 07:12 PM![]() ![]() |