Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > how to copy all style attributes from one to another object

Reply
Thread Tools

how to copy all style attributes from one to another object

 
 
Gerrit Horeis
Guest
Posts: n/a
 
      08-12-2004
How can I copy all style sheet information from one object to another?
I tried the following way but it did not work:

object2.style = object1.style;

do have to assign all stylesheet information by

object2.style.color = object1.style.color;

?

Thanks for your responds


 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      08-12-2004
Gerrit Horeis wrote:

> How can I copy all style sheet information from one object to another?
> [...]


I have already answered that in your native language in
de.comp.lang.javascript. You probably want to refrain
from making multi-postings if you wish your postings to
be read by a significant number of netizen in the future.


PointedEars
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
help me! how can i copy all files from one directory to another in java Kulbir Java 2 12-22-2005 01:15 PM
Copying the style object from one object to another Sparhawk Javascript 5 08-29-2004 09:50 AM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Style sheets, include one style within another (not inheritance) foldface@yahoo.co.uk HTML 1 11-24-2003 01:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57