<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - How to change the A:href css in a loaded JSON html block</title>
    <link>https://forums.adobe.com/community/edge_animate?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 04 Nov 2014 22:01:48 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-04T22:01:48Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6899676?tstart=0#6899676</link>
      <description>&lt;!-- [DocumentBodyStart:b2f5ea21-b2ef-4d9d-b8f9-100422359ab0] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Great idea!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On Tue, Nov 4, 2014 at 3:31 PM, QuadrantProductions&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b2f5ea21-b2ef-4d9d-b8f9-100422359ab0] --&gt;&lt;img src='/beacon?t=1415898120462' /&gt;</description>
      <pubDate>Tue, 04 Nov 2014 22:01:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6899676?tstart=0#6899676</guid>
      <dc:date>2014-11-04T22:01:48Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6899632?tstart=0#6899632</link>
      <description>&lt;!-- [DocumentBodyStart:26cb6373-93dd-4187-be0a-9436b180243f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thankyou all!&amp;nbsp; These are all helpful.&lt;/p&gt;&lt;p&gt;I ended up calling the external css at the top of the composition with&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; sym.$("&amp;lt;link rel='stylesheet' type='text/css' href='myexternalstylesheet.css'&amp;gt;").appendTo("#Stage");&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then I set the class of the containing div and changed the css for a:links.&lt;/p&gt;&lt;p&gt;I did it that way so I could call that css from other stages as well in other projects.&amp;nbsp; &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:26cb6373-93dd-4187-be0a-9436b180243f] --&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:31:08 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6899632?tstart=0#6899632</guid>
      <dc:date>2014-11-04T21:31:08Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6898638?tstart=0#6898638</link>
      <description>&lt;!-- [DocumentBodyStart:5d9c9265-d728-4fdb-8e52-f250cf3cf85d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span&gt;'&amp;lt;a href="&lt;/span&gt;&lt;a class="jive-link-email-small" href="mailto:address@gmail.com"&gt;address@gmail.com&lt;/a&gt;&lt;span&gt;" style="color:red;"&amp;gt;Hello&amp;lt;/a&amp;gt;'&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;This is inline.&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5d9c9265-d728-4fdb-8e52-f250cf3cf85d] --&gt;</description>
      <pubDate>Tue, 04 Nov 2014 17:35:20 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6898638?tstart=0#6898638</guid>
      <dc:date>2014-11-04T17:35:20Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6898637?tstart=0#6898637</link>
      <description>&lt;!-- [DocumentBodyStart:f9c903bb-052c-485e-b81d-416f79a6d7e7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Add this in the compositionReady event handler if you want all &amp;lt;a&amp;gt; tags to be say "green":&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("a").css({color: "green"});&lt;/p&gt;&lt;p&gt;and if you want to apply this green color to selectively, then add a class to those &amp;lt;a&amp;gt; tags say "greenAnchors" and add the below in compositionReady handler:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#greenAnchors").css({color: "green"});&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;hth,&lt;/p&gt;&lt;p&gt;Vivekuma&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f9c903bb-052c-485e-b81d-416f79a6d7e7] --&gt;</description>
      <pubDate>Tue, 04 Nov 2014 17:33:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6898637?tstart=0#6898637</guid>
      <dc:date>2014-11-04T17:33:48Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6898468?tstart=0#6898468</link>
      <description>&lt;!-- [DocumentBodyStart:1e06b581-d50d-4032-bacb-93ebea40e746] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Just use &amp;lt;style&amp;gt; &amp;lt;/style&amp;gt; inline.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1e06b581-d50d-4032-bacb-93ebea40e746] --&gt;</description>
      <pubDate>Tue, 04 Nov 2014 17:22:00 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6898468?tstart=0#6898468</guid>
      <dc:date>2014-11-04T17:22:00Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to change the A:href css in a loaded JSON html block</title>
      <link>https://forums.adobe.com/message/6898268?tstart=0#6898268</link>
      <description>&lt;!-- [DocumentBodyStart:fa398d84-e00d-4949-aa02-e1d0e05ad803] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;If we have JSON loading html in and in that text block we have a tags to links (see example below of the JSON string).&amp;nbsp; How do you add the css to control how that a:link should look?&amp;nbsp; It's defaulting right now to standard blue and underlined and is not picking up the text properties of the text div in animate other then the font type.&lt;/p&gt;&lt;p&gt;Would we control it by assigning it a class and then external css?&amp;nbsp; Is there a way to do it without it being inline?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;//EXAMPLE JSON LOADED BLOCK&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;"image" : "images/th-hp-water.jpg",&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;"bigtitle" : "At Palermo Ortho in Oakville ON, we provide braces and orthodontics for kids, teens and adults.",&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;"thelinktext":"",&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;"thelink" : "",&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;&lt;span&gt;"description":"We provide Orthodontics for Children, Teens and Adults.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;The days of scary braces are gone and we have ergonomic braces options that help you achieve that smile you want while never getting in the way of your active lifestyle.&amp;nbsp; If you are looking for braces for kids, teens or adults we've got you covered.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;Learn more about &amp;lt;a href='&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.palermo-ortho.ca/" rel="nofollow"&gt;http://www.palermo-ortho.ca/&lt;/a&gt;&lt;span&gt;'&amp;gt;orthodontics for kids&amp;lt;/a&amp;gt;, &amp;lt;a href='&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.palermo-ortho.ca/" rel="nofollow"&gt;http://www.palermo-ortho.ca/&lt;/a&gt;&lt;span&gt;'&amp;gt;teens&amp;lt;/a&amp;gt; and &amp;lt;a href='&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.palermo-ortho.ca/" rel="nofollow"&gt;http://www.palermo-ortho.ca/&lt;/a&gt;&lt;span&gt;'&amp;gt;adults&amp;lt;/a&amp;gt; including &amp;lt;a href='&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.palermo-ortho.ca/invisalign-in-oakville.html" rel="nofollow"&gt;http://www.palermo-ortho.ca/invisalign-in-oakville.html&lt;/a&gt;&lt;span&gt;'&amp;gt;invisalign&amp;lt;/a&amp;gt;"&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;td style=";"&gt;},&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The above block of text is loading fine, (see screen shot) but it's defaulting to blue&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-6898268-691466/Screen+Shot+2014-11-04+at+10.48.05+AM.png"&gt;&lt;img alt="Screen Shot 2014-11-04 at 10.48.05 AM.png" class="jive-image image-1" height="578" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6898268-691466/900-578/Screen+Shot+2014-11-04+at+10.48.05+AM.png" style="height: 399px; width: 620px;" width="900"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fa398d84-e00d-4949-aa02-e1d0e05ad803] --&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:49:06 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6898268?tstart=0#6898268</guid>
      <dc:date>2014-11-04T15:49:06Z</dc:date>
      <clearspace:dateToText>1 week 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

