If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: POPUP lightbox onload

There are both positives and negatives to using JavaScript's confirm(). Using lightbox frameworks will require some editing since they can easily be dismissed by just clicking around them. So, you would have to write your own, or modify previously existing ones. This could take some time.

If you use Javascript's confirm(), then you will lose some extra graphical possibilites, but you will easily be able to ask the user if he/she is 18 or older. This shows modally, so you cannot just dismiss it without answering.

To solve the "once per session" issue is by using a cookie.

If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Re: POPUP lightbox onload

Originally Posted by PeejAvery

There are both positives and negatives to using JavaScript's confirm(). Using lightbox frameworks will require some editing since they can easily be dismissed by just clicking around them. So, you would have to write your own, or modify previously existing ones. This could take some time.

If you use Javascript's confirm(), then you will lose some extra graphical possibilites, but you will easily be able to ask the user if he/she is 18 or older. This shows modally, so you cannot just dismiss it without answering.

To solve the "once per session" issue is by using a cookie.

Hmmmm i guess i have some more digging. What i really am looking for is not age verification but a pop up that has links in it
Just so happens that the look i like was on an adult site (referenced in another forum )
one for members---------login page
and one to registe----->goes to registration page

New to PHP and MySql. Started looking at scripts about a week ago. So far have very little understanding of it. So please be easy with me if I ask a stupid question.