Popup to notify the user has selected an External Link.

Popup to notify the user has selected an External Link.

I am new at jQuery and JavaScript and what I need is:

1. When user selects a link that is going to an external site, (All External links on my site have a class of “ext-link”)

Individuals seeking employment with us need to visit www.jobsearch.com


2. PreventDefault() to prevent the link from directly going to that selected  URL.

3. Popup notifies them they are leaving my site.


You are leaving our site:


4. The link user selected (there are many external links) shows here


To proceed to www.jobsearch.com, please click on the button below

 

   Continue  5. If user selects Continue, the page opens.  

 Don't Continue  6. Popup disappears.