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> |
|
|
|
Aug 31 2005, 05:41 PM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
If you use Mozilla, it won't work.
CODE <style type="text/css">textarea{width: 596px; height: 196px; background-color: #8c8c8c;}</style> And so, try that.
|
|
|
|
Sep 1 2005, 02:32 PM
Post
#3
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
ok i used the new code for my comment box but it still isnt working
got any suggestions??? |
|
|
|
Sep 1 2005, 02:48 PM
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Don't make a new topic. -.-u Just post in the old one.
CODE <style type="text/css">textarea.bdescr{width: 596px; height: 196px; background-color: #8c8c8c;}</style>
<style type="text/css">.bdescr{width: 596px; height: 196px; background-color: #8c8c8c;}</style> <style type="text/css">#bdescr{width: 596px; height: 196px; background-color: #8c8c8c;}</style> |
|
|
|
Sep 2 2005, 05:53 PM
Post
#5
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
heyy the code is still being retarted... im about to stab my xanga here... lol... i dont understand y it wont work.... even my friend john tried it and it didnt work
|
|
|
|
Sep 2 2005, 09:27 PM
Post
#6
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
have u guys tried using the code on ur xanga? because it doesnt work on any of my friends xangas... this is like so0o weird... i never had a code that didnt work 4 me like this one... its creepy lol
|
|
|
|
Sep 2 2005, 09:31 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 150 Joined: May 2005 Member No: 132,977 |
Here, try this one. It works on my xanga. Just edit the colors and stuff.
CODE <style type="text/css">
input, select, textarea, .textfield, .button{ border: 3px solid #81D200; background-color: #DDFFA8; color: #000000; font-family: verdana; font-size: 8pt; } </style> |
|
|
|
Sep 2 2005, 09:52 PM
Post
#8
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
uh......i think thats the wrong code...... thats 4 sumin else.... not the comment box
|
|
|
|
Sep 3 2005, 12:31 AM
Post
#9
|
|
![]() Amberific. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 12,913 Joined: Jul 2004 Member No: 29,772 |
^ Actually, if you use Firefox, that is the code that'll change your comment box, that's what Reili (nyah-nek0) was trying to say.
|
|
|
|
Sep 3 2005, 05:26 PM
Post
#10
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 |
That's the one I always use. I dunno if it works in Firefox, though. |
|
|
|
Sep 4 2005, 06:57 PM
Post
#11
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
ok.. i tried this code a while ago..
it still doesnt work... so.. uh... i guess there is no code for editing the comment box for people who have normal internet.. so unless there is i guess u can close this topic.... |
|
|
|
Sep 4 2005, 07:04 PM
Post
#12
|
|
![]() 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> |
|
|
|
Sep 4 2005, 07:09 PM
Post
#13
|
|
![]() ...Linkin Park Obsessed... ![]() ![]() ![]() Group: Member Posts: 32 Joined: Dec 2004 Member No: 74,426 |
um.... lol...
i really really appreciate that ur tryin so hard to help me with this.. but um... the Background... is what im aiming at... i just want it to be gray nstead of white but... it wont work :( so if theres no way to do it.. o wellz... at least i noe now.. |
|
|
|
Sep 4 2005, 07:12 PM
Post
#14
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
It works fine.
[ http://www.xanga.com/item.aspx?user=nyah_t...s&uid=284029067 ] It goes in webstats, mind you. edit// Okay. What the hell, it was working earlier. |
|
|
|
![]() ![]() |