inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Mar 5, 2015 9:33:15 GMT -8
I'm in the process of creating a plugin and need to place the CSS in the JS component area.
I placed the style tags around the code and the plugin will not work until I remove the CSS and place it in the CSS component area and then it works just fine.
Is there something that I'm doing wrong?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 5, 2015 10:56:04 GMT -8
The Javascript component is for Javascript only. The browser will error and cease execution of the Javascript if you place anything else there.
What are you attempting to do that the CSS or HTML component isn't capable of handling?
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Mar 5, 2015 11:05:23 GMT -8
I was sure I seen it somewhere that the CSS could be entered in the JS component area but obviously that is not true.
Will place the CSS in the global header so I can add variables to it.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 5, 2015 11:16:35 GMT -8
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Mar 5, 2015 11:35:45 GMT -8
Those are some nice links you provided and that is one area "Javascript functions" that I need to learn.
Thanks much!
|
|