Jump to content

[SOLVED] JS - Posted here coz not many post in the JS forum


Recommended Posts

I'm a bit stuck with why this link don't work:

 

<a href="javascript:win_open('page url', 'name', 'directories=0, height=200, location=0, menubar=0, resizable=0, scrollbars=0, status=0, toolbar=0, width=150')">Link</a>

 

and the window.open function:

 

function win_open(url, title, specs)
{
window.open(url, title, specs, false);
}

this is the php forum; hense most repleis are php. but still

 

try this...

<a href="javascript:win_open('page url', 'name', 'directories=0, height=200, location=0, menubar=0, resizable=0, scrollbars=0, status=0, toolbar=0, width=150');">Link</a>

Yes It Does Work >:( >:(>:(

 

IVE JUST TESTED IT

function win_open(url, title, specs)
{
window.open(url, title, specs, false);
}

<a href="javascript:win_open('page url', 'name', 'directories=0, height=200, location=0, menubar=0, resizable=0, scrollbars=0, status=0, toolbar=0, width=150');">Link</a>

if you post JS in the PHP section to get a reply everyone will start and it will be chaos...

personally i'll only tell you its the wrong section..

 

the JS section isn't as busy but theirs posts/replies every day..

 

tested and a popup appeared

 

Privacy Policy

 

When you come onto this website certain information, like your IP (Internet Protocool) address, browser information and other various information. This information will never be sold on, passed on or shown to anyone. Any other personal information will be stored i

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.