javascript - How to make a popup screen when we click on certain text -


i working on dealership website.i new jquery , html. problem have webpage http://prospectingdesk.com/demo/index.html in page can quote moves , down if click on popup window.

and if go newvehicle page in page there many car list

my requirement if click on vin number appears in each car list navigate next page.but before need popup window same appeared in homepage.

the problem manager told not touch body of code. new code creating popup added in header part seems.

that quote code must dynamic . if copy code paste in other website quote must work

please me out how friends.

can more clarify this. per understanding need element through id or class , attach click event , write want. let's assume quote button have id 'quotebtn' code this.

var quotebtn = document.getelementbyid('quotebtn'); quotebtn.addeventlistener('click', function() {     /*code pop open goes here*/ }, true); 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -