<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Greetings again,</div><div><br></div>The RevBrowser external works great in Metacard, even as far back as 2.7.4. Nonetheless, I'm trying to pass in my own html document instead of a real web page and it doesn't respond. So, this works fine:<div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "> put revBrowserOpen(tWinID,"<a href="http://www.google.com">http://www.google.com</a>") into sBrowserId</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "> set the BrowserId of image "BrowserImage" to sBrowserId</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">But this doesn't:</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "> put "<html><p>This is an example.</p></html>" into myHtmlDoc</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "> put revBrowserOpen(tWinID, myHtmlDoc) into sBrowserId</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "> set the BrowserId of image "BrowserImage" to sBrowserId</div></div></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Any ideas?</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thanks,</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Ray Horsley</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">LinkIt! Software</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal 'Lucida Grande'; "><br></div><div><div>On Feb 9, 2009, at 8:08 AM, Ken Ray wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><blockquote type="cite">Anyone with any ideas on how to use <span> tags when setting the<br></blockquote><blockquote type="cite">htmlText of a fld? Example:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><html><br></blockquote><blockquote type="cite"><head><br></blockquote><blockquote type="cite"><style type="text/css"><br></blockquote><blockquote type="cite">span.blue {color:lightskyblue;font-weight:bold}<br></blockquote><blockquote type="cite">span.green {color:darkolivegreen;font-weight:bold}<br></blockquote><blockquote type="cite"></style><br></blockquote><blockquote type="cite"></head><br></blockquote><blockquote type="cite"><body><br></blockquote><blockquote type="cite"><p>My mother has <span class="blue">light blue</span> eyes and my<br></blockquote><blockquote type="cite">father has <span class="green">dark green</span> eyes.</p><br></blockquote><blockquote type="cite"></body><br></blockquote><blockquote type="cite"></html><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This works fine in any browser, but setting the htmlText of a fld<br></blockquote><blockquote type="cite">ignores the <span> tags.<br></blockquote><br>Sorry, Ray... the htmlText of a field only has limited HTML support, and<br><span> tags aren't one of them, nor is any CSS. You'd have to replace your<br><span> tags with old-style <font> tags in order to get what you want, so you<br>could do something like this (assuming field 1 contains the actual HTML and<br>you want to render it into field 2):<br><br>-- watch line wraps<br>on mouseUp<br> put fld 1 into tData<br> put replaceText(tData,"<style.*/style>","") into tData<br> replace format("<span class=\"blue\">") with format("<font<br>color=\"lightblue\"><b>") in tData<br> replace format("<span class=\"green\">") with format("<font<br>color=\"darkolivegreen\"><b>") in tData<br> replace "</span>" with "</b></font>" in tData<br> set the htmlText of fld 2 to tData<br>end mouseUp<br><br>HTH,<br><br>Ken Ray<br>Sons of Thunder Software, Inc.<br>Email: <a href="mailto:kray@sonsothunder.com">kray@sonsothunder.com</a><br>Web Site: <a href="http://www.sonsothunder.com/">http://www.sonsothunder.com/</a><br><br><br>_______________________________________________<br>metacard mailing list<br><a href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</a><br>http://lists.runrev.com/mailman/listinfo/metacard<br></div></blockquote></div><br></div></body></html>