Hi
I've been working with this code in V2008
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Response.Write("<script>")
Response.Write("window.open('http://www.google.com','_blank')")
Response.Write("</script>")
End Sub
but I would not open the page immediately, but when given a click anywhere on the page, an example of what I do is http://www.ejemplosc.com, need to click anywhere on the page to open a separate new page and if you still go back to the site and give again a click anywhere on the page no longer loads the new page.
The way it does and because it locks firefox and ie will not work when given a click anywhere on the page (www.ejemplosc.com) if you go to the website on firefox and ie popup blocking but if you give a click anywhere on the web page and open a popup and if you open again the website and you give a click anywhere on the web page no open a popup
so my question is how can i do? if anyone has a syntax or example? therefore been discussing is an onclick event, but as could be done?
Thanks for your time and have a nice day