Master/Detail PHP pop up window
Posted: Thu Jul 15, 2004 10:20 pm
This is what I want to do:
I have a Master/Detail page set made in PHP. I want the detail page to open up in a small pop up window.
From what I gather, the best way to make pop ups is with javascript. After redaing several posts in this forum and others, I'm still at a loss.
Here's where I'm at:
JS insert between the head tags:
Link:
So what is wrong with this?
Is it the "features"? Should I be using another word/command?
To see this page in action go to hungryburlington.com and search by cuisine.
Steve
feyd | Please use
I have a Master/Detail page set made in PHP. I want the detail page to open up in a small pop up window.
From what I gather, the best way to make pop ups is with javascript. After redaing several posts in this forum and others, I'm still at a loss.
Here's where I'm at:
JS insert between the head tags:
Code: Select all
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,features) { //v2.0
window.open(theURL,features);
}
//-->
</script>Link:
Code: Select all
<a href="javascript:" onClick="MM_openBrWindow('details.php?recordID=<?php echo $row_rsmd_cuisinea2ї'restaurant']; ?>','width=200, height=200')"><?php echo $row_rsmd_cuisinea2ї'restaurant']; ?></a><br>So what is wrong with this?
Is it the "features"? Should I be using another word/command?
To see this page in action go to hungryburlington.com and search by cuisine.
Steve
feyd | Please use
Code: Select all
tags when posting non-php code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]