- This topic has 9 replies, 4 voices, and was last updated 13 years, 8 months ago by
mezo.
-
AuthorPosts
-
dhberryMemberHi Wayne –
My customer links to a .pdf price sheet in his non-mobile website. When I link to it in the mobile site, I don’t get a back button.
Is there a way to embed the .pdf in a panel?
Is there a way to open the .pdf or any other linked non-mobi page in a new, separate safari window?
Thanks!
support-michaelKeymaster>Is there a way to embed the .pdf in a panel?
No. We researched this extensively. The limitation is with the mobile safari browser>Is there a way to open the .pdf or any other linked non-mobi page in a new, separate safari window?
This is doable. Use a snippet of code similar to the following to trigger the action to load your pdf. Be sure to prefix the window.open() call with javascript: you place this code in the Link property of a widget, e.g., javascript:window.open(…)window.open(pdfURLHere,'_new'); //opens in new window instance, instance is shared or window.open(pdfURLHere,'_blank'); //opens in new window instance, instance is not shared
Note: the Test Center only support a single browser window. Opening additional windows programmatically will open the URL in a limited full size browser that has no traditional browser chrome.
Here is a screenshot and UI layout file of a simple example that I created to confirm this works.
See attachment open-remote-site-screenshot.png
See attachment OpenRemoteSite.mobiAttachments:
You must be logged in to view attached files.
mezoMemberDear Wayne,
I rrally want to do same as the above request, I downloaded your example but it’s not working also when called from the home screen.Would you please offer all a solution to this as it’s really needed.
Thanks a lot.
mezoMemberDear Wayne,
I rrally want to do same as the above request, I downloaded your example but it’s not working also when called from the home screen.Would you please offer all a solution to this as it’s really needed.
Thanks a lot.
compwareMemberThis message has not been recovered.
support-michaelKeymasterThis message has not been recovered.
mezoMemberThis message has not been recovered.
dhberryMemberThis message has not been recovered.
support-michaelKeymasterThis message has not been recovered.
mezoMemberThis message has not been recovered.
-
AuthorPosts