Guest User

Ajax login modal

a guest
Jan 5th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. So for example you make a normal html text link:
  2.  
  3. <a href="link-url">here is text to link</a>
  4.  
  5. Replace the 'href' part (i.e. href="link-url") with this:
  6.  
  7. class="td-login-modal-js" href="#login-form" data-effect="mpf-td-login-effect"
  8.  
  9. This will let the link activate the login modal. Final code looks like:
  10.  
  11. <a class="td-login-modal-js" href="#login-form" data-effect="mpf-td-login-effect">here is text to link</a>
Advertisement
Add Comment
Please, Sign In to add comment