How to access the modal popup placed in content page from Master page control? - html

I am creating a website using ASP.NET and it consists a master page, I have a login link on this master page so that it is available for all the content pages. Now I want the login page to be opened as a modal popup, so I wrote the code for modal popup in login page's aspx file. But I don't know how to access that modal popup placed on login content page from that login link that is present on master page so that the modal can be open at any page whenever i click on the login link??
Can anyone help me?
I have attached the screen shots of master page and login page and highlighted the concerned parts.
Thank you
First image is of login content page
Second image is of Master page

could you not add an on click event to the login link or capture the event with jquery?
It looks like your using bootstrap, so what about adding this bit of JS.
$('#LoginModal').modal('show');
You can then give each input a name or ID on the login modal, the capture it by serialising the login form on button click.

Related

Two Stage Signup Form using Divi Theme

I want to create a two stage signup Form using Divi Theme, on page 1 the user enters only their email-id and is taken to second page upon click a button, on this page the user completes the profile info and submits the page. How can this be achieved? Somebody plese help.

Back Button not appering on page navigation Template-10?

I'm using Hamburger template of Template-10 for my UWP app. I created few pages but when I navigate through those pages the back button doesn't get visible. Even on using NavigationService.Navigate() method it doesn't appear. I want back button to be visible when I navigate through the pages. Do I need to register that a navigation has occurred whenever I move to different page? Please help.
ClearHistory = "False" on the control?

Link to another page and call onclick function

I have a detailed product page where the following link loads a form and scrolls to it.
Write a review
...
<div name="leave-review"></div>
I now have a list page where I want to have link "Write a review" that opens the detailed page and acts as if the upper link is clicked (loads the form and scrolls to it). How can I do that?

How to make Page Tab app visible

I created a page tab app for my fan page. It's a simple html page that displays a photo. It appears to have been successfully created and I can add it to the page. The icon appears blow "friend activity" on the left. I've edited the page permission so the page tab is the default landing tab. However, when I visit the page, the new tab page is not displayed.
Default landing tab is intended to be default only to users visiting a page who is not yet fan of that page.
default landing tab for users who have not liked and are not admins of this Page

Fancybox Pop-up Login - Page only opens in modal box

I'm trying to create a log-in page using Fancybox. Everyhing works fine, except when I redirect the user to the logged-in page, it keeps opening up in the modal dialog box.
How can I reference the parent?
parent.opener.location.href is not working.
Thanks
It seems the following worked:
parent.document.location.href