jimfog Posted August 26, 2015 Share Posted August 26, 2015 go to this site https://taxibeat.com/...click the contact link...you will see a modal appearing from the top. My question is how this modal is produced...is it part of a library...and if yes...which library? I used devtools to track the code...and the only thing I saw that a method(modal.open) is called upon click event... Apart from that I have not managed to gather other info regarding it... I just want to implement the same effect on my site...thanks. Link to comment Share on other sites More sharing options...
davej Posted August 26, 2015 Share Posted August 26, 2015 It's just a hidden div. Link to comment Share on other sites More sharing options...
jimfog Posted August 26, 2015 Author Share Posted August 26, 2015 I suppose this...modal.open is a method object...where it is located? Can you trace its origins? Link to comment Share on other sites More sharing options...
davej Posted August 26, 2015 Share Posted August 26, 2015 Just do a "view source" and click on connect.js. Link to comment Share on other sites More sharing options...
jimfog Posted August 26, 2015 Author Share Posted August 26, 2015 yes I found it thanks... The only thing that puzzles me is why despite the fact I had set a mouse click breakpoint(in dev tools)...this did not led me to connect.js. Connect.js did not appear on the call stack It only led me to the code in the HTML(onclick handler on the a tag.) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now