html - Javascript Window PopUp -


i new javascript , not sure how approach this. how can create chromeless window using javascript?

further more, let have multiple images, instead of opening new pop every time, reload image selected on same pop window.

can done?

update: there way use 1 window.open open multiple files or need create multiple window.open each file?

  1. look bootstrap , read on "modal" section.
  2. you can use jquery via swap:

--

$('.thumbs img').click(function() {     var thmb = this;     var src = this.src;     $('.bottleswrapper img').fadeout(400,function(){         thmb.src = this.src;         $(this).fadein(400)[0].src = src;     }); }); 

http://jsbin.com/asixuj/4/edit


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -