problems viewing PDF report created in java on ipad via safari - html

I am creating a PDF report using Java. It opens in a pop-up box and displays well in all browsers except in Safari on iPad. Here, the pop-up pdf-page shows until the screen is there and then I don't see my data and I cant scroll down. However it works fine when I open it from a PC.
I am using Frame set in HTML. I saw some suggestions saying the frameset does not work on mobile iOS devices for may pages as scrolling cannot be done using frame set.
How can I write the below code using iFrame?
<frameset rows="100%,*" onLoad="NN623();reloadPDFImageKludge();TERalert();" frameborder="no">
<frame noresize src="/messages/please_wait_report_pdf.jsp" name="<%= CreatePleaseWait.getDummyFrameName() %>">
<frame noresize src="/blank.html" name="<%= CreatePleaseWait.getChildWindowName() %>">
</frameset>

Related

"Read Aloud" not working for PDF files opened in Microsoft Edge html frame

Microsoft Edge has "Read Aloud" functionality for PDF files opened within the browser. However, this functionality does not work if the PDF file is opened within a frame in the browser.
Anybody found a solution for this?
index.html:
...
<frame name="menu" src="content.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
...
content.html:
link
</body>
I reproduced this issue, and also reproduced it with a local PDF. Apparently, Read Aloud feature is currently not supported on PDFs within <frame>/<iframe>. I suggest sending feedback to the Dev Team using Alt+Shift+I to request this feature. For now, you can display PDFs outside a frame if possible to use this feature.

IE not displaying the page within iframe

I am currently trying to place https://phishingquiz.withgoogle.com/ into an iframe.
It works correctly within Chrome, but seems to just say loading when viewing it in IE.
I have included the code below:
<iframe src="https://phishingquiz.withgoogle.com/" allow-same-origin allow-
scripts allow-popups allow-forms allow-pointer-lock width="1200"
height="900">
</iframe>
I am currently running version 11.0.9600.19236
Above is what Chrome displays, which is correct.
Above is what IE displays, which is wrong.
I have tried to using the sandbox attribute to allow-javascript, which i presume it might be coded in that, but still no luck.
Would any one have any ideas?

Reset PDF Settings and View back to default in IE 11

I currently open a pdf in an iframe. The iframe is hidden and whenever the user hits the button, the iframe loads the pdf source. When the window closes, it removes the source.
The problem that I have is that when a person views the iframe, messes with the zoom and pages, then closes down the iframe, the next person is stuck with the work that the other person was doing. Is there a way I can reset a pdf back to the default zoom, page, orientation, etc?
I've been doing some testing and it seems that adobe has a cache that will cache the settings until the browser closes down. An example is go to
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
Mess with the zoom and pages, go to a different web page, and when you go back to that url, you'll see it's the exact same as you left it. I assume that there is a setting that I have to set in adobe reader. I've also tried setting defaults with parameters, but that doesn't seem to be working.
This is for internet explorer 11.
Additional Info
this is for a kiosk system that is running IE11 in Kiosk mode. The shell has been replaced by ie, and it's set to load the site with the hidden iframe. The system is running Adobe Reader X 11.0 and I'm using the following to embed:
<object id="pdf" data="kill-charts.pdf" style="display: none;" width="100%" height="100%" type="application/pdf">
</object>
I've tried embed as well, but it doesn't make a difference. I swapped to object because I wanted to try with parameters. I tried this
<object id="pdf" data="kill-charts.pdf" style="display: none;" width="100%" height="100%" type="application/pdf">
<param name="zoom" value="100" />
</object>
but that didn't work after the second load.
If you look on the last page of the link you provided you will see that you can append #zoom=50 to the URL as follows:
http://example.org/doc.pdf#zoom=50
This will make the browser open it at 50% every time. You can also add other parameters as well such as page number:
http://example.org/doc.pdf#page=1&zoom=50
This method will work at least for the Adobe plug-in, but not guaranteed for other PDF plug-ins.

why a frame opens at new tab alone without menu

when i work at the same tab, everything is fine, but when i ctrl+click one of the link from left site, it will be opened at the new tab alone without "menu.html". i mean i don't want the pages without menu side at the new tab.
is there any way to do that?
here is index html:
<frameset cols="20%,*" frameborder="1">
<frame name="menu" src="menu.html" noresize="noresize" />
<frame name="main" src="main.html" noresize="noresize" />
here is menu.html (left side):
<table>
<tr><td>Link 1</td></tr>
<tr><td>Link 2</td></tr></table>
You can consider HTML frames as a separate browser window i.e. Frames divides the browser window into multiple windows. Thus, when you open a link from a frame into new tab (Ctrl+Click), the new tab will display the html page from the link which is not having frameset.
To achieve the behavior you have mentioned in your question, you need to use frameset in all your web pages. This can be achieved using Master Page in ASP .NET.

Connect to secure websites inside html frame/iframe

I am trying to set up a dashboard for my IT group to view several different servers in one web page.
I have 4 frames set up, and tested them with cnn or apple.com to make sure everything was set up.
<!DOCTYPE html>
<html>
...
<frameset cols="40%,60%" rows="50%,50%">
<frame src="http://www.apple.com">
<frame src="http://www.cnn.com">
<frame src="http://www.espn.com">
<frame src="http://10.2.0.252/">
</frameset>
</html>
So, when loading "http://10.2.0.252", it redirects to the login page (https://10.2.0.252) but opens the full page and does not keep it within the frame. The only thing on the page now is the login. The actual link for this is "https://" but when I put this in the code, the page is blank.
Is it possible to get the authentication page to stay inside the frame? I want to create frames that can be interactive so we can log in to the servers to view all of the status'.
EDIT: I am trying to display the https link in an iframe, but it just displays a blank screen. Does anyone know why <iframe src="https://10.2.0.252" width="100%" height="600"></iframe> will not at least bring up the login? It does not showing anything at the moment.
I think you'll need to rethink your system.
If the site has a framekiller on it, you're wasting time trying to override it. There may be an API you can use - check with the sites to see if they offer one.