PDF launched in/out of CHM window frame

Hi,
I have a couple of .chms developed with RH 7.  In these, I have a couple of merged CHMs that contain topics whose only function is to launch a  PDF file.
The HTML/JS code that does this is below.  It is not clear to me that this code has anything to do with what I am seeing.  I don't know where the script came from.  If there is a better way, please share it!
My prefererence is to have the PDF launched within the CHM's window frame.  And it does do this, but only when the CHM is launched by another program.  So if you view the "primary layout" from withing RH and select the topic, the .pdf opens up right in the frame.   This is also the case if the .chm is launched from our application executable using HTMLHelp() from the Windows SDK.
But, if you click on the .CHM file and open it directly from windows, when you select the topic that maps to the .PDF, the .PDF is opened in an independent launch of Adobe Reader, not in the .CHM frame.
Does anyone know why this works this way, and if there is a way to correct it?  I would like the operator to be able to open the .CHM directly and still have the .PDF displayed within that frame.
Thanks.
Suzanne.
Here is the HTML code that launches the .PDF:
<html><head>
<meta stuff blah blah blah...>
<title>External PDF</title>
<script LANGUAGE=JavaScript TYPE="text/javascript" src="SomeScripts.js"></script>
</head>
<body onLoad="parser('../FolderName/Filename.pdf')">
<h1 style="font-family: Arial, sans-serif;">External PDF</h1>
<p> </p>
</body>
</html>
Here is the script:
function parser(fn)
var X, Y, sl, a, ra, link;
ra = /:/;
a = location.href.search(ra);
if (a == 2)
  X = 14;
else
  X = 7;
sl = "\\";
Y = location.href.lastIndexOf(sl) + 1;
link = 'file:///' + location.href.substring(X, Y) + fn;
location.href = link;

The only other (still similar) method is to touch at the bottom of the active screen and drag SLOWLY up to place it in the corner, it will slow down the animation some, but still basically the same.
Otherwise, there is not a way to disable that.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code

Similar Messages

  • PDF in browser: launch web page in new window/tab

    Good morning all,
    Our forms use the hyperlink functionality and the desired result is to have the web page launch in a new browser window, or tab, when viewing the PDF in a browser. When the web page opens in the same window, the form data is lost after hitting the back button to return to the form content.
    The current alternative is to use xfa.host.launchURL() function however we're wondering if there is a Preference setting in Reader we could enable/disable instead. Most of the links are text embedded in paragraph so hyperlinks work and look really good.
    Changing the internet options of the browser is not an option for us.
    Also looked at Reader's Edit | Preferences | Documents | Open Cross-document Links in Same Window which appears quite promising based on the Help's description:
    Open Cross-document Links In Same Window
    Closes the current document and opens the document being linked to in the same window, minimizing the number of windows open. If the document being linked to is already open in another window, the current document is not closed when you click a link to the open document. If you do not select this option, a new window opens each time you click a link to a different document.
    But for some reason I can't explain, the web page still opens in the same window after disabling the cross-document option. So maybe I should rephrase my question and ask if someone knows any reason why option doesn't work?
    Thanks much!
    Hélène

    Hi Hélène,
    I don't know of any option to force hyperlink behaviour when the form is opened in a browser.
    Have a look at George's suggestion to use a button without fill or border over the text: http://forums.adobe.com/message/1342426#1342426
    It is a bit of double handling and you need to maintain the button in the correct position. However it does give you greater control in forcing a new browser window/tab.
    The open cross-documents preference didn't work for us either.
    When testing forms here we see a big difference in behaviour between different browsers and OS. So while you may get a hyperlink working in IE, the same solution may not work in other browsers. On balance I think overlaying a button would be the most robust.
    Good luck,
    Niall

  • When I launch Firefox 4.0.1 I get an error message that says "We noticed your may have signed inor signed out in another window. Click Ok to reload your page." I have to sign in with my username and password. Richard

    When I launch Firefox 4.0.1 I get an error message that says "We noticed your may have signed inor signed out in another window. Click Ok to reload your page." I deleted Firefox and reloaded it - did not solve the problem. This started occurring after I downloaded Windows Service Pack 2. I have Vista 7 OS. So every time I close and relaunch Firefox, I have to sign in with my username and password. Very very, annoying. If I can't get this corrected, I have to start using another Browser. Thanks for your help. Richard

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • (When I launch Firefox 4.0.1 I get an error message that says "We noticed your may have signed inor signed out in another window. Click Ok to reload your page." Richard)

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/830592]</blockquote><br>
    (When I launch Firefox 4.0.1 I get an error message that says "We noticed your may have signed inor signed out in another window. Click Ok to reload your page." I deleted Firefox and reloaded it - did not solve the problem. This started occurring after I downloaded Windows Service Pack 2. I have Vista 7 OS. So every time I close and relaunch Firefox, I have to sign in with my username and password. Very very, annoying. If I can't get this corrected, I have to start using another Browser. Thanks for your help. Richard)

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • Mac Mail 5.3 Won't attach PDFs Launched from Acrobat or MYOB

    I thought this was an Adobe Acrobat Pro X 10.1.7 issue - when I open a PDF in Acrobat and click "Share" > "Attach To Email" - Mac Mail does launch but the new email window is blank and I get an error message in Adobe Acrobat "An error occurred while trying to create a mail document.  Acrobat is unable to complete your request.". So I posted this originally on the Adobe community forum.
    However, I just tried to send a pdf straight out of my MYOB accounting software and the same thing happened.
    Never had any issues before, and send pdfs all day every day this way.
    Have cleared all cache in all applications.
    Have cleared font cache.
    Have run Disk Doctor and repaired disk permissions.
    Trying to avoid reinstalling software.
    Anyone else had this issue?

    Thanks Michael, have tried that, no luck. I will wait a couple of days to see if any other solutions come up (or if anyone else is suddenly having the same issue) before reinstalling Acrobat.
    [OK just tried sending a PDF attachment directly from another program (MYOB) through to Mac Mail and had the same problem so it is not an Acrobat issue afterall, it is a Mac Mail or Mac OS X issue. Will post this on the Apple site.]
    I have resolved the MYOB issue, it was working just painfully slow. So I still have the original Acrobat Pro PDF to Mac Mail issue if anyone knows of any solutions please?
    Message was edited by: jmgd

  • When I open a pdf file, Firefox opens a blank window, then the file opens in a Adobe Reader window. How can I stop the blank window?

    Whether I am using Firefox 3.6.8 or Thunderbird 3.0.6, clicking on a pdf file opens a new window. After a few seconds the pdf file opens in a separate Adobe Reader window. When I am done with that and close it, I still have to go back and close out the blank window. Got to be a configuration issue some place. I have tried several settings under Tools/Options, but haven't found the right setting yet. Any suggestions?

    Thank you very much for the reply. I followed your instructions. This fixed half of the problem. Links to pdf files that are on web pages now come up with a box that asks if I want to open or save the file, without a blank browser window in the background. That is great.
    When I tested the fix with pdf file links in email, the problem still exists. I tested links in Outlook Express, Yahoo mail, and Gmail. Any time I click on a pdf link in an email, a blank Firefox window opens and then I get the small window that asks me if I want to open or save the file. Sounds like this is a configuration issue, not a technical problem. Thanks for your help.

  • Rounded/curved edge/corner in page window frame/box of SAPscript

    Hello,
    Can anyone tell me whether SAP ECC6.0 has any functionality which allows a page window frame/box within a SAPscript form to have rounded/curved corners for the rectangular shape?.
    I have reviewed various documentation and forum posts, sap notes etc. but none of them even bothered to mention or explain this. Other forum posts I have seen re this topic simply said it was not possible but I hope for a more explanatory answer than that.
    It wouldn't appear to be a big ask for a form to have boxes of different shapes rather than just hard straight lines and edges but perhaps SAP have some reasoning for it which I've not seen.
    Appreciate if someone out there can elaborate about this and what alternatives there would be, for example could we upload a graphic of a rounded edge box and then place text over that?.
    Thanks in advance,
    Michael

    Thanks but my question is applicable for Smartforms too. I know SAPscript is OLD and new forms should be developed with Smartforms but at the moment we are tweaking some exisitng SAPscripts and when time permits at a future point we will move to Smartforms.
    To other people out there, do you know if there is functionality in either SAPscript or Smartforms to apply Rounded/curved edges/corners in page window frames/boxes?.
    Thanks.

  • How to blurr background of this image,while mting the window frame?

    I would like to blurr the background of this image of mom and child,while maintaining the integrity of the window frame. (ie i don"t wish to change the frame or blurr it.)
    i know if i select the mom and child via selection tools  and then go to filters and gauserian blurr and hit ok;it will blurr the background  as well as the window frame. I am sure this involves two procedures,but how would it be done? Thanks for your help!!

    Open the picture file
    Make a selection of the frame. I used the magnetic lasso tool, which works very well here. Once the selection is complete (see marching ants), go to Layer>new>layer via copy
    Use one of the selction tools, e.g. lasso ot selection brush, to select mom and child. Layer>new>layer via copy
    Blur the background layer with Filter>blur>surface blur
    To enhance this a bit, I applied unsharp mask to the frame layer and to the layer with Mom and child
    You could also blur the entire picture and use a mask to mask out the blur on Mom and child.

  • How to transfer the .pdf files to iphone 3G using Windows Xp without Wifi.

    Hi,
    I am unable to transfer the files (.pdf) to iphone 3G from my windows xp laptop.
    I tried all the possibilities given in Google. Basically I dont have Wifi connectivity nor any network. Could you please tell me how to sync the files without any network. Example; the way others do with Nokia phones.
    Please assist. Posts can be email to me at sacrashinkar (at) gmail (dot) com..
    regards,
    Sachin

    That's a lie. There's plenty of software out there that lets you transfer files without a network connection - iPhoneBrowser and iPhone Explorer are two examples of such.
    Incidentally, networking through USB is possible, albeit not often mentioned. The simplest way is to set up tethering, which will do most of the work for you. If that's not possible, then you'll have to do it manually (which is a real pain), BUT there are a few free utilities out there that are supposed to make the process much simpler (one I recently came across is usbgate.org, which is allegedly a one-click process).

  • Launch transaction PA30 in new window

    Hi,
    can you explain me how can you launch transaction PA30 in new window session.
    Thanks a lot.
    Cheers

    Hi you can follow below steps,
    1) create remote enable function module 'ZCALL_PA30' with importing parameter as i_pernr
    2) then Inside function module write
    data pernr type pa0000-pernr .
    pernr = i_pernr.
    SET PARAMETER ID 'PER' FIELD pernr .
    call TRANsaction 'PA30'  AND SKIP FIRST SCREEN .
                                                                                    3) In current program call function module in below maner.
    call FUNCTION 'ZCALL_PA30'   STARTING NEW TASK 'T'
    Try Out above steps, it works for me.

  • How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    I am so sorry for you and your situation. Were you using iCloud photostream?
    Otherwise I do not see any chance for your precious photos.
    Congrats anyway on the little darling!

  • When I move my curser over certain things I get this Message in a window that pops up and says "We noticed you may have signed in or signed out in another window click ok to reload your page." How do I get this to stop.

    When I move my curser over certain things I get this Message in a window that pops up and says "We noticed you may have signed in or signed out in another window click ok to reload your page." How do I get this to stop.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    You may have to create an Allow cookie exception for that server.
    * Tools > Page Info > Permissions

  • Open Firefox 4 in new window gives a Window frame and address bar does not refresh the current url

    Using Firefox 4 in Windows 7
    I have customised the position of tabs (Tabs on top) and which toolbar items I would like to see.
    The first window I open of firefox 4 always has the configuration as I set it.
    Whenever I open a new window of firefox either:
    - Right-click a link to open in a new window
    - Click a link anywhere (such as an email) to open a new window
    - When a website opens a page in a new window
    Bad Results:
    - The new window does not have the configuration as set in the main window (Tabs on top)
    - The new window has a windows type window frame around the firefox window (see two sets of window controls eg. "minimise", "restore" and "close")
    - The open page does not show the url - navigating to a new page within this window will not update the url :: strangely enough clicking the url page icon will update the url as it should be
    - Sometimes when restarting firefox, it will open the first main window with the remembered tabs and then open approx 8 or so blank new windows as described above

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the

    How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the e-mail.  What have I done differently?

    Thanks again for the detailed instructions Srini!
    And I really hate to be a pest . . . but . . .
    Using your example and not modifying it, I get the e-mail form filled out correctly and the pdf attached, however, I'm not prompted to sign it.
    Any more clues?

  • How do I turn off the window maximizing feature when I click the top window frame?

    Clicking on the top window frame causes Firefox to maximize. This is the only program I have that does this, so I am constantly doing this accidentally. It causes me no end of annoyance, having to minimize the Firefox window every time to see the other window I am using at the same time. Is there a way of turning this "feature" off? I have looked through all controls tabs I can find, and the help files on the Firefox website, and can find no answers to this.

    Unintended consequences ... my favorite kind! New information - this appears to be a Windows issue - sorry Mozilla. Another app (Word) just started doing the same thing (previously only observed with Firefox). If the app is too close to the top of screen, and you select it, and slightly move it, it maximizes. I heard this is standard in Windows 7, but I am using XP. This is becoming typical of the annoying hubris of Microsoft that will likely make my next OS Linux. I am not blind, and in need of Microsoft making a single window maximally readable, especially at the expense of all the other windows. If I wanted my computer to make all of my decisions for me, I would have stuck with Apple!
    Sorry Mozilla help board - I just had to get it off my chest!

Maybe you are looking for