php - Implementing an AJAX Pop Up Window -


i create ajax pop window serve login pop when user clicks "log in" log in website. algorithm , programming need this? using php , mysql.

i doubt need ajax, can have hidden div fades in when click login.

<div id="login-trigger">login</div> <div id="login" style="display:none;">... login form goes here ...</div> 

using jquery:

$('#login-trigger').click(function(){ $('#login').fadein() }) 

example here: http://jsfiddle.net/pu4rd/


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -