Board Logo

Spawning a new window using the on-click function
spw - 4/10/2006 at 01:28 PM

I have used the following to successfully display content based on the key column in the table row selected.

function row_clck(marked_all, marked_one) {
window.location = "int_"+marked_one+".htm";

What I want to do however is have the content display in its own window and not replace the content of the window where the table is displayed. I am sure this is very easy - but need some advice please....


spw - 4/11/2006 at 03:27 AM

Here is the solution - in this case I display a graphic in its own window...

function row_clck(marked_all, marked_one) {
window.open("http://members.opus.com/~mcoli/articles/"+marked_one+".jpg",'mywindow');
}


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/