I am working on single Page application with Angular and Bootstrap.
At the top of the application there is button HELP. When user will click, Popup should be open with Help Content which is another HTML file.
Using ngDialog i am able to display the external Help Html file inside the dialog. But this HELP HTML file contains few hyperlink for navigation. So when i clicked those hyperlink , the main application's url is getting changed instead of changing in the HELP HTML page inside the dialog.
Any reference or help on this issue ?
Related
I have an application in which I loaded .html file inisde a iframe on button click.
On In Progress Click app inside .html file loaded in iframe.
Above picture is of Iframe. On click Close a pop up appear.
Now I want to override the functionality of this CLOSE MODULE Button.
For example: On click this button i want to reload the parent application.
I have tired below code but its not working.
$('.notify-popup-prompt-button').on('click',function(){
console.log(123);
location.reload("https");
})
I resolved the issue, by changing in JavaScript using by .htlm file.
I have an Apex 19.2 page. Inside the page there is an iframe from another page of the same application.
Once some process are successful inside the iFrame, I would like to allow the user to close the modal page by clicking a button inside the iFrame.
I tried a dynamic action with Close/Cancel dialog but it's not working.
Has anyone an idea how to do that please ?
Thanks,
cheers,
.
Here is the solution.
From the iFrame :
parent.apex.navigation.dialog.close(true)
Assuming we have a single page with full screen background and couple of links on the top of the page.
I know how to load partial html pages in a container using angularjs and routing configuration but now the scenario is a bit different.
I'm looking for a way that each time user clicks on the application'link load the content in the modal dialog.User able to close the dialog but if user clicks link or changes routing the appropriate content to be load and show in the dialog.
My point is not just showing the dialog using angular.For example I want to if user changes the route to www.sitename.com/#about web-application loads about in the dialog and show it.
Is it possible?
Actually i have a asp:LinkButton in aspx page and i just want that whenever user clicks on asp:LinkButton open popup on dat asp:LinkButton its already done and i have given another link to it(its ur website's link only) and its working fine,
but the problem is now i want to open a popup with checkboxes with the cities name.
i have made one type of you can say block in a DIV on the same aspx page in the bottom and now i want is to call this div content in the script above in windows.open..
Please help me out ..
asap
Thank You!
You can't show only piece of the current page using the window.open function - only the whole page.
Use ModulPopup from the AjaxControlToolkit or Dialog from the jQuery-UI or some similar functionality.
Or you can create new page that will contain only div with cities names checkboxes and open it via the window.open function
I am developing one Firefox plug-in. In that, I am using sidebar and I am having an iFrame element within that with the source content from a HTML page.
Now, I want to call a JavaScript function which is inside the 'chrome' (i.e. inside the plug-in) by an onClick() event on the HTML page, loaded in the sidebar.
Is it possible? Please help me in this.
The main aim is to highlight the context in the main browser window similar to that present in the HTML page loaded in the sidebar.
Thank you.