...

View Full Version : prevent pop-up



scosteve
10-09-2007, 05:53 PM
Hi all....I'm building a log-on page for a project at my work location. On this page, there is a 'Help' link for people that forget their ID/password. However, when you click on the 'Help' link, it prompts you for your ID/password! How can I prevent this pop-up? is there an attribute that I can specify in the HTML?

Thanks!
Steve

BarrMan
10-09-2007, 05:58 PM
Well, if you don't want the link you should go to the page you have it inside and just delete it.
If this links does something else too then you can simply remove the onclick attribute of the link:

<a href="goSomewhere.html" onclick="window.open()">Help</a>

<a href="goSomewhere.html">Help</a>

rmedek
10-09-2007, 06:46 PM
However, when you click on the 'Help' link, it prompts you for your ID/password! How can I prevent this pop-up?

Are you trying to prevent the prompt, or the popup? You need to be more specific…and a link to the page in question, or posting some code, is certainly not going to hurt.

Tyrial101
10-09-2007, 08:17 PM
Yeah, same type of question for ya.

Are you talking about a target="_blank" or like permissions (CHMOD) box?

eak
10-09-2007, 08:31 PM
I think this is what he is looking for.

This should work, assuming you have control over the server.
I know it worked for me on my dev server.


<Directory "/your/path/htdocs">

AuthUserFile /your/path/.htpasswd
AuthName "Some Name here"
AuthType Basic
require valid-user

Options None
AllowOverride None
Order allow,deny
Allow from all

<FilesMatch "your_exception_here.php">
Order allow,deny
Allow from all
Satisfy any
</FilesMatch>
</Directory>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum