mobilekid Posted February 4, 2009 Share Posted February 4, 2009 here is my code: <script language="javascript" type="text/javascript" src="http://ads1.psgaddd.com/show_ad.php?zid=123dwe5&sz=720x300"></script> <a href="http://psgaddd.com" title="online advertising" id="pogads_site12375" class='ad_adv1gg75 ad_headline12dd75 ad_table12275' target='_blank'>online advertising</a> it is a banner type add, when clicked a window opens to the advertisment, but I want to also open a second window also to open another page of my site but how? also can you show some code to maybe even just open a java script popup box when the ad is clicked to say something like, thanks for your support? can that be done? Quote Link to comment Share on other sites More sharing options...
webster08 Posted February 4, 2009 Share Posted February 4, 2009 create a function and use window.open(); twice. then attach the function with an event to the object to you want to have open the pop-up windows (once the object is clicked). Quote Link to comment Share on other sites More sharing options...
mobilekid Posted February 4, 2009 Author Share Posted February 4, 2009 i dont know what u mean can you generate me some code ? Quote Link to comment Share on other sites More sharing options...
webster08 Posted February 4, 2009 Share Posted February 4, 2009 no; i will do better then that though: http://www.google.com/search?hl=en&q=window.open%28%29&btnG=Google+Search you should try to learn this on your own; me writing the code for you, really isn't beneficial to you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.