|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
iframe / onClick="MM_openBrWindow" question
Hello, all...
I have an index page with a side menu. One of the items in the side menu is an iframe which calls another page (written in php). This other page accesses a MySQL database and displays all the supervisors who are out of the office (and who to contact in their absence). The iframe sets the height and width so that it fits neatly into the menu table: <iframe src="absencemakestheheartgrowfonder2.php" width="100%" height="80" scrolling="auto"></iframe> However, I want to find SOME way to set the size of the window which opens (absencemakestheheartgrowfonder2.php). If this was not an iframe but a simple hyperlink, I could use the onClick: <a href="#" onClick="MM_openBrWindow('absencemakestheheartgrowfonder3.p hp','Out','scrollbars=yes,resizable=yes,width=450, height=250')">Out of the Office</a> to define how large of a window to open (450 X 250) and what the window looks like (scrollbars, resizable). But, is there any way to do this within the <iframe> ?!?!? Please and thank you! Joe |
|
#2
|
|||
|
|||
|
RE: iframe / onClick="MM_openBrWindow" question
|
|
#3
|
|||||
|
|||||
|
RE: iframe / onClick="MM_openBrWindow" question
Never mind... I got it
I used an include file on the index page: php Code:
which in turn called a php page that used an onClick: and I saw that I needed to use to make the onClick run correctly: onClick=" ... ">", |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > iframe / onClick="MM_openBrWindow" question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|