Is it possible to provide iframe in spModal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 12:59 AM
In portal, I had a sentence.. when I clicked on it..a popUp needs to open ... in that I want to show some website.. ex: w3 schools website... so what should I need to write?
HTML
<div>
<p ng-click="c.clck()">Click here to open Popup</p>
</div>
Client controller
api.controller=function(spModal) {
/* widget controller */
var c = this;
c.clck= function () {
spModal.alert('How do you feel today?').then(function (answer) { // In this line what should I write?
});
}
};
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 02:51 AM
yes so all sorted or any one issue ?
if all sorted please close the thread by marking the answer correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 03:00 AM
I wan't to access other websites.. that's the requirement...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 03:02 AM
okay what is the website link because iframe refuses few of the website and it throws the console error so which is the website that you are aiming for ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 12:40 PM
Hi Mohith,
Just I am referring some random site.. in project I want to call some internal url.. can you please guide me how to acheive this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 12:51 PM
hey sathwik ,
just replace the URL in the src attribute of the iframe and it will be done
<iframe src="your_internal_url"/>