Log In · Register

 
Edit Comment Box..., Help with code pls...
ChazyChazLives
post 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>
 
 
Start new topic
Replies
talcumpowder
post 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>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: