iFrame onclick plugin?
-
Hi
I am looking for a plugin to create an iframe in a page.
There are a lot of iframe plugins but none of them has an onclick functionality!
What I need is something like “click on a button and open a popup including an iframe url.”I have created a dropdown form in which each option opens in an iframe, in HTML and it works perfect out of wordpress (in a simple html page)
<!DOCTYPE html> <html> <head> </head> <body> <p><h3> Please select your location and book a time: </h3></p> <form> <select name="menu" style="font-family:'Verdana';color:#330033;background- color:#FFFFFF;font-size:13pt;"> <option value="https://mianik.youcanbook.me">Stockholm</option> <option value="https://mianik_uppsala.youcanbook.me">Uppsala</option> </select> <input type="button" onClick="top.frames['time_booking'].location=this.form.menu.options [this.form.menu.selectedIndex].value;" value="Go" style="font- family:'Verdana';color:#330033;background-color:#FFFFFF;font-size:13pt;"> </form> <iframe src="" name="time_booking" id='time_booking' width="100%" height="650" align="center" title="time_booking" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none"></iframe> </body> </html>
But in wordpress I would be satisfied even if it works with a simple button click.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘iFrame onclick plugin?’ is closed to new replies.