Jacket Posted July 18, 2003 Posted July 18, 2003 Okay, this is what I have currently. I have a loop that is set up to display the contents of a database. Not very complicated. I also have it set up so that one of the chunks of data is a link to another page with just that row displayed. This is what I want to do. I want the link to open up the new page in another window (have that part), but I want to be able to configure the new window (no toolbars, no scroll, h/w dimensions, etc..) much the same way that you use the Javascript to do this. I have tried to do it with Java, but so far I've had no such luck. Any help is welcomed! http://gsg.graceland.edu/initiative.php to see what I have so far. Share this post Link to post Share on other sites More sharing options...
Bosco Posted July 18, 2003 Posted July 18, 2003 Why not try something like this, in JS: function WinOpen() { msg=open("http://somedomain.com/newwindow.php","DisplayWindow","toolbar=no,directories=no,menubar=no,resizable=1,width=399,height=890"); } document.write("Link Title"); Share this post Link to post Share on other sites More sharing options...
Jacket Posted July 19, 2003 Posted July 19, 2003 (edited) okay, thanks for the suggestion, I think I'm getting closer. this is what I have so far. for ($i=0; $i<$num; $i++) { Edited July 19, 2003 by Jacket Share this post Link to post Share on other sites More sharing options...
Bosco Posted July 19, 2003 Posted July 19, 2003 There isn't anything wrong with the document.write('".$row['inidesc']."'); line of code, it should work fine. Obviously it is null. Try to echo that variable and see if it is null. Share this post Link to post Share on other sites More sharing options...
Jacket Posted July 19, 2003 Posted July 19, 2003 (edited) There isn't anything wrong with the document.write('".$row['inidesc']."'); line of code, it should work fine. Obviously it is null. Try to echo that variable and see if it is null. I wasn't having a problem with that portion of the code, it's getting the link to show up. Is there another place in the page that I need to add JS? Edited July 19, 2003 by Jacket Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now