Linking from html article to html resources

I am trying to link to an image in the HTMLResources.zip and have been extremely unsuccessful and frustrated
the image is located at  root/HTMLResources.zip/images/logo4.png
i have tried the following
../HTMLResources/images/logo4.png
../../HTMLResources/images/logo4.png
../../../HTMLResources/images/logo4.png
all unsuccessful
the html article is located
root/cg_html/intro/intro.html

I assume by link you mean that you have an img element, correct?
Your code should look like this:
<img src="../HTMLResources/images/logo4.png" alt="Company Logo" />
Is that what you have in the HTML article?
EDIT: I corrected the link, it previously linked up two directories, it should only be one.

Similar Messages

  • Can't pinch and zoom pdfs from HTML Resources anymore

    After Folio Viewer Update there is no pinch and zoom in pdf from HTML-Resources.
    Before the Update everything works fine in my Folios. Has anybody the same problem?
    I rebuild a Folio V32, Only vertical, Standard PDF - same Problem. (iOS8.0.2. Ipad)
    Is there a solution?
    Thanks

    Yes. I am having the same problem. I cannot pinch and zoom into pdfs from HTMLResources.zip, which is making them unusable in my app for the phone version.

  • How can i get all links from html file ?

    I tried some code:
    List<string> metas = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    HtmlWeb web = new HtmlWeb();
    HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
    doc.Load(filename, Encoding.UTF8);
    var metaTags = doc.DocumentNode.SelectNodes("//meta");
    if (metaTags != null)
    foreach (var tag in metaTags)
    if (tag.Attributes["name"] != null && tag.Attributes["content"] != null)
    text = tag.Attributes["name"].Value;
    mys = tag.Attributes["content"].Value;
    var linksOnPage = from lnks in doc.DocumentNode.Descendants()
    where lnks.Name == "a" &&
    lnks.Attributes["href"] != null &&
    lnks.InnerText.Trim().Length > 0
    select new
    Url = lnks.Attributes["href"].Value,
    Text = lnks.InnerText
    foreach (HtmlNode node in doc.DocumentNode
    .SelectNodes("//a/@href | //img/@src"))
    metas.Add(node.Name);
    In the var linksOnPage i'm getting all the links but some of them not only links for example the first item i see:
    [0] = { Url = "/", Text = "&nbsp;&nbsp;&nbsp;&nbsp;" }
    Then the second item:
    [1] = { Url = "http://rotter.net/cgi-bin/forum/dcboard.cgi?az=login", Text = "התחבר" }
    Next i want to add another loop or variable that will contain only the links after im src for example:
    <img
    src="http://mysite.com"
    border="0"></a></TD><TD
    ALIGN="right"
    VALIGN="TOP"
    WIDTH="55%">
    So to get only http://mysite.com
    So in the end i will have two Lists:
    First List will contain all links from the html file.
    Second List only links that are in img src

    Ok i'm using regex now and i can get the links i need:
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    string[] fall = File.ReadAllLines(filename);
    foreach (string hh in fall)
    if (hh.Contains("http://rotter.net") && hh.Contains("locked")||
    hh.Contains("locked_icon_general") ||
    hh.Contains("locked_icon_anchor") ||
    hh.Contains("icon_anchor") ||
    hh.Contains("locked_icon_fire") ||
    hh.Contains("locked_icon_sport")||
    hh.Contains("locked_icon_camera")||
    hh.Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(hh))
    metas.Add(m.Value);
    So now in the metas i have in this case two links.
    For example the first link is from this block in the file:
    The link i got is : http://rotter.net/forum/Images/hot_icon_anchor.gif
    And this is the right link from this block but now how do i get the text from this block and how i connect how do i know that this text belong to the link ? I need to add this text from this block to a new List. Before all that i counted on my own lines
    and got the text but that's a bad idea.
    I need somehow to get: שרשור תשדירי בחירות מרוכז:
    To get the text between the ToolTip',' and the second ',' but not from all the html file only in places of this two links i extracted.
    <TD ALIGN="RIGHT"
    VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','שרשור תשדירי בחירות מרוכז:','<u><span style=color:#000099;>כתב: menahem בתאריך: 03.03.15
    שעה: 08:51</span></u><br>1.<br>http://youtu.be/utUaqyiRkJ8<br><br><br>...'); Activate();"
    onmouseout="deActivate()"
    href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/hot_icon_anchor.gif"
    border="0"></a></TD><TD
    ALIGN="right"
    VALIGN="TOP"
    WIDTH="55%">
    <FONT CLASS='text15bn'><FONT
    FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=187966&forum=scoops1"><b>
    <font color="red">שרשור תשדירי בחירות מרוכז:</b>
    </a></font></TD>

  • How link from html page to a specific frame in flash cs5 as3

    Hi!
    I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
    I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
    I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
    Can someone help here?

    add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf.  add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class.  and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.

  • Extracting Image Links From HTML

    Hi, at the moment am trying to extract image locations from the html files i.e. the "src" part of <img> tag. Have tried using HTMLParserCallback as I know this allow you to extract links from a page. However when I open a document I know to have <img> tags in it, handleStartTag() is not called, I only get all the other tags. Any idea how to solve this problem? Thanks very much,
    Ross

    Hi,
    Here's a portion of a class I wrote a while back....
    Note the useMap variable I introduced in the constructor.
    Some HTML files had the images in a "map" attribute, others in an "imgmap" attribute.
    regards,
    Owen
    private class CallbackHandler extends HTMLEditorKit.ParserCallback
        private HTML.Tag tag;       // The most recently parsed tag
        private HTML.Tag lastTag;   // The last tag encountered
        private int nested = 0;
        private boolean useMap;
        public CallbackHandler(boolean useMap)
            super();
            this.useMap = useMap;
        public void handleText ( char[] data, int pos )
        public void handleStartTag ( HTML.Tag t, MutableAttributeSet attSet, int pos )
        public void handleSimpleTag ( HTML.Tag t, MutableAttributeSet attSet, int pos )
            if ( t.toString().equalsIgnoreCase ( "input" ) )
                boolean imagemap = false;
                String name = null;
                String src  = null;
                if ( attSet instanceof SimpleAttributeSet )
                    SimpleAttributeSet sattSet = (SimpleAttributeSet)attSet;
                    Enumeration atts = sattSet.getAttributeNames();
                    Object att;
                    while ( atts.hasMoreElements() )
                        att = atts.nextElement();
                        if ( att.toString().equalsIgnoreCase ( "name" ) )
                            name = (String)sattSet.getAttribute ( att );
                            // got the name of the attribute
                            // Note : useMap is a boolean flag for you to set.
                            //        Some HTML pages used "map" attributes, others "imgmap" attributes
                            if ( useMap )
                                if ( name.equalsIgnoreCase ( "map" ) )
                                    imagemap = true;
                            else
                                if ( name.equalsIgnoreCase ( "imgmap" ) )
                                    imagemap = true;
                        if ( att.toString().equalsIgnoreCase ( "src" ) )
                            src = (String)sattSet.getAttribute ( att );
                    if ( imagemap )
                        try
                            imagemapURL = new URL ( src );
                        catch ( MalformedURLException malEx )
                            System.out.println ("Invalid Image Map URL : " + src );
        public void handleEndTag ( HTML.Tag t, int pos )
    }

  • Help with getting links from HTML page

    Hello all. I found the sun tutorial for getting HREF values from a tags in an HTML document at <http://java.sun.com/developer/TechTips/1999/tt0923.html>. My question now is how would a person add the ability to get the text of the link to this code?
    For example:
    Provided the HTML code:<a href="link.html">example</a>Returned is: href=link.html text=example

    I think the TechTip you've linked too is quite old (1999). I would write a simple SAXParser that uses TagSoup (http://www.ccil.org/~cowan/XML/tagsoup/) as its input source. In your handler, simply set a flag and reset a StringBuffer to collect the contents of any <a>...</a> element. Simplified:
        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
            if ("a".equals(localName)) {
                currentHref = attributes.getValue("href");
                if (currentHref != null && currentHref.length() > 0) {
                    inLink = true;
                    //reset the string buffer
                    buffer.setLength(0);
        public void characters(char[] ch, int start, int length) throws SAXException {
            if (inLink) buf.append(ch, start, length);
        public void endElement(String uri, String localName, String qName) throws SAXException {
            if ("a".equals(localName) && inLink) {
                inLink = false;
                //add link to the stack
                links.add(new Link(currentHref, buffer.toString()));
        }Completely untested, of course... .Good luck...

  • Problem with return link from html page back to css page

    Here is the site..almost ready for publication
    http://www.matriley.com/glensite/index.html
    1) Go to properties for sale
    2)Choose a suberb
    3)click on a property with a video
    4) watch the crazy video if you like
    5) Click go back to properties
    ^) Yes the page is there but the property page is now
    inactive...why?
    8)The whole thing works fine on Firefox but we do have this
    Glitch on IE
    PLEAASSE Can someone help
    Regards Matthew [email protected]
    Everything works well but for the problem return link to the
    properties page after you have gone to the video.The property page
    becomes inactive

    Your page is a monster -
    Empty Cache
    10.6K 1 HTML/Text
    1.5K 1 Stylesheet File
    985.4K 25 Images
    997.7K Total size
    27 HTTP requests
    25 images with aggregate weight of ~1MB is much too large,
    you know?
    Anyhow, I cannot reproduce your problem in IE7. Are you
    referring to IE6,
    instead?
    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
    ==================
    "fredbillmatt" <[email protected]> wrote in
    message
    news:fv0m9k$a7a$[email protected]..
    > Here is the site..almost ready for publication
    >
    http://www.matriley.com/glensite/index.html
    >
    > 1) Go to properties for sale
    > 2)Choose a suberb
    > 3)click on a property with a video
    > 4) watch the crazy video if you like
    > 5) Click go back to properties
    > ^) Yes the page is there but the property page is now
    inactive...why?
    > 8)The whole thing works fine on Firefox but we do have
    this Glitch on IE
    > PLEAASSE Can someone help
    > Regards Matthew [email protected]
    > Everything works well but for the problem return link to
    the properties
    > page
    > after you have gone to the video.The property page
    becomes inactive
    >

  • Link from HTML to Page in .pdf

    Hello,
    I have a .pdf file that contains several chapters. I need to
    have a table of contents in an html help project that opens the
    .pdf and jumps directly to the appropriate chapter. I can get the
    .pdf to open, but I don't know how to reference the chapter
    bookmarks in the link. (I'm not even sure if bookmarks are the
    proper navigation tool for this.)
    Any help would be very much appreciated.
    Thanks!
    Kathy

    I looked into this. From what I read, I don't think this is
    supposed to work from compiled help. It can work from WebHelp. What
    you are looking for is a "named destination" in Acrobat, not a
    "bookmark." Apparently these are two separate things, but the named
    destination is accessed like an HTML bookmark, e.g. <A
    HREF="filename.pdf#destination>. You can also use a page number,
    e.g. <A HREF="filename.pdf#page=4">
    Hope this helps.
    John

  • How to - link from HTML Region to Report Column?

    Dear Apex gurus,
    Ok, I'll go straight to my question. I have a file upload page with Report Region (conditional) which comes up after file uploading process. Under Report I have a column to delete uploaded file (column has an image in link, target in application, item name: P2_DELETE_ID and value: #DOC_ID#). Basically the Report picks up just uploaded file ID and allows me to delete the file by having Hiden Page Item (P2_DELETE_ID) and Before Header Process:
    BEGIN
    DELETE FROM EBA_ASSET_ORDER_TEMP_DOCS
    WHERE doc_id = :P2_DELETE_ID;
    END;with condition: Value in Expression 1 is Not Null, and Expression 1 set to:
    P2_DELETE_IDI have and another conditional Region (which is HTML) and it comes up after file uploading process as well. The region Source is:
    &lt;div id="FinalMessage">&lt;/div>
    &lt;br />
    &lt;div >&lt;a href="javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:2:&SESSION.:REMOVE_ID:::P2_DELETE_ID:#DOC_ID#');">&lt;img >src="/i/delete.gif" style="position: relative; top: 1px;"/>Remove Uploaded File&lt;/a>
    &lt;/div>where id="FinalMessage" - is the Sucess/Error message from JS
    and .....href="javascript:confirmFileDelete....... - is my actual question. So, I am trying to hide my Report Region and show only my HTML region where I will be able using this (.....href....) link delete file from my table. I am able to dele file using report colum link but my .....href.... link dosnt want to delete my file, doen't even want to pick up file ID. Is there a way where I can link my .....href.... link to pull from Report Column????
    Thanks

    I am getting crazy now:
    It gives me an error message whan I am trying to add RETURN to my process, here is my process, seems to be fine and I can fined what is going on, may be I am blind:
    DECLARE
    n_size NUMBER;
    v_filename VARCHAR2(500);
    P2_FILE_INPUT VARCHAR2(1000) := v('P2_FILE_INPUT');
    BEGIN
    INSERT INTO EBA_ASSET_ORDER_TEMP_DOCS (DOC_ID, NAME, CONTENTS, mime_type, CREATED_ON, DOC_SIZE, FILENAME)
    SELECT ID, P2_FILE_INPUT, BLOB_CONTENT, mime_type, CREATED_ON, DOC_SIZE, FILENAME
    FROM apex_application_files
    WHERE NAME = P2_FILE_INPUT
    RETURNING DOC_ID INTO :P2_DELETE_ID;
    DELETE apex_application_files
    WHERE NAME = P2_FILE_INPUT;
    END;error:
    1 error has occurred
    ORA-06550: line 13, column 38: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 10, column 4: PL/SQL: SQL Statement ignored
    Edited by: Yasen® on Oct 5, 2009 3:28 PM

  • Goto page link from html

    How can I create html link to flash paper files page ?
    ex: When I click to page5 link, it shold be open flashpaper
    document and goto page 5 automatically.
    This feature is avaible at pdf files.
    Please help.
    Thanks.

    I looked into this. From what I read, I don't think this is
    supposed to work from compiled help. It can work from WebHelp. What
    you are looking for is a "named destination" in Acrobat, not a
    "bookmark." Apparently these are two separate things, but the named
    destination is accessed like an HTML bookmark, e.g. <A
    HREF="filename.pdf#destination>. You can also use a page number,
    e.g. <A HREF="filename.pdf#page=4">
    Hope this helps.
    John

  • Is it possible to link from a Google Map to a DPS article?

    Hey everybody,
    I'm using DPS to produce an iPad travel magazine about Berlin. One feature shoul be a Google Map with all the Points Of Interest from the articles. I want to set links from the articles to the POIs which is possible as far as I know. But is it also possible to link thge other way round, from a POI tooltip in the Google Map to an article produced in DPS? The map will be entirely online.
    Thanks for your help!
    Timo

    You can use social sharing URLs to link from the map to your DPS application, provided it is a multi-issue publication and not a Single Edition application.
    The advantage to this approach is your readers will be able to see your DPS content even if they aren't on a mobile device, as the web viewer will render the content in those situations.
    For more information see http://helpx.adobe.com/digital-publishing-suite/help/using-social-sharing.html.
    Neil

  • Launch jar from html!!!

    Ok everyone i am running into deep problems from the time i have been trying to launch this pure java application jarfile from the html browser. Everythin works fine except for Mozilla firefox in Linux. firefox somehow doesnt recognise the system default for opening jar files(unlike its windows counterpart). Since we cant specify a command line(java -jar) for default opening as in the case of browsers like konquerer, i have to manually locate the .exe file which will launch the jar file. But again java.exe(inside the correspondin JRE) doesnt work, so i dunno which exe file to use for launching the jar file.
    A similar problem is observed in mac which has firefox as the default browser. there, we dont even have an option of opening the jar file directly and on clickin the jar file link from html , the browser pops up a window for only downloading jar file into the system. This doesnt serve the purpose as the whole idea is to launch the jar file directly
    Any kinda help for both the above problems will be deeply appreciated!!!

    When you say "new flex window" are you talking about the Flash Projector running on the desktop?

  • Is it possible to link from one folio to another?

    My editor would like to link from an article in one folio to an article published in a previous month's folio. Is this do-able?

    How about this?
    http://contentviewer.adobe.com/s/DPS%20Tips/7f80a0ffed3a4ff08734bc905aac4a29/DPS%20Advance d%20Overlays/22_Linking.html
    Here i find solution for this question, but I did not try.

  • Extract article from HTML code

    Hi,
    I'm trying to build a search engine for an RSS feed. Thing is i'm trying to store every article as a BLOB field in the database. To optimize my search i'll need to extract the article only and nothing else (no unrelated hyperlinks or html code)
    I'm using the HTMLEditoKit of swing to get the html content without the code, but that's not enough. I need to clean the page of things like headers and footers (they affect the search results)

    i already parsed the XML in the RSS...i've got informa ; the problem is the article itself
    Take this article for example: [http://news.bbc.co.uk/2/hi/europe/7572635.stm] , you've got the article, but you've things all around it from link to different articles to headers, footers menus.
    All of this affects the search results dramatically so i just want the article itself.
    that's the greatest challenge.

  • Linking to multipage pdf in HTML Resources folder

    Have a multipage pdf in HTML Resources folder that I'm linking to from various parts of my folio. Would be ideal if instead of always opening on page 1, I could set it to open on page 4 from one button and page 12 from another. For legal reasons, I cannot split the pdf. Is this possible?

    Hi there
    If you are testing this from your local PC, odds are you are generating with Mark Of The Web enabled. The side effect of this is that links to things such as PDF documents won't work. But after you upload to a web server and test, things should work fine.
    Cheers... Rick

Maybe you are looking for

  • How to get the column name and table name from xml file

    I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?

  • Activating u00E1 former Window after calling a Document management picture

    Hi, in an ABAP programm I am calling function module CVAPI_DOC_VIEW2 which opens a new window where I can view a Document management picture for a given material number. My problem is, that the new called window is active and I have to use a mouse cl

  • Doubt in creatin swing GUI

    First I created a JInterFrame as a Parent Component. From that i created an instance for JOptionPane .then i create a JInternalFrame by using JOptionPane's instance. Ex: JOptionPane optionPane = new JOptionPane(-,-,-,-,-) ; JInternalFrame internalFra

  • Internal compiler error while migrating from VS2012 to VS2013

    Hi, My existing application is running on VS2012. now we are migrating to VS2013. I am getting below compiler error. 1>c1xxast : fatal error C1001: An internal error has occurred in the compiler. 1>  (compiler file 'msc1ast.cpp', line 1325) 1xxast :

  • Improve scrolling in graphics

    Here is some code import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class junk extends JFrame implements MouseMotionListener  {   junkit ju = new junkit();    public junk() {     super();     setSize(530,550