How to create an iframe on clicking a link?

前端 未结 4 1961
一个人的身影
一个人的身影 2021-01-17 06:35

I have a web page with several links inside a table. One of the links is inside a td tag . I want a way to invoke an iframe, which will be opened once the user clicks on the

4条回答
  •  情歌与酒
    2021-01-17 07:01

    You can also try with jQuery with fancybox plugin

    Try the sample code here, http://jsfiddle.net/muthkum/ssWMc/1/

    Here is the complete code,

    
    
    
    
    
    
    Youtube (iframe)

提交回复
热议问题