Down The Street
« appendChildren »

Welcome Guest. Please Login or Register.
Nov 24, 2009, 8:46am




Down The Street :: The Codeum :: Code Lounge :: appendChildren
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: appendChildren (Read 142 times)
Former Admin
Unknown User
member is offline





Joined: Apr 2007
Gender: Male
Posts: 1
Karma: 0
 appendChildren
« Thread Started on Apr 1, 2007, 4:49pm »

Enables you to append several children to an object at once.
Code:
function appendChildren() {
if(arguments.length > 1 && arguments[0].nodeType) {
for(var i = 1; arguments[i].nodeType && i < arguments.length; i ++) {
arguments[0].appendChild(arguments[i]);
}
}
}


hope this helps :)
Link to Post - Back to Top  IP: Logged

Just rejoined so members would know the former admins post
Retribution
Global Moderator
*****
Graphics Request Moderator and Coding Aid
member is offline

[avatar]

Oh No!

[msn]

Joined: Mar 2007
Gender: Male
Posts: 300
Location: Below Canada, Above Mexico
Karma: 2
 Re: appendChildren
« Reply #1 on Apr 1, 2007, 6:05pm »

more of an open source than a tutorial :P
Link to Post - Back to Top  IP: Logged

I'm out of Coding ideas.. Someone Pm me some Ideas.

Add Me:
Xfire: qsamurai
Msn: ganderzz1@hotmail.com
Email: retribution@downnthestreett.com
Former Admin
Unknown User
member is offline





Joined: Apr 2007
Gender: Male
Posts: 1
Karma: 0
 Re: appendChildren
« Reply #2 on Apr 4, 2007, 3:10pm »

Yes I know but open source does belong here.
:)
Link to Post - Back to Top  IP: Logged

Just rejoined so members would know the former admins post
   [Search This Thread][Send Topic To Friend] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!