How to Create a Sign-Up Page on a Splash Screen
Splash screens in a Web page are a small window that pops up after the user accesses the page. You can provide any information in the splash screen, including a sign-up form. The sign-up form requests basic information such as the user's email and name, so the user can sign up to view private information. This is beneficial for websites that want to allow only authorized users to access some website pages.
Instructions
-
-
1
Click the Windows "Start" button and type "notepad" into the search text box. Press "Enter." You can make a simple ajax file using Notepad or a more advanced editor if you have one installed.
-
2
Type the following "ScripManager" tag, which tells the server to execute the splash screen on the server:
<asp:ScriptManager ID="asm" runat="server" />
-
-
3
Place your sign-up form text boxes in the file. The following inserts a user name and email text box:
<asp:Panel ID="ModalPanel" runat="server" Width="500px">
<form action="signup.aspx">
Name: <input type="text" name="name">
Email: <input type="text" name="email">
<input type="submit" value="Submit">
</form>
<asp:Button ID="OKButton" runat="server" Text="Close" />
</asp:Panel>
The "signup.aspx" is the page that processes the user information and logs the user into the website.
-
4
Press "Ctrl+S" and type a name for your splash screen. You must upload the page to your Web server, but first execute the Web project on your local computer to test the code.
-
1