HTML Editor Table border colors, JavaScript Integration

Hi,
i have two questions regarding the HTML Editor in KM:
1) How can I change the border color from tables?
I have tried to change it with the adjustment from Tables
in Theme Editor, but nothing happens.
2) Can I add JavaScript Coding in HTML-Editor?
For example to create icons with navigation (back, home)
or print function.
Thanks in advance
Sascha

Hi Sascha,
You might be using the HTML Editor in KM for a particular KM Document right?
Anyways, regarding question 1 you can change the border color of a html table using the bordercolor attribute e.g. bordercolor = "red"
Regarding question 2, Yes you can add javascript code to your html; but please use the Text editor; its reliable in these matters.
Regards,
Prem.
SAP GDC.

Similar Messages

  • Table border colors & Firefox/Safari

    I've noticed that when I set a table border color (using the
    Property Inspector), the color displays only in IE. Firefox and
    Safari do not display the border color like IE does. Why is this?
    How do I work around this--CSS?

    "csbridges" <[email protected]> wrote in
    message
    news:eushlq$5q7$[email protected]..
    > Yeah, that's what I thought. Thanks.
    >
    > Any idea, though, why FF doesn't recognize the HTML
    table border-color?
    > Seems odd that it wouldn't recognize this.
    Firefox recognises:
    .table {border: 1px solid #black}
    black being the border color.... so not sure why you say that
    it doesn't
    recognise it :)
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    CSS Tutorials for Dreamweaver:
    http://www.adobe.com/devnet/dreamweaver/css.html

  • How to change table border color in DW CS6

    I need to know how to change the color of the border around my tables in Dreamweaver CS6. I saw a article on how to change it on http://forums.adobe.com/message/4451812, but i really couldnt follow because im just starting out using dreamweaver and i dont know anything about code. Is there a simple way to change the border color or can you give me a basic step process on how to change the border color in the code?

    Just an FYI, nobody uses Table-based layouts anymore.  It's much better to use CSS for layouts.  Only use tables for tabular data like spreadsheets and charts.
    Dreamweaver has a bunch of pre-built CSS Layouts for you to use as starter pages.  Just go to File > New > Blank page > HTML.  Pick a layout from the 3rd panel and hit Create button.  See screenshot below.
    Nancy O.

  • Table Border Colors Not Corresponding to CSS

    Having an issue with tables not displaying their designated border colors. I think something is over-riding in CSS, but don't know how. Here is the page. I've assigned it a new class w/background-color, but it's not showing up - - just transparent borders. Thoughts?
    .table{
    display:inline;
    border-color:#000000}

    seanmc81 wrote:
    That worked for the border, thanks. Although I'm trying to get each cell outlined in #000000 as well. Would i assign something like
    border-right-color: 1px solid #000000;
    border-left-color: 1px solid #000000}
    as well?
    .table {
    border-collapse: collapse;
    .table td {
    border: 1px solid #000;

  • Table border color?

    In GoLive CS, my GoLive Help no longer works with Snow Leopard. So I'm posting here to ask how to make a table border a color, or is it black only? I've checked the Color box next to the Border field and selected a color, but the border stays black. Thanks.

    The color in the Inspector is for the table background, not the border.
    You may want to explore CSS table borders.
    If you are set on a non-CSS approach, nest one table within another with one row, one column. Color the outside table's background and set the inside table to have some cell spacing.

  • Border Color in CS5 - Gone?

    I just installed CS5.  What happened to the color picker for table border color.  I see the background color picker but no border color picker?  Is there somewhere in preferences or something to find this?  If not, is there an extension that can be added? 
    Thanks

    The border-color attribute is not a part of HTML and has never been, even though some early browsers chose to support it.  DW is now very focused on writing valid HTML in your pages, hence its removal.  As Ken suggests, the proper way to style any element's borders is to use CSS.

  • Is there a way to embed an html editor in a webdynpro application?

    Hi,
       I need to create a webdynpro app that has an html editor. I have javascript code(for an html editor) avalaible, but as far as I know there is no way to embed it. Any suggestions? Or is there an existing UI element that I missed?
    Regards,
    Harsh

    hi ,
    Using a Iframe UI u can give the source as the path to this html file(the javascript code). But everytime a event occurs the content i the IFrame UI gets refreshed.
    If u have to just display a content in Iframe UI its fine. If u r planning to navigate inside it ..it wont work out .
    You can fire a exit plug to the javscript code if its the last step in ur application or u can fork a process and create a external window with this url.
    Hope this helps
    Regards
    Bharathwaj

  • HTML table border

    is there a way to change the border color of a table to match the background color of the table? something besides white. thanks.

    I still can't get the inside border to match. here is my code:
    <html>
    <body>
         <table width="760px" border="1" bordercolor="#99CCFF" bordercolorlight="#99CCFF" bordercolordark="#99CCFF" cellpadding="0" cellspacing="0">
              <tr bgcolor="#6699FF">
                   <td width="40px"></td>
                   <td colspan="3"><font size="+2">Optics</td>
                   <td></td>
              </tr>
              <tr bgcolor="#99CCFF">
                   <td width="40px"></td>
                   <td width="600px"> </td>
                   <td width="150px"valign="top">
                        no inputs for Optics at this time.
                   </td>
                   <td width="40" bgcolor="#99CCFF"> </td>
              </tr>
         </table>
    </body>
    </html>
    there is a small, white, outline on the left of my table. i tried setting the border to "0" but the line is still there. Maybe there is a way to increase the cellpadding on only the far left and right so i wouldn't need the extra columns?

  • Drow dot-style table border in JEditorPane (editing HTML)

    Hi,
    I want to extend JEditorPane to display table border in dot style when
    displaying tables with border="0". (like most HTML editors)
    I extended HTMLEditor and it's ViewFactory and now maybe I have to write extended TableView class for rendering my tables.
    I tried to do that, but without any success.
    Can any one advice my how can I rewrite the paint method or some kind of example how to make it.
    Thanks in advance.

    Hi, i had advantage but i did it in a very stupid way. I copy/pased the
    original source and modified some inner classes.I do not remember exactlly what i did (right now i do not have the source).
    I modified BoxView and BoxPainter inner classes to achieve this effect.
    When i have the source I will paste it here.
    Have fun.

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • Use of javascript and textarea with HTML editor

    Hi all,
    I have been trying to use some onchange javascript in the HTML Form Element Attributes of an item which is a textarea with an HTML Editor. It just seems to ignore the code. When you "view source" the code does not seem to be there.
    What I am attempting to do is described in thread: detecting changes to items prior to submitting page
    i.e. to warn a user that if they leave the page without saving they will lose their changes. It works fine with most of the other items on the page i.e. text boxes, select lists but not the textarea with html editor.
    Is there somewhere else I should be putting my js for items of this type? I have spent some time looking through the forum posts but cannot find an answer so far.
    Thanks,
    Brian

    I'm having the same problem.
    Would like to use the onChange event in a textarea with html editor.
    This works in Firefox (where I don't get the html editor but only a textarea) but doesn't seem to work in IE.
    Is there another way of detecting the user has changed the text in the html editor?
    Thanks,
    Pieter

  • Customize HTML Editor in "online edit", set/change colors

    Hello Everyone,
    is it possible to set/change new colors for text in oline editing in HTML Editor in KM-Content? if the answer will be "yes"..so how to do it?
    Thank You for answers,
    Karol

    Hi Shiva,
    The first SAP note applies to other browsers and works well for IE6. The problem we face is with IE6. We are already on SPS 21 so according to the note the issue should not appear.
    Are there any other solutions for this ?
    Regards,
    Melwyn

  • Javascript error with HTML Editor

    HI,
    I was wondering if anyone could help me with a javascript error which appears upon page load. It only appears in internet explorer,
    This person appears to have solved the problem but does not explain where abouts they made the change required.
    FCK Rich Text Editor aka HTML Editor Standard IE Error/Bug
    This problem also appears on the apex demo of new features.
    If anyone can respond with help, it would be greatly appreciated
    Regards
    Kev

    Hello Kevin,
    This is a difficult issue as the init code for the editor item is being generated internally by the APEX engine, and we don’t have any control over it. As I see it, a complete solution can only be provided by the APEX team.
    Until then I’m using a workaround, based on the original init code. The FCK Editor takes a standard textarea and convert it into the editor item, based on its init parameters.
    First I’m uploading the FCK JavaScript code, using the page HTML Header Text (If you are using the editor a lot, you can define a page template to do that for you). The code is:
    <script type="text/javascript" src="/i/fck/fckeditor.js"></script>Now I’m using a regular textarea item as the base item for the editor. I’m using a regular onload event to init this item:
    onload="initFCK('P80_MY_EDITOR');"The JavaScript function I’m using is similar to the following:
    function initFCK(pItem) {
                var oFCKeditor        = new FCKeditor(pItem) ;
                oFCKeditor.BasePath   = "/i/fck/" ;
                oFCKeditor.Width      = '760';
                oFCKeditor.Height     = '105';
                oFCKeditor.ToolbarSet = 'Basic' ;
                oFCKeditor.Config[ "AutoDetectLanguage" ] = false;
                oFCKeditor.Config[ "DefaultLanguage" ]    = "en";
                oFCKeditor.ReplaceTextarea() ;
    }Of course, the init parameters can be changed according to your specific needs.
    This code works fine on IE and FF (didn’t check other clients).
    Regards,
    Arie.

  • HTML Editor Kit

    Hi,
    I want to display following html in JEditotKit.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>ExploreCollbarativeNetworks</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    INPUT.fancyButton
              font-family: Verdana, Arial,Georgia;
              border-right: #000000 1px solid;
              border-top: #000000 1px solid;
              font-weight: bold;
              font-size: 11px;
              border-left: #000000 1px solid;
              cursor: hand;
              color: black;
              border-bottom: #000000 1px solid;
              height: 20px;
              background-color: #F3F9FF;
    <!--
    body {
         margin-left: 0px;
         margin-top: 0px;
         margin-right: 0px;
         margin-bottom: 0px;
    .style1 {
         color: #FF7830;
         font-weight: bold;
    -->
    </style>
    <link rel="stylesheet" href="style.css" type="text/css">
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function openfile()
         document.execCommand("Open",null,"index.htm")
    function Saveasfile()
         document.execCommand("SaveAs",null,"index.htm")
    function showques()
         tot=0;
         for(i=0;i<document.form1.c.length;i++)
              if(document.form1.c.checked==true)     
                   tot=tot+1                                             
         if(tot==1)
              //alert("sssssssss")
              ob=document.getElementById('table1')
              ob1=document.getElementById('p1')
              ob.style.display="block"
              ob1.style.display="none"
              document.form1.next.disabled=true
         if(tot==2)
              ob=document.getElementById('table1')
              ob1=document.getElementById('p1')
              ob.style.display="block"
              ob1.style.display="none"
              document.form1.next.disabled=false
         //alert(tot)
    function showques1()
         ob=document.getElementById('table1')
         ob1=document.getElementById('table2')
         ob.style.display="none"
         ob1.style.display="block"
         document.form1.previous1.disabled=false
    function showques2()
         ob=document.getElementById('table1')
         ob1=document.getElementById('table2')
         ob.style.display="block"
         ob1.style.display="none"
         document.form1.previous.disabled=false
    //-->
    </SCRIPT>
    <style type="text/css">
    <!--
    .style2 {font-size: 2pt}
    .style13 {color: #000000}
    .style15 {font-size: 12px}
    .style16 {font-size: 12px; color: #000000; }
    .style17 {color: #CCCCCC}
    .style19 {color: #F1F4F8}
    .style22 {color: #FFFFFF}
    -->
    </style>
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <form name="form1" method="post" action="">
    <table width="975" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td>
    <TABLE border="0" cellspacing="0" cellpadding="0" width="975" align="center">
    <TR>
    <TD width="100%" >
    <TABLE width="975" border="0" align="center" cellpadding="0" cellspacing="0">
    <TR>
    <TD >
    <table width="750%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    <table width="750" border="0" cellspacing="1" cellpadding="1" align="left" bgcolor="#FFFFFF" bordercolor="#CCCCCC">
    <tr>
    <td colspan="2"></td>
    </tr>
    <tr>
    <td colspan="2"><img src="images/forum.gif" width="94" height="31"></td>
    </tr>
    <tr>
    <td colspan="2"></td>
    </tr>
    <tr bgcolor="#DDEEFF" valign="middle">
    <td width="6%" height="20" align="center"><b>  <img src="images/plusbottom1.gif" width="11" height="11" align="absmiddle" id="img" border="0"></b></td>
    <td width="94%" align="left" bgcolor="#DDEEFF">
    <b> <span class="bgcolor2">Please name your
    GM partnership? </span></b></td>
    </tr>
    <tr>
    <td colspan="2"></td>
    </tr>
    <tr>
    <td colspan="2">
    <div style="display:none" id="d1">
    <table width="734" border="0" id="t1" style="display:none" align="right">
    <tr>
    <td width="10 px" valign="top" height="20" bgcolor="#EBEBEB" >
    <div align="center"><strong>Q.1</strong></div>
    </td>
    <td width="724" bgcolor="#EBEBEB" align="left" >
    <div align="justify"><b class="bgcolor1">Please
    name your GM partnership? </b> </div>
    </td>
    </tr>
    <tr>
    <td width="10 px" valign="top" height="20" align="center" ><b>Ans</b></td>
    <td width="724" align="left" >fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf </td>
    </tr>
    <tr>
    <td width="10 px" valign="top" height="20" bgcolor="#EBEBEB" >
    <div align="center"><strong>Q.2</strong></div>
    </td>
    <td width="724" bgcolor="#EBEBEB" align="left" >
    <b>What is you role on the partnership?
    </b> </td>
    </tr>
    <tr>
    <td width="10 px" valign="top" height="20" align="center" ><b>Ans</b></td>
    <td width="724" align="left" >fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr bgcolor="#DDEEFF">
    <td width="6%" bgcolor="#DDEEFF" height="20" align="center"><b >  <img src="images/plusbottom1.gif" width="11" height="11" align="absmiddle" id="img1" border="0"></b></td>
    <td width="94%" align="left"> <b> <span class="bgcolor2">Please
    name your GM partnership? </span></b></td>
    </tr>
    <tr>
    <td colspan="2"></td>
    </tr>
    <tr>
    <td colspan="2">
    <div style="display:none" id="d2">
    <table width="734" border="0" style="display:none" id="t2" align="right">
    <tr bgcolor="#EBEBEB" align="left">
    <td width="10 px" valign="top" height="20" >
    <div align="center"><strong>Q.1</strong></div>
    </td>
    <td width="724" bgcolor="#EBEBEB" align="left" >
    <div align="justify"><b>Please name your
    GM partnership? </b> </div>
    </td>
    </tr>
                                                 <tr>
    <td width="10 px" valign="top" height="20" align="center" ><b>Ans</b></td>
    <td width="724" align="left" >fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf </td>
    </tr>
    <tr bgcolor="#EBEBEB" align="left">
    <td width="10 px" valign="top" height="20" >
    <div align="center"><strong>Q.2</strong></div>
    </td>
    <td width="724" align="left" >
    <div align="justify"><b>What is you role
    on the partnership? </b>
    </div>
    </td>
    </tr>
                                                 <tr>
    <td width="10 px" valign="top" height="20" align="center" ><b>Ans</b></td>
    <td width="724" align="left" >fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf fgdhsgfjhdsgfjhsdgfhd
    dsfgdsf sdgfsdjf sdgfsdjhf sdfgsdjf dsfgdjsf
    sdhjfgdsjf dsfgdsjf sdfgsdjf sdfgsdjhf
    dsfgdjshf dsfgdsjhf dsfgdsjf </td>
    </tr>
    <tr>
    <td width="10 px"> </td>
    <td height="94%" width="724" align="left"> </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
    <td colspan="2"> </td>
    </tr>
    <tr>
    <td colspan="2"> </td>
    </tr>
    <tr>
    <td colspan="2"> </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    </table>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </td>
    </tr>
    </table>
                   </form>
                   <script>
                   function show()
                        obj=document.getElementById("img")
                        obj1=document.getElementById("d1")
                        obj2=document.getElementById("t1")
                        obj3=document.getElementById("img1")
                        obj4=document.getElementById("d2")
                        obj5=document.getElementById("t2")
                        check=false
                        if(obj1.style.display=="none")
                             obj.src="images/minusbottom1.gif"
                             obj1.style.display="block"
                             obj2.style.display="block"
                             obj3.src="images/plusbottom1.gif"                         
                             obj4.style.display="none"
                             obj5.style.display="none"                         
                             check=true
                        if(!check)
                             obj.src="images/plusbottom1.gif"
                             obj1.style.display="none"
                             //alert(obj2.src)
                   function show1()
                        obj=document.getElementById("img")
                        obj1=document.getElementById("d1")
                        obj2=document.getElementById("t1")
                        obj3=document.getElementById("img1")
                        obj4=document.getElementById("d2")
                        obj5=document.getElementById("t2")
                        check=false
                        if(obj4.style.display=="none")
                             obj.src="images/plusbottom1.gif"
                             obj1.style.display="none"
                             obj2.style.display="none"
                             obj3.src="images/minusbottom1.gif"                         
                             obj4.style.display="block"
                             obj5.style.display="block"                         
                             check=true
                        if(!check)
                             obj3.src="images/plusbottom1.gif"                         
                             obj4.style.display="none"
                   </script>
                   </body>
                   </html>
    It is generated by our web designer, I am not knowing anything abt html. When i tried to display it in JEditor kit, it is not displayed properly.
    JEditorPane jPane = new javax.swing.JEditorPane();
    jPane.setDocument(getHTMLDocument());
    My getHTMLDocument() is as under :
    public HTMLDocument getHTMLDocument()
    HTMLDocument m_oHTMLMessageDoc = new HTMLDocument();
    HTMLEditorKit m_oHTMLEditor = new HTMLEditorKit();
    InputStreamReader in = null;
    m_oHTMLMessageDoc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
    try {
    in = new InputStreamReader(new FileInputStream("d:\\help.html"));
    m_oHTMLEditor.read(in, m_oHTMLMessageDoc, 0);
    catch (IOException ex) {
    ex.printStackTrace();
    catch (BadLocationException ex) {
    ex.printStackTrace();
    return m_oHTMLMessageDoc;
    It is displaying javascript functions as text.
    Can anybody please help me to display this html file.
    Thanks in advance,
    Dimple

    1) Swing related questions should be posted in the Swing forum.
    2) Use the "code" formatting tags when posting code, so the code is readable
    3) Swing components don't support JavaScript

  • Gridview Border color issue in IE10

    Hi,
    I am facing an issue in IE10(Version: 10.0.9200.17116, Update Versions: 10.0.21 (KB2987107)).
    when I try to render a grid view, the borders of the cell are not in proper color.
    The grid view is applied black border for cells and text color of grid cell is Red and Yellow on alternate row. But the border color of the grid view cell gets mixed with the text color inside the cell  and applied black border.
    You can see my post on (http[:]//forums[dot]asp[dot]net/t/2024404.aspx)
    Please let me know a suitable solution for the issue.
    Regards,
    Salman

    Hi,
    I noticed that you're using IE10(Version: 10.0.9200.17116, Update Versions: 10.0.21 (KB2987107)).As Robear mentioned in the first reply, we recommend to install the latest update KB 3008923 for IE to have a best performance.
    Have you checked the application code with F12 developer tool, then change the user agent string below Internet Explorer 10 as a test?
    I've checked the link you posted in the asp.net forum, seems you're trying to delelop a web application in IE, I'm not a developer, but I found some useful links
    some guys recommend css instead of html and others point a direction of tables inheritance
    http://stackoverflow.com/questions/16803844/border-colours-in-ie10-incorrect-all-other-browsers-ok
    https://social.msdn.microsoft.com/forums/ie/en-us/c3797399-3571-48e8-8d09-b771a9665109/ie10-incompatible-on-table-border-design
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Exporting a mailing label report to PDF shifts the address off ...

    Hi. The report is created using the wizard "File->New->Mailing Label Report". Everything looks good at the preview. Following are the dimensions: - 4 X 1 inches - 2 labels across, 10 down - Paper would be 8-1/2 X 11 inches (Letter sized) (labeled) pa

  • Problem office 2004

    Hello I have a problem with installing office 2004 for mac. When i try to install office the installer crashes. I have tried to delete office file's but i couldn't find older office files. thanks

  • WL10 Compiler executable.exec error "too many open files" deploying ear

    When I try to deploy an ear containing a web module and some ejb modules, I obtain this error: <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, MB-ADM_EAR [archive: /wl/wlments/MB-ADM_EAR/MB-ADM_EAR.ear], to Clu

  • Can't open forms responses

    I am haveing trouble opening form responses from the "my forms" page. The clock just turns and never opens. This has been for the last 2 days.

  • Java.lang.Error: NYI

    I built and deployed the Sun Webservices (version: jwsdp-1_0 from "summer") "hello" example from their tutorial. It deploys fine but when accessing it with the client I get the following error from the Weblogic server. --------------- Runtime error -