Jump to content

modal showing


jimfog

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...