-
1. Re: How to change the A:href css in a loaded JSON html block
resdesign Nov 4, 2014 9:22 AM (in response to QuadrantProductions)Just use <style> </style> inline.
-
2. Re: How to change the A:href css in a loaded JSON html block
vivekuma Nov 4, 2014 9:33 AM (in response to QuadrantProductions)Add this in the compositionReady event handler if you want all <a> tags to be say "green":
$("a").css({color: "green"});
and if you want to apply this green color to selectively, then add a class to those <a> tags say "greenAnchors" and add the below in compositionReady handler:
$("#greenAnchors").css({color: "green"});
hth,
Vivekuma
-
3. Re: How to change the A:href css in a loaded JSON html block
resdesign Nov 4, 2014 9:37 AM (in response to resdesign) -
4. Re: How to change the A:href css in a loaded JSON html block
QuadrantProductions Nov 4, 2014 1:31 PM (in response to QuadrantProductions)Thankyou all! These are all helpful.
I ended up calling the external css at the top of the composition with
sym.$("<link rel='stylesheet' type='text/css' href='myexternalstylesheet.css'>").appendTo("#Stage");
Then I set the class of the containing div and changed the css for a:links.
I did it that way so I could call that css from other stages as well in other projects.
-
5. Re: How to change the A:href css in a loaded JSON html block
resdesign Nov 4, 2014 2:01 PM (in response to QuadrantProductions)Great idea!
On Tue, Nov 4, 2014 at 3:31 PM, QuadrantProductions






