View Single Post
Old 11-28-2012, 07:35 AM   PM User | #20
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,037
Thanks: 197
Thanked 2,411 Times in 2,389 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by reach100 View Post
Thank you for your response. What do I put where is says "// code to show splash screen here." I really appreciate your help.

I did some research and ented this:


if (visits >= 3) {
window.location.href = 'http://www.sealfit.com/hp';
}

Its working, thanks!
Presumably it should be if(visits >3) {

I understand that you are redrecting to another page (without splash screen) if visits value is more than 3.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is offline   Reply With Quote