Ik heb een php link, maar die moet een nieuw scherm creeeren (IE). Die php link is:
Het javascript is (boven aan in een html file)
En de link van JS is:
Ik had zelf al deze inelkaar gezet:
Deze werkt helaas niet. Iemand een beter idee?
PHP:
1
| <a href=details.php?ID=$row->ID>$row->Titel</a> |
Het javascript is (boven aan in een html file)
code:
1
2
3
4
5
| <script language="JavaScript">
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
</script> |
En de link van JS is:
code:
1
| <a href="#" onClick="MM_openBrWindow('test.htm','test','width=400,height=400')">test</a> |
Ik had zelf al deze inelkaar gezet:
PHP:
1
| ><A href="javascript:MM_openBrWindow('details.php?ID=<?php echo $row->ID; ?>','<?php ?echo $row->Titel; >','width=400,height=400')"><?php echo $row->Titel; ?></a> |
Deze werkt helaas niet. Iemand een beter idee?