|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
just wanna to now when i open a new window from a page (ie A.htm) and in the new window i want to have a button when click it will change the contain of the A.htm file! thank a lot jenice |
|
#2
|
|||
|
|||
|
In A.html you'd need to add some JS:
window.open("B.html", nameOfWindowToOpen, "resizable,scrollbars,width=200,height=200,....other options..."); Then in B.html (which would be the HTML source of your new window) you'd need to specify as the onClick of the button: opener.document.location = "mynewlocation.html"; |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > open new window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|