Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

Make New Browser Window Fully Functional

Hi Experts,

I would like to open a ling in a new window, as opposed to a new tab, so I have:
$('#divProjWeb_Nutrition > img').on('click', function(){
        window.open('http://nutrition.aces-project.com', '_blank', 
        'height=800, width=800');
    });    

Open in new window


This works, but the new window does not have back, forward, menu bar, tabs, etc... How can I enable everything, while still having it as new window?

Thanks
SOLUTION
Avatar of Chris Jones
Chris Jones
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of APD Toronto

ASKER

Now I have the followiing, but it goes to new tab.
    window.open(url, '_blank', 
        'height=800, width=800, status=1, toolbar=1, location=1, menubar=1 '
       +'directories=1, resizable=1, scrollbars=1');

Open in new window

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Dave, I would like it to open in a new window.  Your sample opens it i new tab.
I'll stick to new tab
Your sample opens it i new tab.
Well, that depends on what you tell your browser to do.  In my browsers, Firefox and Chrome, it will open in a new window.  Which means that other people will see it open in either a tab or a new window, depending on what they have selected in their browser settings.