Can JavaHelp open Main Window from an HTML Topic?

Hi all,
I am working on opening the main window from an HTML topic. Is it possible to do? Right now, what I can do is to make a link in the html page open the secondary window with navigation pane.
Also, can I set different textColor(param name of object tag)beside the one mentions in the JavaHelp System user's guide?
More question. When I give the textColor as "green" which is the color I can set according to the JavaHelp System user's guide in the object tag, the help system displays different shade of green, lime. I tested this settng in IE/Firefox. It renders a default green which is what I need. How can I make the javahelp renders properly?
Any help would be appreciated,
thanks

Hi Dir-t,
There's no way to create that behavior directly in Catalyst. However, you can do it with a little HTML hacking. You'll want to use the IFRAME tag: http://www.w3schools.com/TAGS/tag_iframe.asp
When you publish your project as a SWF, one of the files that is created is an HTML file that wraps your SWF (it's typically called Main.html). You'll want to edit that file.
-Adam

Similar Messages

  • How can I open two windows from one submit?

    Is there a way to open two browser windows from one click of a button to submit a form? I have a button on a screen that does some processing of the data and then generates a PDF file with the output. I would also like it to run a report and show the output of that in a separate window. I realize that using regular HTML with a target of "_blank" on the form, you can have the results show in a new window, but how can I launch a second window from a single button click, if possible?
    Thanks!

    It can be possible using two different popUps instead windows. Onclick on the button just make vissible true of those two popup in the event method, before making visible true, do the business operation to show on the popups. So simple :)
    Note: Popup has modal=false attribute
    Edited by: man_ish on Jan 12, 2010 10:13 AM

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • Can't open browser window from RoboHelp AIR app??!

    We've got a RoboHelp course that we're exporting as an AIR app using the  Packager and it works great. We've got an embedded flash file that  needs to open a website in a browser window, but, currently it will only  load the site in a new AIR window...any ideas??

    I'm having this same problem also, although you gave me one option in your reply.  I can't get the "Allow" button to work either. I upgraded to Adobe Reader 9.2, and then is when I noticed I couldn't bring up the websites that I usually could before.  I don't really know what you mean about "Stand Alone Option," but I will try to find out.  I also upgraded to Internet Explorer 8, but I'm not sure if this is when the problem started or when I went to Adobe Reader 9.2.
    I used to be able to get "Allow" to work if I opened the document in IE8 and not in AR 9.2, but now that won't even work. I did email the author of a PDF document I was in today in the hopes he would have the answer, but I'm not sure if I got his email address right, so time will tell on that issue.
    I have a "library" of PDF documents, so I would really like to get this problem fixed.  However, I've spent at least two hours on this issue, and I really don't think it has anything to do with Windows Vista incompatibility; I'm pretty sure it has something to do with Adobe Reader, but that doesn't help much given I have emailed support and, of course, have never received an answer.
    I do know there are a lot of people that are having this exact same problem, but no one has an answer to it.  I've tried to do research on this, but I have a lot of "to do" tasks I need to get done every day, so it's not like I have all the time in the world to try and fix this problem.
    I would appreciate hearing from you if you do ever figure this out. My email address is [email address deleted by host] should you find an answer to this very frustrating problem. Warmly, Corinne Larimore [signature deleted by host]

  • Can't open finder window from dock

    I have pinned my Applications folder to the dock, and when I click on it it automatically comes up as a grid. When I click and hold the folder it gives me four view options: Automatic (selected), List, Grid, Fan. I do not want any of these - all I want is for it to open in a finder window when I click on it. I am pretty sure I used to be able to do this in 10.1, why can I not do it in 10.5?

    There is a trick to doing this -
    In Finder, right click Applications and create an alias.
    Drag the Alias into the dock.
    That should do what you are looking to do.

  • Can't open PDF files from Windows Explorer on Windows 8.1

    Hello,
    after I've upgraded to Windows 8.1, I can't open PDF files from Windows Explorer (directly double clicking the file). The AcroRd32.exe runs in the background (2x !) as I see the processes in task manager, but there is no user interface visible. I have Acrobat
    Reader 11.0.06, the desktop version (not Metro). I tried uninstalling the Acrobat reader and installing it again but this didn't help. The only way to open PDF files is to close the AcroRd32.exe from the task manager, open empty Acrobat Reader from the desktop
    and then drag&drop the PDF file over that window. This is quite inconvenient. Is there a way to fix this issue so I can open PDF files directly from windows explorer?
    Many thanks!

    I had to install adobe reader, but   PDF's used to display just fine with IE, any idea what happened ?
    Windows 8.1 pro.
    thx
    lee

  • I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like t

    I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like this to export my lightroom images to edit in photoshop as it has always been able to do for me.  What fix do you recommend?

    Hi Ashley Clavette,
    The Initial view setting works perfectly when the file is opened in Acrobat after setting the desired Initial View.
    When you upload the file onto Wordpress, and view it on that website in the browser...it might be using a different pdf handler program which might be causing this issue ( it would be helpful, if you could provide the screenshot) , however when you download the pdf again from wordpress server...and open in Acrobat/Reader...then what  exactly happens ?  Does the pdf opens in the desired Initial View setting?
    Rahul

  • Can't open Office documents from share on Windows 8

    We have a problem with a customer that they can't open Office documents(Word,Excel etc.) on Windows 8.1 image on a network share. The error message is just that the document can't open.
    The documents are on a sharepoint site and we can open the documents within the site and also we can open the Office documents on a Windows 7 image from the networkshares.
    Also can't open the documents if i copy them to the local desktop.
    I think there is a group policy for Windows 8 for this but I don't know for sure?
    Anybody?

    Hi,
    As I understand, the issue is that customers can’t open office documents on windows 8.1 on a network share or copying them to the local desktop.
    Per my test, I can open documents on windows 8.1 on a network share.
    1. By default, Word doesn't trust files in temp directories from your browser. You can add the
    network address and local address to the trusted list. From Word 2010/2013: Click File > Word Options > Trust Center->trust center setting->add new location.
    2. You can create a shortcut on the desktop using the network address and then open the documents by that way.
    3. To narrow down the research scope that you can create a new document library->Download a problematic file (an Excel workbook or a word document) to your local->Upload the local file to the new document library->do the same option to check if
    the same situation will occur.
    There is a similar case:
    http://superuser.com/questions/693871/word-2013-wont-open-files-downloaded-trust-center
    Best regards
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].
    Hi Sara Fan,
    Thanks for your reply.
    I have added the profile to the trusted locations but without success. Also a shortcut is not working. I still can't open any Office document on that location(Error message: location ***.xxxx can't be opened). The problem occurs on every client.
    1. Opening Office documents under local administrator account, domain admin account is working fine
    2. Re-image the machine is not a solution
    4. All locations use the same Windows 8.1 image through SCCM
    3. When the user logon to another location(site) it's working fine and they can open Office documents so it seems site-specific
    4. The problem is specific from 2 sharepoint shares. We can open office documents from other shares.
    5. Can't open Office documents from the library on the sharepoint site(browser), but on another location it's working fine.
    Problem only occurs on Windows 8.1 image with domain users. Other locations of this company do not have the problem. Note, every location have their own OU for users/clients.
    Any other suggestions? 

  • Opening secondary window from javahelp window activated from modal dialog

    hello,
    has anyone had this problem before? I open javahelp from a dialog with setActivationWindow(modalDlg), but then, opening secondary windows from that javahelp appear hidden, unreachable because of the modal windows (the dialog and the help window). is there a solution for this?

    Christian,
    This problem is occuring on 2 machines which has Java 1.5. But rest of the machines which has 1.5,1.6,1.4 are supporting modal windows. So not really sure whether its a browser issue or JRE issue or it is how the modal windows behave in an inconsistent way. Really need a solution for this problem as early as problem.
    Regards,
    Rajesh.

  • Safari 5.1.1 opens all windows from previous session

    Since updating to Safari 5.1 (maybe 5.0 not sure) Whenever I begin a new session (open Safari from the closed state), it opens ALL the windows I had previously viewed in the previous session! Now, I can plainly see a "button" to do this trick in the History Menu (Open All Windows From Last Session), but I'm NOT clicking on that menu item. It happens exactly when I open Safari. I've looked everywhere for a preference or option to turn that "feature" off, but, Alas, I have not found anything to do so. Mind you, these are NOT windows I had open all at the same time in my previous session, just that I may have been searching for something and either had a bunch of windows open to compare items or used the little tiny red button in the upper left hand corner of the window to close that window and then sometime later, opened a new window with a different URL. Once, it opened so many windows that it ground the dual CPU's to a near halt. I had to shut it down with the power button because "Force Quit" wouldn't come up. This has really been agravating. 
    I'm desparate. Any ideas on how to fix this would be very appreciated.
    My equipment is: 24" iMac 2.8Ghz Core 2 Duo / 4GB RAM / 750GB HD purchased in 2007 OS X Lion 10.7.2.
    Thanks,
    Kevin

    Thanks, that is much more descriptive then the discussions message above.
    How To Disable Lion's 'Resume' Feature
    Wednesday July 20, 2011 7:00 pm PDT by Jordan Golson
    Resume is one of the main new features to OS X Lion, one taken directly from iOS:
    Now apps you close will reopen right where you left off, so you never have to start from scratch again. And when you install software updates, you no longer need to save your work, close your apps, and spend valuable time setting everything up again. With Resume, you can restart your Mac and return to what you were doing — with all your apps in the places where you left them.
    Now, this feature might be all well and good, but what if you want your Mac to behave like it did in Snow Leopard? Resume can be easily disabled, but the option is fairly hidden.
    Head to System Preferences and select the General tab. At the bottom of that page is a checkbox labeled "Restore windows when quitting and re-opening apps." If you uncheck that, your apps will continue to behave as they did in Snow Leopard.
    Hat tip OS X Daily.

  • How ias integrate with Snacktory for getting main text from an html page

    Hi All,
    i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
    as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
    now i want to save these text to endeca_document_text property,
    an another question,
    i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
    if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
    log for clawler.
    Successfully set recordstore configuration.
    INFO    2013-09-03 00:56:42,743    0    com.endeca.eidi.web.Main    [main]    Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
    INFO    2013-09-03 00:56:42,744    1    com.endeca.eidi.web.Main    [main]    Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
    INFO    2013-09-03 00:56:43,497    754    com.endeca.eidi.web.db.CrawlDbFactory    [main]    Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
    INFO    2013-09-03 00:56:43,498    755    com.endeca.eidi.web.Crawler    [main]    Using executor settings: numThreads = 100, maxThreadsPerHost=1
    INFO    2013-09-03 00:56:44,163    1420    com.endeca.eidi.web.Crawler    [main]    Fetching seed URLs.
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:52,890    10147    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:59,184    16441    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,058    24315    com.endeca.eidi.web.Crawler    [main]    Seeds complete.
    INFO    2013-09-03 00:57:07,090    24347    com.endeca.eidi.web.Crawler    [main]    Starting crawler shut down
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Waiting for running threads to complete
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Progress: Level: Cumulative crawl summary (level)
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    host-summary: www.liferay.com to depth 1
    host    depth    completed    total    blocks
    www.liferay.com    0    0    1    1
    www.liferay.com    1    0    0    0
    www.liferay.com    all    0    1    1
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    host-summary: total crawled: 0 completed. 1 total.
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    Shutting down CrawlDb
    INFO    2013-09-03 00:57:07,160    24417    com.endeca.eidi.web.Crawler    [main]    Progress: Host: Cumulative crawl summary (host)
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]   Host: www.liferay.com:  0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Crawl complete.
    ~/oracle/endeca
    -======================================
    source code for parsefilter
    package com.endeca.eidi.web.parse;
    import java.util.Map;
    import java.util.Properties;
    import org.apache.hadoop.conf.Configuration;
    import org.apache.log4j.Logger;
    import org.apache.nutch.metadata.Metadata;
    import org.apache.nutch.parse.HTMLMetaTags;
    import org.apache.nutch.parse.Parse;
    import org.apache.nutch.parse.ParseData;
    import org.apache.nutch.parse.ParseFilter;
    import org.apache.nutch.protocol.Content;
    import de.jetwick.snacktory.ArticleTextExtractor;
    import de.jetwick.snacktory.JResult;
    public class HTMLMetatagFilter implements ParseFilter {
        public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
        public static String CONTENT_TYPE = "text/html";
        private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
        public Parse filter(Content content, Parse parse) throws Exception {
            logger.info("come into EndecaHtmlParser getParse");
            logger.info("come into HTMLMetatagFilter");
            //update the content with the main text in html page
            //content.setContent(HtmlExtractor.extractMainContent(content));
            parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
            ParseData parseData = parse.getData();
            if (parseData == null) return parse;
            extractText(content, parse);
            logger.info("update the content with the main text content");
            return parse;
        private void extractText(Content content, Parse parse){
            try {
                ParseData parseData = parse.getData();
                if (parseData == null) return;
                 Metadata md = parseData.getParseMeta();
                ArticleTextExtractor extractor = new ArticleTextExtractor();
                String sourceHtml = new String(content.getContent());
                JResult res = extractor.extractContent(sourceHtml);
                String text = res.getText();
                md.set("Endeca_Document_Text", text);
            } catch (Exception e) {
                // TODO: handle exception
        public static void log(String msg){
            System.out.println(msg);
        public Configuration getConf() {
            return null;
        public void setConf(Configuration conf) {

    but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
    Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
    There is no such API that says "get me all the links", so you have to do a little work on your own.
    Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute.

  • Illustrator CC 2014 can't open files sent from Draw.

    Illustrator CC 2014 v18.0.0 (just installed today, 11/6/2014): I can't open files sent from Adobe Draw. The files send from Draw OK, but in Illustrator—which finally opens as advertised—I get an error message, i.e. The file "Dog - Drawing 1.draw" is in an unknown format and cannot be opened. This goes for all of my work, whether created in Ideas then opened recently in Draw, or files created in Draw from scratch.

    Illustrator files (.ai or .pdf)  that I save using CC 2014 vs 8.1.0 on my Windows (8.1) machine on our network server. I try to open them on Mac.
    'The File "x.pdf" is an unknown format and cannot be opened'
    This may in some way be related to accessing the file over the server since when I transfer the file to my lcal drive I don't get the same error.  I still can't open the file but I get an error near the end of the opening process :
    "Could not read the file because the plug-in made an invalid request of the Photoshop adaptor"
    Again, I can open this file using CC 2014 vs 8.1.0 on my Windows (8.1) machine.

  • Can not open RAW-Files from Nikon D4 in Photoshop cc

    hi. i can not open RAW-Files from Nikon D4 in Photoshop cc. (Camera RAW 6.7) can you help please?

    ACR 6.7 would be for an older product, PS-CS5 or PSE10 or PRE10.
    What does Help / About Plug-ins… / Camera Raw… show in PS-CC for a version for ACR and is there more than one version of ACR in the Help / About Plug-in list.  Help / About Plug-in is what I’d do on Windows; I’m not sure if the menu path is the same on a Mac or not.

  • Can't open raw files from Nikon d800 in PS CS5 and can't update Camera Raw plug-ins

    Can't open raw files from Nikon d800 in PS CS5 (Win7 64-bit). It says, the model not supported by Camera Raw. Tried updating Camera Raw plug-ins for d800 but keep getting error message: Update failed, Adobe Application Manager may be damaged. Re-install the latest application manager but still the same error message. How to fix?

    These links may help
    Adobe - Photoshop : For Macintosh
    Adobe - Photoshop : For Windows
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Can't open Office documents from network share

    Dear,
    I have a user named X that can't open Office documents from two specific shares. We call this shares T and U.
    When the user X opens Office documents the error message is "...xlsx can't be opened". The problem is not client specific because when I login on the same client I can open the documents without any problem. If you copy the file to your desktop it
    opens fine.
    Any idea?

    Anybody?
    We have a problem with a customer that they can't open Office documents(Word,Excel etc.) on Windows 8 image on a network share. The error message is just that they can't open the document. The documents are on a sharepoint site and we can open the documents
    within the site and also we can open the Office documents on a Windows 7 image.
    I think there is a group policy for Windows 8 for this but I don't know for sure?
    Anybody?

Maybe you are looking for