javascript - Onclick enlarge image inside a popup/dialog window -
is possible make image appear larger in popup window? example of picture trying expand: http://i.stack.imgur.com/grp1g.jpgnter mean popup/dialog box:example: http://i.stack.imgur.com/3wkqw.jpg code have far is:
<div id="graphsect" id = "pageone" data-role="main" class ="ui-content"> <a href ="#mypopup" data-rel="popup" data-position-to="window"> <img src ="res/images/capture.jpg"></a> <div data-role="popup" id="mypopup"> <a href="pageone" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">close</a><img src ="res/images/capture.jpg" style="width:1200px;height:600px;" > </div> </div>
but resembles example pic.
maybe can use lightbox. see examples in link below: http://lokeshdhakar.com/projects/lightbox2/ hope might help.
Comments
Post a Comment