![]() |
| |||||||
| Website Development HTML, traffic, hosting, and more... this is the forum for every webmaster. |
| |||||
| |
![]() |
| LinkBack | Thread Tools | Display Modes |
| ||||
| So, all this is new to me... but I am almost certain that I have this right.. however, it's not working PHP Code: Code: <script>showPopUp() {
tb_show('WARNING!', '{$mybb->settings['bburl']}/warning.html?width=250&height=300&modal=true');
}</script>
What I want to happen is the the JavaScript to run only if in the cookie there is a value of 1. (as the javascript is a warning pop up box, telling users they have to be 18+ to enter) Thanks, Jam
__________________ Help Support CompuForums, And Become a Premium Member today! - Advert Free - Increased PM Storage - Increased Avatar Size - Colored User Name (To Set You Apart From Other Members!) - And Access To The Premium Members Only Forum! Your Donations Help Keeps CompuForums Alive! JamsUbuntu.blogspot.com www.RaquelReed.com Funky-Facts.blogspot.com ![]() |
![]() |
| Tags |
| javascript, php |
| Thread Tools | |
| Display Modes | |
| |