Is it possible to open the iframe src in a new tab/window?


(Improviz) #1

I am using a relatively small iframe size as basically thumbnail view of my sketchfab models. Presently when the iframe is clicked it starts the model in that iframe as expected. However, Is it possible to open a new window/tab/modal where a larger version can be initiated instead? I am not interested in going as large as the full-screen view.

(Shaderbytes) #2

you can overlay your own div above the iframe and capture the mouse events, from there you can push the relevant information into a popup or whatever. Point is you need to be able to code html/js to do this.

(Improviz) #3

Will do. Thanks again