HTML Code Display - Disappearing???

(RH8, CHMs)
Hello,
Running into an issue, not sure how to fix this.
I am building a link to an external .htm file that will be included with our help CHMs. It's staying external because this allows us to update it at any time without having to update any CHM itself by re-importing and building. The html files are in the same folder as the help CHMs.
Normal hyperlinking doesn't seem to work - the CHM can't apparently see the content of topic, and may be running into an issue because it appears to be trying to open within the help screen rather than through a browser like IE or Firefox.
So I did some googling and found the following html code which works like a charm:
http://www.cybertext.com.au/tips_HTML_chm_external.htm
<OBJECT id=hhctrl
   type="application/x-oleobject"
   classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
   codebase="hhctrl.ocx#Version=4,73,8412,0"
   width=100
   height=100>
  <PARAM name="Command" value="ShortCut">
  <PARAM name="Font" value="Arial, 10pt">
  <PARAM name="Text" value="Text:Doc name">
  <PARAM name="Item1" value=",document.ext,">
</OBJECT>
The issue I'm running into is that this code doesn't display in RoboHelp itself. That is, if I view the topic in Design mode, the hyperlink text ("Doc name" in the example above) never shows. And if I go between design and html, or close and reopen, the code disappears in the HTML view as well. The code is still there - the links show up as designed (and work) whenever I compile the project. I just can't find a way of getting them to display in RH beyond staying in the HTML view for that topic after inserting the code.
Any ideas why this is happening, and what can be done?

You could try an iFrame. Much easier in RoboHelp 9 I believe but also available in RoboHelp 8.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge

Similar Messages

  • HTML code displays on one line in browser view source

    Hi,
    In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
    Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?

    Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
    Thanks for the quick replies and helpful hints:-)

  • HTML code displayed in browser

    when viewing the jsp pages from remote network, we are having a problem. The page ends abruptly and the html tags like <td width="30" > are displayed on the browser. the content of the page also ends at the point of html code display. the server console shows no error. Not sure if it is some network or server issue. Please help.

    posting & quot(no space between & and quot) its getting replaced by " so everywhere there is a space between & and <quot/lt/gt/amp) strip that while using.
    HTML reserved characters are & quot; & amp; & lt; & gt; for ", &, <, > respectively.
    while writing such characters, do not directly put < , > &, " use the chars shown above.
    for help here is the utility method that will put the desired chars:
         public static String escapeHTML(String value)
            if (value == null) return "";
            StringBuffer strval = new StringBuffer();
            for (int i = 0; i < value.length(); i++)
                  char ch = value.charAt(i);
                  switch (ch)
                       case '"': strval.append("& quot;"); break;
                       case '&': strval.append("& amp;"); break;
                       case '<': strval.append("& lt;"); break;
                       case '>': strval.append("& gt;"); break;
                       default:
                            if (ch > 126)
                                 strval.append("&#" + String.valueOf(ch) + ";");
                            else
                                 strval.append(ch);
                            break;
             return strval.toString();
         }

  • HTML code displayed

    Right its like this....
    I can now get my data from my database (no small victory in itself. Thanx to all those that gave assistance). One of the fields contains HTML code
    <p>blah blah etcWhen the jsp displays the output it is actually showing the HTML code, not the rendered output... viewing source shows that it has been written to the response as
    & lt;p & gt;blah blah blah.....(needed the spaces to show it correctly!)
    Any clues as to why and what I can do to about it?
    Thanks
    Elija

    do a replaceAll.., if you are using Java 1.4
    String str = orig.replaceAll("& lt;", "<").replaceAll("& gt;", ">");
    You might need escapes for some of those chars for the regex parser. Or this older code I had laying around:
          * Decodes any entities in the specified string with their character
          * equivalents. 
          * @param  str  the encoded string
          * @return  the decoded string
         private String decodeEntities(String str) {
              if(str == null) {
                   return null;
              StringBuffer sb = new StringBuffer(str);
              String[] ents = {     // list of entities to replace
                   "&",      "<",      ">",      "&apos;", """
              String[] chars = {     // list of characters to replace with
                   "&",      "<",      ">",      "\'",      "\""
              int len = Math.min(chars.length, ents.length);
              int k = 0;
              for(int i = 0; i < len; i++) {
                   for(int j = 0; j < sb.length(); j++) {
                        k = j + ents.length();
                        if(k >= sb.length()) {
                             break;
                        if(sb.substring(j, k).equals(ents[i])) {
                             sb.replace(j, k, chars[i]);
              return sb.toString();

  • HTML-Code displayed instead of value

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_DATE#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_DATE#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_DATE#</font>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_FA#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_FA#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_FA#</font>') }
    </script>
    Any idea why ?
    Heinz

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine (everywhere you see "fon" replace it by "font" !!!)
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_DATE#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_DATE#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_DATE#</fon>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_FA#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_FA#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_FA#</fon>') }
    </script>
    Any idea why ?
    Heinz

  • Apex 2.2 - Correct Broken html code displaying ( " /html" )  due to data

    Yes. We are running version 2.2. Apex 4.0 isn't an option right now.
    French characters are causing the broken code "</html" to display at the bottom of the page
    when the data is pulled from the database.
    I have tested the page with non-french characters and the broken code does not appear.
    The region is a sql query updateable report region. The query is a straight forward query, just
    pulling whatever is sitting in the columns.
    The primary language for this page and all pages in the application is English.
    How does one get around this display error?
    Thank You

    This is frequently caused by failing to meet APEX installation and configuration requirements. Ensure the DAD character set is AL32UTF8 and the correct version of the PL/SQL Web Toolkit is used.
    The DAD may be at the location indicated in the documentation link below, or it may be somewhere else depending on the local configuration. The PL/SQL Web Toolkit can be checked using the query <tt>select owa_util.get_version from dual</tt> in the SQL Workshop.
    http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHADHBBG
    http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHAJFIGJ

  • WAD problem: HTML code is disappearing.

    hello all
    When i paste the HTML code into the HTML tabpage of a WAD, and then switching to the layout tab or saving the template, results in loosing the HTML code and no layout is available, only default code is available in the HTML Tab.
    is it a WAD problme? or any other reason for this problem..
    Please let me know, if anybody experianced this kind of problem
    Regards,
    Ravi

    Hi Ravi,
    Did you find any solution for this issue. i have 3.5 WAD template and I embeded a javascript code to display pop up. When I add this javascript code then i am facing the same issue as you described below. The code, layout and overview is disapeearing.
    Could you let us know what you did to resolve the issue?
    Regards,
    Niraj

  • Hub transport raw HTML code displays when iOS client used to send message

    Has anyone else encountered (and hopefully fixed) this problem? I use HTML coding to format the signatures for my staff at the hub transport rule level. Here's an example:
    <br><p style='font-size:12pt; font-family:"Arial","sans-serif"'><b>%%CustomAttribute1%%</b><br>
    %%Title%%<br>
    Tel:&nbsp;&nbsp;&nbsp;%%PhoneNumber%%<br>
    Fax:&nbsp;&nbsp;%%FaxNumber%%<br>
    %%Email%%<br><br>
    <img border=0 width="240" height="62" src="http://wiglefamily.net/CABVI/CABVILogo.jpg" alt="CABVI Logo"><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="www.cincyblind.org">www.cincyblind.org</a></p>
    <p style='font-size:8pt;font-family:"Arial","sans-serif"'>Disclaimer:  The information contained in this electronic mail message may be confidential and protected information intended only for the use of the individual or entity
    named above.  As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains. If you have received
    this communication in error, please notify us immediately and destroy the message and its attachments. </p>
    It looks great when I sent from Outlook or even Android mail clients. However, when sent from iOS mail clients I get the following in the signature:
    <html>
    <body>
    Michael Wigle IT Manager Tel: 513-487-4243 Fax: 513-221-2995
    [email protected] [CABVI Logo] www.cincyblind.org Disclaimer: The information contained in this electronic mail message may be confidential and protected information intended only for the  use of the
    individual or entity named above. As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains.
     If you have received this communication in error, please notify us immediately and destroy the message and its attachments.
    </body>
    </html>
    As you can see, the raw HTML code shows but the AD variables populate correctly. Any ideas on a solution for this problem?

    See this for the pipeline tracing:
    http://technet.microsoft.com/en-us/library/bb125198(v=exchg.80).aspx
    There's a link in that article that takes you to:
    http://technet.microsoft.com/en-us/library/bb125018(v=exchg.80).aspx
    FYI, I think you're still a bit confused. Once again you said *from* when you meant *to*! :-)
    --- Rich Matheisen MCSE&I, Exchange MVP

  • How to display some html code in the front panel

    Hello.
    I am trying to properly display a few lines of html code in some kind of indicator on my front panel.
    I was trying to use an ActiveX container with MS IE in it, but all the methods I find are to make it navigate to a given URL. I did not find any method or property by which I could give it some html code and it would display it.
    Anybody know of a way to do this? It does not have to be using ActiveX or MS IE.
    Thanks in advance,
    Alejandro

    Here is a simple way using the activeX that I have embedded in some programs in the past. You will have to call the file path to show the file.
    Hope this helps some.
    -Dave
    Attachments:
    HTML Window.vi ‏36 KB

  • How to create a pie diagram and display it in html code

    hii frds,
    happy 2 meet u all.
    I want to know how to create a pie diagram that should not be devleloped by using applet, and use it in the html code to display a pie diagram in browser.
    ex code:
    package temp;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    public class Dummy1 extends Panel {
    BufferedImage image;
         int a1,a2,l,t,w,h;
    public Dummy1()
              try
    a1=90;
              a2=210;
              l=10;
              t=10;
              w=200;
              h=200;
    } catch (Exception ie) { System.out.println("Error:"+ie.getMessage());  }
    public void paint(Graphics g) {
    // g.drawImage( image, 0, 0, null);
    g.setColor(Color.green);
              g.fillArc(l,t,w,h,0,a1);
    g.setColor(Color.red);
              g.fillArc(l,t,w,h,a1,(a2-a1));
         g.setColor(Color.blue);
              g.fillArc(l,t,w,h,a2,(360-a2));
              System.out.println("in paint");
              image=(Image)g.getGraphics();
    public JFrame getMyFrame()
    JFrame frame=null;
              try
    frame = new JFrame("Display image");
    Panel panel = new Dummy1();
    frame.getContentPane().add(panel);
    frame.setSize(500, 500);
    // frame.setVisible(true);
    // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              }catch(Exception e) { e.printStackTrace(); }
              return frame;
    static public void main(String args[]) throws
    Exception {
    JFrame frame = new JFrame("Display image");
    Panel panel = new Dummy1();
    frame.getContentPane().add(panel);
    frame.setSize(500, 500);
    frame.setVisible(true);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    - > with out using <applet> in html can't we display the awt grahics in browser.
    plz clarify my doubts.
    thank you.
    regards
    moons..

    If you are using MSSQL SERVER then try creating a stored procedure like this
    create proc Name
    select * from Table
    by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
    here is the syntax to create SP
    Syntax
    CREATE PROC [ EDURE ] procedure_name [ ; number ]
        [ { @parameter data_type }
            [ VARYING ] [ = default ] [ OUTPUT ]
        ] [ ,...n ]
    [ WITH
        { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
    [ FOR REPLICATION ]
    AS sql_statement [ ...n ]
    Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
    Regards,
    Raghavendra
    Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM

  • Display HTML code in WebDynpro for ABAP

    Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
    I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    Thanks

    >I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
    Regardless the approach is possible using the iFrame UI.  The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
    If you have the HTML content in a string, you can simply place it into the ICM cache.  This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
    Here is the code for placing the string into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
      try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
          cached_response->set_cdata( lv_html_text ).
          l_app_type = 'text/html'.
    cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 60 ).
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = lv_iframe_url
                                           response = cached_response ).
      wd_context->get_element( )->set_attribute(
        name =  `IFRAME_URL`
        value = lv_iframe_url ).

  • While in Edit Mode in Moodle - page content does not render at all, but I am able to display the underlying HTML code. Happens only after upgrade to Firefox 11.0.

    While in edit mode in the Moodle course management system, the Page Content window should display the page as it will appear to the user. If you click on the "Edit" button, you are able to view the HTML code for the page. However, when you return to the normal display mode, the page is blank. This has occurred after the upgrade to Firefox 11.0. Page is normally rendered in Internet Explorer.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    See also:
    *http://kb.mozillazine.org/Error_loading_websites
    *https://support.mozilla.org/kb/Error+loading+web+sites

  • I embedded some HTML code into adobe Muse but not displaying when the pages are Exporting to HTML

    I embedded some HTML code into adobe Muse and when I published the remote site on business catalyst the (Add This widget) HTML code shows up but when I exported the site to HTML pages and view the index page in the browser (Safari, Chrome, Firefox) the (Add this widget) HTML code wouldn't display on any of the pages. I've used this code before on other Muse sites not sure what could have happened. Thnx!!!

    Hi,
    Please take a look at this post for a similar discussion : Re: When i export my muse website my youtube video links stop working. Why is this?
    Regards,
    Aish

  • Htmldb_item displays the value of items as HTML code

    I have created an SQL Query(Updateable Report) with 1 edit column. I am trying to display the data and to do Multi-row updates using HTMLDB.Item.
    The data displays as HTML code when I define the element as a "Text Field".
    The data displays fine when I define the element as a "Standard Report Column", but then I can't edit it.
    Here is the code I use in my Sql Query:
    Select x.seq_no, x.tpc_note
    from
    (select HTMLDB_ITEM.HIDDEN(1,CONSULTANT_NO) consultant_no,
    HTMLDB_ITEM.TEXT(2,SEQ_NO) Seq_no,
    HTMLDB_ITEM.TEXT(3,TPC_NOTE,4,75) Tpc_note
    from wb_tpc_consultant_notes
    where company = v('p1_company') and
    consultant_no = v('p1_consultant_no')
    union all
    select HTMLDB_ITEM.HIDDEN(1,null) consultant_no,
    HTMLDB_ITEM.TEXT(2,((select max(seq_no)
    from wb_tpc_consultant_notes where
    company = v('p1_company') and
    consultant_no = v('p1_consultant_no')) + nvl(:p2_rows,1))) Seq_no,
    HTMLDB_ITEM.TEXT(3,null,4,75) Tpc_note
    from all_objects where rownum < nvl(:P2_ROWS, 2)) x
    order by 1
    Any ideas on what I am doing wrong? I cannot find any documentation on using the Htmldb_item API.
    Thanks
    Debbie

    Yes. I have done that. When I set it to Standard Report Column it displays fine.
    Then when I type in changes and click the apply changes button, it always goes back to the original value.
    Here is the code behind the apply changes button:
    For i in 1..htmldb_application.g_f01.count loop
    if htmldb_application.g_f01(i) is not null then
    update wb_tpc_consultant_notes
    set tpc_note = htmldb_application.g_f03(i)
    where company = v('p1_company') and
    consultant_no = v('p1_consultant_no') and
    seq_no = htmldb_application.g_f02(i);
    else
    if htmldb_application.g_f01(i) is null then
    insert into wb_tpc_consultant_notes
    (company,
    consultant_no,
    seq_no,
    tpc_note)
    values
    (v('p1_company'),
    v('p1_consultant_no'),
    htmldb_application.g_f02(i),
    htmldb_application.g_f03(i));
    end if;
    Debbie

  • HTML code gets displayed

    I'm running the Weblog service with OS 10.4.6. When creating an entry on a weblog most of the HTML code gets translated correctly; image links, html links, etc. But on certain HTML tags the code gets displayed and it's not translated. For Example if add a horizontal ruler the html tag is displayed.
    When I use the tag <hr /> the horizontal ruler does not get display only the tag gets displayed on the weblog.
    Is there a way to allow certain HTML tags to be translated?
    X-Serve   Mac OS X (10.4.6)  

    Hi,
    I will now attempt to shed as much light on this topic as possible...
    There are two main buffers where stuff gets stored before going to the ResponseOutput; the JspWriter out, and the pageContext.include(). (perhaps you are using this method in your tag). The include method sends it's stuff to the ResponseOutput immediately, where as the JspWriter does not... i don't think? The problem is that the include method is supposed to flush the JspWriter before processing the include and i found that it didn't do a very good job...
    "The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include. "
    The solution is to manually flush the JspWriter before...
    JspWriter.flush();
    hope this helps!
    Randy

Maybe you are looking for