Reating an HTML Table Contents using named Anchors

I have a on website:
http://www.vpea.org/Bylaws/Test/bylaws_toc.htm
a table of contents for our Association Bylaws. Just in case
I've created named anchors using titles such as article_I,
article_II, etc.
is there anyway to make when clicking on a given TOC entry
that it will go to that point perhaps highligting it, going to that
point the document?

firstly, if you have multiple rows.. you need to start each row with <tr> and end with a </tr>. You just have one in the beginning and end,which will obivously give data in one row.
out.println("<tr>");
for (int a = 0 ; a < log.length; a++) {
for (int b = 0 ; b < 4; b++){
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
out.println("<td>" + (log[a]) +"</td>");
a++;
b++;
out.println("</tr>");

Similar Messages

  • Using named anchors

    Hi everybody,
    Let's say I have a two column layout with a series of links inside the left column (sidebar). Is it recommended to use named anchors to link text in one DIV to text inside another? Can I create a menu inside the sidebar and then target text inside the mainContent DIV? I've done a few tests and it seems to work well, but I'm not sure if this is the best way to do this. If not, can anybody recommend a better alternative?
    Thanks so much.
    Kind regards,
    Mark

    I don't like 1 page web sites.  I really think it's a missed opportunity.  Search engines pay more attention to sites that are broken up into logical sections with unique page titles and plenty of relevant, keyword rich content.  
    index.html
         <title>XYZ Company Home Page</title>
    products.html
         <title>XYZ Products</title>
    services.html
         <title>XYZ Services</title>
    contact.html
         <title>XYZ Contact Form</title>
    testimonials.html
         <title>XYZ Testimonials</title>
    etc....
    To give your site a uniform look & navigation, read about DW Templates. 
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Html link to a named anchor within a PDF file?

    So, I want a link on a web page to hop to a specific part of
    a pdf file.
    Same thing as using named anchors really. The issue I see
    here is that the
    web pag (link) has no real notion of pdf's implementation of
    anchors, so how
    could it know to utilise them?
    I assume this is not possible, but need to make sure.
    Thanks.

    It is possible. You can link to a page in any pdf document,
    or link to a 'Named Destination'
    http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

  • Display Table contents using HTMLB...Urgent Help Plz...

    Hello All,
    Im working on EP SP14 and SQL Server 2000.
    I have successfully established database connection.
    I want to know <b>how can I display Table contents using TableViewModel in HTMLB</b>.
    Please help.
    Its urgent.
    Awaiting Reply.
    Thanks in advance,
    Uday<b></b>

    See /thread/80270 [original link is broken]
    (please stop crossposting every question into two forums; thanks in advance)

  • How to extract HTML table contents

    Does someone know how to extract HTML table contents? I want to download a html file which contains table from internet and extract the table contents. Finally, insert the table contents into database.

    To do this you have to user a Parser to parse your html file and retrieve the information you want.
    Please have a look at the following classes:
    HTMLEditorKit.ParserCallback
    ParserDelegator()
    Here is an example which retrives the FRAMSET src of an html file. The purpose here is to find if the html file describes a multi-frame page or not. If so it add the frame src name to a Vector
    HTMLEditorKit.ParserCallback callback =
    new HTMLEditorKit.ParserCallback() {                      public void handleSimpleTag(HTML.Tag t,      MutableAttributeSet a, int pos)
         if (t.equals(HTML.Tag.FRAME))
    {                                          Logger.debug(this, "Frame tag found in "+f.getURL());                      Enumeration e = a.getAttributeNames();
    while (e.hasMoreElements())
                             Object name = e.nextElement();
                             if (name.toString().equals("src"))
                                  Object ob = a.getAttribute(name);                     
                                  Logger.debug("found an src "+ob);
                                  currentFrameSrc.add(new String(ob.toString()));
                   Reader reader = new FileReader(aFile);
                        new ParserDelegator().parse(reader, callback, false);
    It's not clean but I hope it will help :-)
    Stephane

  • Please!!!!!!   How can i add rows in html table dynamically [use jsp,bean]

    hello, i am a fresher in jsp. i want to add new rows in html table dynamically.In my coding, just only shows in one row . please help my problem with correct coding and i don't want to use database. Thanks ...............!
    Here is my coding-------------------
    ---------------- form.jsp --------------------->
    <%@ page import="java.util.*,newtest1.Validation" %>
    <jsp:useBean id="mybean" scope="page" class="newtest1.Validation" />
    <jsp:setProperty name="mybean" property="name" param="name" />
    <jsp:setProperty name="mybean" property="age" param="age" />
    <% s[i][j] %>
    <html>
    <head><title>Form</title></head>
    <body>
    <form method="get">
    <table border="0" width="700">
    <tr>
    <td width="150" align="right">Name</td>
    <td width="550" align="left"><input type="text" name="name" size="35"></td>
    </tr>
    <tr>
    <td width="150" align="right">Age</td>
    <td width="550" align="left"><input type="text" name="age" size="35"></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="5">
    <tr><td> </td></tr>
    <tr><td><input type="submit" name="submit" value="ADD"></td></tr>
    <tr><td> </td></tr>
    <tr><td width="100%" align="center" border=1>
    <% int count=mybean.getStart();
    for(int i=count; i<count+1; i++) { %>
    <tr>
    <td><jsp:getProperty name="mybean" property="name" /></td>
    <td><jsp:getProperty name="mybean" property="age" /></td>
    <td><%= count %></td>
    <% count+=1; %>
    </tr>
    <% } %></td></tr>
    </table>
    </form>
    </body>
    </html>
    ----------------- Validation.java ----------------->
    package newtest1;
    import java.util.*;
    public class Validation {
    private String name;
    private String age;
    static int start=0;
    public Validation() {    name=null;
    age=null;
    ++start;}
    public void setName(String username) { if(username!="")
    name=username;
    public String getName() { return name;  }
    public void setAge(String userage) {  if (age!="")
    {age=userage;}
    public String getAge() {  return age;   }
    public int getStart() {
    return start; }

    Hi, Do you mean to say,
    You have an HTML page in which you have a text field and an add button. If you enter anything in that text field and click on Add button the text field contents should be displayed in the same HTML page and you should be able to go on entering new values into the text field and you should be able to retain and display all the previously entered values..
    and finally the list of added items are not stored in the database..
    If this is the case
    i. Your html form should be submitted to the same page.
    ii. You need to have a Vector which holds the entered values.
    iii. Bind the vector object to the request object and collect the same vector object from the request and display its contents...
    I think this would help...

  • Deleting DB table contents using internal table

    Hi Gurus,
    I have a requirement of deleting DB table contents. Requirement is as follows,
    User will select the DB table description in the seletion screen using drop down list.
    Whichever description he selects,the corresponding table contents should be deleted and we should not hardcode the table name in if or case conditions.
    Is this possible?
    Regards,
    G.Srinivasan

    Hi,
    You can get the Table name from the desciption from table DD02T.
    Use the Key word DELETE to delete the contents of a table from program.
    PARAMETERS : p_ddtext type ddtext.
    select single * from dd02t into table db_tab where DDLANGUAGE = 'EN' and ddtext = p_ddtext.
    DELETE DB_TAB-TABNAME
    FROM ITAB. " Take F1 help on this Key word
    IMPORTANT --> Do not manually delete the contents of a DB table in SAP.
    The individual records only deleted through BDC or any other Acceptable Methods.
    Rest is left to you. Be careful about this activity. Take enough Authourizations/ Permissions or consult your BASIS or other team members.
    Cheerz
    Ram

  • Reading Grid/Table contents using ECATT

    Need to retrive the SAP table/grid column or all columns contents using SECATT, please provide the solution.
    Thanks in ADVANCE.

    hi,
    eCATT Links
    From SAP Help
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    From SAP Service Marketplace
    https://websmp204.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003012112003E
    THANKS,
    sendil

  • Using Named Anchors with Dynamic PHP Pages

    I have a web app that uses PHP to generate pages out of a
    MySWL database. The links to the page look something like:
    www.domain.com/display.php?id=300.
    On this page I'd like to include a link to an anchor towards
    the bottom with a feedback form. I have a named anchor called
    "add_rating". The link I'm using is
    "www.domain.com/display.php?id=300#add_rating".
    This link doesn't work in any browser/OS combination I've
    tried and so it must be my code. Any help?

    "
    http://www.domain.com/display.php#add_rating?id=300''
    (that's double quotes around)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Elie Chocron" <[email protected]> wrote in
    message
    news:gq8rb3$pqk$[email protected]..
    >I have a web app that uses PHP to generate pages out of a
    MySQL database.
    >The
    > links to the page look something like:
    www.domain.com/display.php?id=300.
    >
    > On this page I'd like to include a link to an anchor
    towards the bottom
    > with a
    > feedback form. I have a named anchor called
    "add_rating". The link I'm
    > using is
    > "www.domain.com/display.php?id=300#add_rating".
    >
    > This link doesn't work in any browser/OS combination
    I've tried and so it
    > must
    > be my code. Any help?
    >

  • How to transfer tabl content using ALE

    Hi All
    I need to to transfer the content of a HR table (T526) using an ALE scenario. However I have not found a way to do this. I stumpled over CONDA2 but not quite sure if this suits the bill. Anybody out there who can help.
    I am not an HR wiz so bear with me if this is dead obvious.
    Hope somebody can help
    Cheers

    Hello Bowie,
    Could you please help in how to use CONDA2 message type in ditributing HR Configuration data like data from following tables..
    T001P     Personnel Area/Subarea
    T500P     Personnel Areas
    T503     Employee Group/Subgroup
    T511     Wage Types
    T512T     Wage Type Texts
    T512Z     Permissibility of Wage Types per Infotype
    T528B     Positions
    T554S     Attendance and Absence Types
    T554T     Attendance and Absence Texts
    Thaks,
    Venkat

  • Animate within a symbol using "named anchors"

    hi everyone,
    i would like to set up navigation of 3 colored buttons (red, blue & green) that will scroll on mouse down to the corresponding large colored rectangle.
    https://www.yousendit.com/download/UVJnUGhlZ2owMEhFdzhUQw
    in the below link, there is a file that i was able to make the blue & green buttons work if pressed from when the page first opens in the browser.
    but how to get the buttons to work if you are on "green" and want to go to "blue" or "red"?
    thank you all for your help
    -sharon
    ps- in Muse or Flash this is called "named anchors". I'm not sure what to call it in Edge
    -s

    hi everyone,
    i just noticed that i was missing the EA file in the link. Below is a link with the native file included: (3_buttons_3-6-13a.zip)
    https://www.yousendit.com/download/UVJnUGhTVnNCSnA4SjhUQw
    i also tried another approach that seems like it should work, but doesn't. Below is the link: (v6_3-buttons_3-9-13.zip)
    https://www.yousendit.com/download/UVJnUGhTVnNoMldybHNUQw
    i would greatly appriciate your help getting either of these 2 versions to work
    thank you very much-
    sharon

  • Extracting/Setting PDF Table contents using javascript

    Hello,
    Can you experts please let me know the following?
    1. Is there a way to extract PDF table contents?
    2. Can I set the row value via java script?
    Bottom line is I need to implement editable table in PDF. What are the ways I can achieve this feat?
    Thanking you in advance!
    Best Regards

    Hi PDL,
    I am actually writing a piece (C++) of code that generates Acroform currently. It is still in the primitive stage, just provided support only for text fields, choice fields and buttons.
    As I mentioned above, I have a requirement to generate a editable table...
    Sure I can provide the PDF(acroform) that is generated by the code.
    But how can I send the file to you? Can you share your email-Id? Or can I paste the content of the output here ?
    %PDF-1.5
    %%âãÏÓ
    1 0 obj
    <<
    /Pages 2 0 R
    /AcroForm 6 0 R
    /Type /Catalog
    >>
    endobj
    6 0 obj
    <<
    /CO []
    /Fields [ 7 0 R 9 0 R 10 0 R 11 0 R ]
    /NeedAppearances true
    >>
    endobj
    2 0 obj
    <<
    /Type /Pages
    /Count 1
    /Resources
    <<
    /ProcSet 3 0 R
    >>
    /Rotate 0
    /Kids [4 0 R ]
    >>
    endobj
    7 0 obj
    <<
    /A 8 0 R
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 14 0 R >>
    >>
    /F 4
    /FT /Btn
    /Ff 65536
    /H /P
    /MK
    <<
    /BC[0.87 0.83 0.55]
    /BG[1.00 0.94 0.55]
    /CA(PDF Button)
    >>
    /P 4 0 R
    /Rect [300.00 690.00 400.00 710.00]
    /Subtype /Widget
    /T (Button)
    /TU (PDF Button)
    /Type /Annot
    >>
    endobj
    8 0 obj
    <<
    /S /JavaScript
    /JS (if \(app.viewerVersion>=5\) {app.alert\("I-PDF 0.1 DEMO", 1\);})
    >>
    endobj
    9 0 obj
    <<
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 12 0 R >>
    >>
    /F 4
    /FT /Tx
    /Ff 12582912
    /H /P
    /MK
    <<
    /BC[0.00 0.00 0.00]
    /BG[1.00 1.00 1.00]
    >>
    /MaxLen 45
    /P 4 0 R
    /Rect [200.00 750.00 400.00 770.00]
    /Subtype /Widget
    /T (Text Field1)
    /Type /Annot
    >>
    endobj
    10 0 obj
    <<
    /BS <</W 1 /S /S>>
    /DA (/Helv 12.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 13 0 R >>
    >>
    /F 4
    /FT /Tx
    /Ff 12591104
    /H /P
    /MK
    <<
    /BC[0.00 0.00 0.00]
    /BG[1.00 1.00 1.00]
    >>
    /MaxLen 15
    /P 4 0 R
    /Rect [200.00 720.00 400.00 740.00]
    /Subtype /Widget
    /T (Text Field2)
    /Type /Annot
    >>
    endobj
    11 0 obj
    <<
    /DA (/Helv 10.00 Tf 0.00 0.00 0.00 rg 0 G)
    /DR
    <<
    /Font <</Helv 15 0 R >>
    >>
    /F 4
    /FT /Ch
    /Ff 67239936
    /MK <</BG[0.87 0.83 0.55]>>
    /Opt [[( )( )] [(AMX) (American Express)] [(CBL) (Carte Blanche)] [(DCL) (Diners club)] [(DSC) (Discover)] [(ENR) (EnRoute)] [(JCB) (JCB)] [(MSC) (Mastercard)] [(VIS) (Visa)]]
    /P 4 0 R
    /Rect [200.00 650.00 300.00 670.00]
    /Subtype /Widget
    /T (Choice)
    /Type /Annot
    /V (VIS)
    >>
    endobj
    4 0 obj
    <<
    /Parent 2 0 R
    /Annots [7 0 R 9 0 R 10 0 R 11 0 R ]
    /MediaBox [0 0 595.00 842.00]
    /Resources
    <<
    /ProcSet [/PDF /Text /ImageI /ImageC]
    >>
    /Contents 5 0 R
    /Type /Page
    >>
    endobj
    5 0 obj
    <</Length 26>>
    stream
    q
    BT
    36 806 Td
    ET
    Q
    0 0 m
    endstream
    endobj
    3 0 obj
    <<[/PDF /Text /ImageI /ImageC]>>
    endobj
    12 0 obj
    <<
    /BaseFont /Helvetica
    /Subtype /Type1
    /Encoding /WinAnsiEncoding
    /Type /Font
    >>
    endobj
    xref
    0 13
    0000000000 65535 f
    0000000016 00000 n
    0000000172 00000 n
    0000002016 00000 n
    0000001756 00000 n
    0000001942 00000 n
    0000000081 00000 n
    0000000272 00000 n
    0000000603 00000 n
    0000000709 00000 n
    0000001017 00000 n
    0000001326 00000 n
    0000002064 00000 n
    trailer
    <<
    /Root 1 0 R
    /Size 13
    >>
    startxref
    2162
    %%EOF

  • Read RFC output table contents using com.sap.mw.jco.* API

    Hi,
    I have a requirement where I need to call an RFC in JSPDynpage component.
    In doInitialization method, I wrote following code: -
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentContext myContext = request.getComponentContext();
    IPortalComponentProfile myProfile = myContext.getProfile();
    String sapSystem = myProfile.getProperty("SystemIdentifier");
    ISystemLandscapeWrapper landscapeWrapper = (ISystemLandscapeWrapper) UMFactory.getSystemLandscapeWrappers().get(0);
    ISystemLandscapeObject systemLandscapeObject = landscapeWrapper.getSystemByAlias(sapSystem);
    IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService(JCO_CLIENT);
    request.getNode().putValue(LOCALE_NODE_KEY,     Locale.ENGLISH);
    IJCOClientPoolEntry poolEntry = clientService.getJCOClientPoolEntry(sapSystem,request);
    JCO.Client client = poolEntry.getJCOClient();
    client.connect();
    IRepository repository = JCO.createRepository("repository", client);
    IFunctionTemplate functionTemplate = repository.getFunctionTemplate(Z_BAPI_EMP_GBU_GET);
    JCO.Function function = new JCO.Function(functionTemplate);
    JCO.ParameterList importList = function.getImportParameterList();
    importList.setValue("US", "OBJTYP");
    importList.setValue(request.getUser().getUniqueName(), "USRID");
    client.execute(function);
    Now, this RFC returns two tables.
    I want to know how do I read a table and iterate over its contents to read all fields.
    (Till now, I only used getString("GBU") method that just reads an export type of String parameter)
    Please help.
    Thanks & Regards,
    Amey

    Amey,
    If I understood the problem correctly. A snippet will be something like
                   JCO.Table itemList = function.getTableParameterList().getTable("QUALIFICATION");
                   Vector qualItems = new Vector();
                   QualItemBean qualItem;
                   for (int i = 0; i < itemList.getNumRows(); i++) {
                        itemList.setRow(i);
                        qualItem = new QualItemBean();
                        qualItem.setQual(itemList.getString("TBJID").trim());
                        qualItem.setQualText(itemList.getString("TTEXT").trim());
                        qualItem.setVBDate(itemList.getString("VBEGD").trim());
                        qualItem.setSBDate(itemList.getString("SBEGD").trim());
                        qualItem.setSEDate(itemList.getString("SENDD").trim());
                        qualItem.setVEDate(itemList.getString("VENDD").trim());
                        qualItem.setProfText(itemList.getString("PROFC_TEXT").trim());
                        qualItems.add(qualItem);
                   qualBean.setQual(qualItems);
    Ofcourse you need to change the variable names based on your scenario.
    Thanks
    Prashant

  • Fetching table content using JUCtrlHierBinding binding

    There is a scenario where I have dragged and drop an employee VO on the page. Now I want to access the current row's email attribute.
    So this is the code in the managed bean that we normally use to access the value of the attribute using DCIteratorBinding:
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding iter = bc.findIteratorBinding("EmployeesView1Iterator");
        Row r = iter.getCurrentRow();
        String issueStatus = (String)r.getAttribute("Email");
    Can we do the same using JUCtrlHierBinding? The JUCtrlHierBinding class is used to bind tree, treetable, and table components to the ADF model. So using JUCtrlHierBinding, it should work.
    I am trying but not able to get it. This is my code:
            JUCtrlHierNodeBinding rowdata = (JUCtrlHierNodeBinding)this.empTable.getRowData();
            System.out.println("Email: " +
                               rowdata.getCurrentRow().getAttribute("Email"));I have binded empTable with the Employee table.
    JDev 11.1.1.6

    Hi,
    actually no, you don't deserve points for the answer, because you did not answer the question. Your question has been
    Can we do the same using JUCtrlHierBinding?
    The code you posted as an answer uses JUCtrlHierNodeBinding which is the table row wrapper class but not the answer to the question you asked ;-)
    So the previous answer would have been correct if it was
    CollectionModel  tableModel = (CollectionModel  ) empTable.getValue();
    JUCtrlHierBinding treeBinding =   (JUCtrlHierBinding ) tableModel.getWrappedData();
    DCIteratorBinding iter=treeBinding.getIterator();
    Row row = iter.getRowSetIterator().getCurrentRow();
    if (row != null )
       email= (String)row.getAttribute("Email");
        System.out.println("Selected value " + nodeBinding.getAttribute("Email"));
    }Sorry, adfSonal, I have no points for you. However, Puthanampatti deserves 50% of the right answer
    Frank

  • Getting data from html tables

    iam new to java
    how we can retrieve the content of html table .
    if suppose i have an website www.abc.com from this website i have to get the html table data how it can be possibel
    thank u
    shaunak

    You don't need to include any jars if you do not use any specific libs / APIs.
    In addition I'd rather use regexes than indexOf - they're much more flexible.
    To match a html table contents use a pattern like that:
    String pattern = "<table[^>]*>([^<]*?)</table>";After that a matcher using that regex against the input wiil contain the matched the data insite the <table> tag in group no 1.
    You can use similar expressions with <tr> and <td>
    Regards.

Maybe you are looking for

  • Error while invoking external WS call from BPEL2.0

    Hi, I have a BPEL process from where I am making external WS call. I have the WSDL file & the Endpoint URL for the external WS. So,I have follow the below steps at BPEL editor. 1. Synchronous BPEL process[it includes 'receiveInput' & 'replyOutput'].

  • Photo sharing option non existent in iTunes

    Hi Guys Bit of a weird one, a customer of ours cannot get photo sharing to work between his Mac (13" Macbook Pro) and 2nd generation Apple TV, music, video sharing etc all work absolutely fine but his iTunes (version 10.0.1) does not have "Choose Pho

  • Material Forecast Report

    Hi, Is there any Material Forecast - Report. We want the following columns Material no. Material Description Material Group Month Wise Forecast Values Please let me know if we can get any report with the above following values from Standard SAP. Also

  • Can't use profiler (Performance Analyzer) in Sun Studio 12, please help!!

    Hi, I've mandriva 2008 (linux), and I've installed Sun Studio 12. At the first start of Sun Studio a message appear: Warning - could not install some modules:      ATD Sun Studio Core - The module named com.sun.tools.swdev.toolscommon was needed and

  • Arbeitsabläufe Webentwicklung mit Adobe CC und Microsoft Visual Studio

    Hallo liebe Community, ich brauch mal einen kleinen Rat, Anregungen, wie auch immer. Kurzum geht es um die Arbeitsabläufe beim Erstellen und Gestallten von Webseiten. Ich stelle mir die Frage, ob meine Arbeitsabläufe gut/sinnvoll sind bzw. wo ich opt