change from href target=“_blank” to iframe with radio button

Black Cobra

New Member
I want to create a page when there is a list of links (or buttons or pictures doesn't matter), that when the user choses the button/link, depends on the radio selection, the site either will be opned in iframe on the same page or will be opnened as a resulgar href with target="_blank". Is it possible? I thought maybe to use a form like that one:\[code\]<html> <head><title>Rec. Links</title></head> <body> <form method="get" action="?"> <imput type="radio" value="http://stackoverflow.com/questions/12776849/new" name="group1"/> <input type="radio" value="http://stackoverflow.com/questions/12776849/iframe"name="group1"/> </form> <a href="http://stackoverflow.com/questions/12776849/..."/> <a href="http://stackoverflow.com/questions/12776849/..."/> <a href="http://stackoverflow.com/questions/12776849/..."/> ... <a href="http://stackoverflow.com/questions/12776849/..."/> </body> </html>\[/code\]But where can I send the selection? Can I send it to same page itself?
 
Back
Top