could easily do that for the one i posted as well, just thought using an image would be alot easier.

could easily do that for the one i posted as well, just thought using an image would be alot easier.
;veni vidi vici
;i came, i saw, i ownt
i know you could..
Just you used an anchor as well instead of a straight onclick event.
Coming and going...
Highers are getting the better of me
So whats wrong with this?
Oh wait it works!!! +rep allHTML Code:<td rowspan="2> <a href="#" onClick="chw=window.open('file.html','NewWindow',' resizable=no,scrollbars=yes,status=no,width=900,he ight=440'); if (chw != null) chw.focus(); return false"> <img src="images/index_r3_c6.png" border="0" /> </a></a> </a>
Last edited by MrPinkPanther; 21-02-2008 at 06:25 PM.
When using onclick, you need to use ' instead of " (so onclick="popup('lol.html')") so it doesnt end the tag.hm i can never remember window.open javascript parameters tbh
EDIT:
In head:
For your buttonCode:<script language="JavaScript"> function popUpWindow(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=900,height=440');"); } </script>
Try thatCode:<input type="button" value="Button Text" onclick="popUp("lol.html");" />
Oh yeah, didnt notice that. Thanks ryan![]()
Coming and going...
Highers are getting the better of me
Want to hide these adverts? Register an account for free!