html - How to position the Popup window so that the Top= Top of the text & Left= left of the text + length of the text in Javascript? -


ok, got simple html code

this text <a href="javascript:window.open('abc.html','width=500,height=350')">  <img src="http://www.clipartbest.com/cliparts/9iz/gaj/9izgaj9ie.gif"  alt="show" height="15" width="15" /></a> 

i want when user clicks on image show following picture:

enter image description here

i don't jquery stuffs, so

could using simple javascript code? less code possible?

otherwise can use popup.js comes bootstrap package

you can download site http://getbootstrap.com/ should work you. if don't know bootstrap read @ http://www.w3schools.com/bootstrap/default.asp


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -