Resize and include an html file [JavaScript]

Macemore

Circumcised pineapples
Aug 26, 2011
1,681
819
so I have the following code open my hotel client:
Code:
function myPopup2() {
window.open( "/client/client.php", "myWindow", "status = 0, height = 569, width = 744, resizable = 0" ) }
In that page, what I want to do is at the bottom have a "help" link and when you click it, it expands the window (extends the bottom) to show a help page (eg. help.html), how do I do that?
 

IntactDev

Member
Nov 22, 2012
399
71
so I have the following code open my hotel client:
Code:
function myPopup2() {
window.open( "/client/client.php", "myWindow", "status = 0, height = 569, width = 744, resizable = 0" ) }
In that page, what I want to do is at the bottom have a "help" link and when you click it, it expands the window (extends the bottom) to show a help page (eg. help.html), how do I do that?
Maybe have the help element hidden using "display:none;", and when they click the "Help link" do

Code:
<a href="#" onClick="$('#help').css('display','block');">

Just a rough guess, as I'm currently learning jQuery/Javascript myself.
 

Macemore

Circumcised pineapples
Aug 26, 2011
1,681
819
Maybe have the help element hidden using "display:none;", and when they click the "Help link" do

Code:
<a href="#" onClick="$('#help').css('display','block');">

Just a rough guess, as I'm currently learning jQuery/Javascript myself.
I'm not learning it just googling it, Thanks for the help I'll for sure check that out.
 

Users who are viewing this thread

Top