Adding javascript popup to login
Last Post 09/20/2007 10:26 AM by tutt. 3 Replies.
Author Messages
tutt
Nuke Newbie
Nuke Newbie
Posts:3


--
09/16/2007 11:56 AM  
Hello,
I am new to ASP and DNN.  What I want to do is add a javascript event dialogue box that pops up when a user clicks the "Login" button.  Just a simple event dialogue that makes the user agree to some terms or cancel.  However, I am having a hell of a time getting this done.   I've been trying to edit \admin\security\signin.aspx, specifically right here:

<asp:Button ID="cmdLogin" resourcekey="cmdLogin" cssclass="StandardButton" text="Login"

I cannot add a simple OnClick javascript to this area or I get an error.  What would be the best way to go about doing this? 

tutt
Nuke Newbie
Nuke Newbie
Posts:3


--
09/19/2007 9:25 AM  
Please help!  Anyone?
Joseph Craig
DNN MVP
Posts:11667


--
09/19/2007 8:55 PM  
I don't have a solution, but you can have them agree to the site's Terms of Service when they register. You can do this with a custom Profile Property. You can see how to do this at http://www.dnncreative.com/Tutorial...ault.aspx.

Joe Craig, Patapsco Research Group
Complete DNN Support
tutt
Nuke Newbie
Nuke Newbie
Posts:3


--
09/20/2007 10:26 AM  
Thanks for the suggestion. That doesn't help much because the admins add the users manually so the users don't go through a registration process. How about adding a popup that comes up once AFTER the user logs in? Is this more feasible? What can I do?


---