I am using an IFrame to render the SSRS Report Viewer. It keeps landing on the Home folder instead of the specific folder for my reports. I tried setting the folder in the URL but it did not make a difference. I would appreciate any help.
HTML with URL:
<iframe src="http://ServerName/Reports/ReportViewer.aspx?/ReportFolderName&rs:embed=true" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" id="activityFrame" style="width:100%; height:600px;" frameborder="0"></iframe>
PS The report viewer does open but it keeps landing on the Home folder. I want it to land on a specific folder to make it easier for the users.
Related
I am working on a site for a Client and they want to display the following URL in an iFrame:
https://www.vigrxplus.com/ct/3134
If you access that site directly, it will show the Promo code on the source website.
However, if you access that site via an iFrame, it will not show the Promo code on the source website:
https://jsfiddle.net/qc3zvo0b/
<iframe width="100%" height="1000" src="https://www.vigrxplus.com/ct/3134"></iframe>
(Make sure to test the iFrame without prior Cookies from having previously visited the source website directly.)
Attempting to enable all sandbox features for iFrame did not fix this.
The source site also seems to do some kind of redirect.
So how can this be fixed such that the iFrame behaves just like visiting the site directly?
We implemented a PWA with Nuxtjs.
We use the pwa module.
The app is quite simple (it's a product catalog) but for each product, we call an iframe.
This iframe call static files included in a static folder.
When I am online, I have no issue but when I get offline, I still can navigate in the app but when I display the product, the iframe can't be loaded and show me the following error :
the webpage at — might be temporarily down or it may have moved
permanently to a new web address
I don't know how to fix it.
EDIT:
Here is my nuxtjs app folder
I call the iframe with the following code :
<iframe
v-if="product.configurationId"
ref="iframe"
class="viewer rounded shadow"
:src="'/3d/index.html?ref=' + product.configurationId"
allowfullscreen
border="0"
/>
Let's say the app url is https://myapp.com/
When I call the iframe, the following url is called https://myapp.com/3d/index.html?ref=refProduct
EDIT WITH CACHE STORAGE DETAILS
Following kissu comment, I take a look in the Dev Tool cache storage.
I have 4 cache files :
workbox-precache-V2
workbox-runtime
my app cache
a second app cache
In workbox-runtime cache, I can see the files from the 3D folder.
I'm using an iFrame to host an HTM form on a Wordpress page. The iframe displays the form on our site so that users can interact with it on the webpage. The .htm file is hosted on dropbox and the iframe code looks something like this:
<iframe src="https://dl.dropboxusercontent.com/spa/numbers/file/file.htm" width="1000" height="4100" frameborder="0"></iframe>
In the past, this has worked fine. The form has displayed perfectly on our site. Recently however, for some users the .htm file automatically downloads when the page is loaded, for others it displays correctly.
When viewing other stackoverflow posts, I've seen users say that the Content-Type of the .htm file needs to be 'text/html;charset=UTF-8' and after checking, that is what our files are set to.
I am completely lost. We haven't changed anything in months, so this is not the result of user error. It randomly started happening this week.
I'm trying to embed my resume into a page on my weebly website. I've saved the file as a pdf, allowed link sharing, and followed the steps for embedding documents from Google docs. I've gotten as far as getting the file to display within the weebly app, but it doesn't appear live on the site once I publish it. The page just appears blank, though additional space appears to be taken up. Perhaps an important note is that I'm using my ipad to do this.
Here is the custom HTML code I'm using within iframe generated from the above mentioned website:
<iframe style="width: 900px; height: 900px;" src="http://docs.google.com/gview?url=https://ivanglinski.weebly.com/uploads/5/7/9/5/57950797/ivan_glinski_resume_3_24.pdf&embedded=true" height="240" width="320" frameborder="0">
Every Weebly site comes with an "Embed Code" element which is available in the Weebly Editor (while building/editing/updating your site and its pages).
Get the "embed code" from Google for the GDrive doc you want to embed.
Drag an instance of the "Embed Code" element onto the page of your Weebly site where you want the GDrive doc to be displayed.
Click on the element you just instantiated, and paste the "embed code" from Google for the GDrive doc (from step 1) into the appropriate configuration field of the Embed Code element.
Publish your site
Test things are working, and if not, you may need to adjust permissions on the GDrive doc.
I have a page of my rails app that I would like to use as an iframe on different webpage. The part of my rails app is the new view for my score object. At the moment my rails app is just locally hosted. To test my iframe, I have an HTML page in my public folder of my rails app.
Here is the test.html page
<html>
<iframe width="400" height="400" src="scores/new?site_id=191">
</iframe>
</html>
This isn't working, though. Here is the error I get when I inspect the iframe
GET file:///Users/spencerhanson/Documents/Projects/net-promoter-score/public/scores/new?site_id=191 net::ERR_FILE_NOT_FOUND
I know public/scores/new/.. isn't a place that exists in my project. I can't figure why it's trying to look there. The test.html file is in the /public/ directory. The thing here is, I had this working before, with the same src tag in my iframe. I haven't changed anything, and then one day the iframe just stopped working on my test page. I can't figure out what's going wrong. I know it's probably the src tag of my iframe, since I'm trying to display a site hosted locally on a page that is also local
I figure out that opening the html file as localhost:3000/test.html was the answer, thanks to #absurdhero
I tried sending full path like:
<iframe src="http://localhost/myfolder/photos-iframe.php?id=2"
name="thumbnails"
frameborder="0"
style="width: 100%;
height: 150px;">
and its worked for me.