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

Similar Threads

Positioning a popup 1
Positioning a popup 10
Play mp3 on body load call. 1
HTML form to csv file on server 1
Popup HTML help 5
Login form no longer working 2
Bootstrap contact form not working 2
Need help again please 19

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top