Popup box

P

Paul

Ideally I would like to do this in just HTML but either way works for me.
I need a script much like the one below but without the button so that as
soon as the page loads it brings up the warning window while remaining on
the parent page. It will be implemented in a condition within a PHP
statement to echo the output below if the user has his/her cookies disabled.

<form>
<input type=button value="Button" onClick="alert ('Your browser is set to
reject cookies. You need to enable cookies to use this website.'
</form>

Thanks for any suggestions you have.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top