Title: Slash Screen help
Last modified: August 19, 2016

---

# Slash Screen help

 *  [simcole](https://wordpress.org/support/users/simcole/)
 * (@simcole)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/slash-screen-help/)
 * I setup a site for my neighbors band and he wants a splash screen. The problem
   is my cookie script I wrote isn’t playing nice with wordpress and I’m beyond 
   my capability now. It works if you click the picture before the song loads; however,
   if you let the song load then click it, it reloads the page. Try it for yourself:
   [http://www.theleasduo.com](http://www.theleasduo.com)
 * Here are some snippets:
    From index.php
 *     ```
       <script type="text/javascript" src="cookie.js"></script>
       <html>
       <head>
   
       	<script type="text/javascript">
       	// name, value, expires, path, domain, secure
       	//alert('alert');
       	//Set_Cookie( 'test', 'none', '1', '/', '', '' );
   
       	// if Get_Cookie succeeds, cookies are enabled, since the cookie was successfully created.
       	//if ( Get_Cookie( 'test' ) )
       	//{
       	//	alert('got cookie true');
       	//	cookie_set = true;
       		// name, path, domain
       		// make sure you use the same parameters in Set and Delete Cookie.
       	//	Delete_Cookie('test', '/', '');
       	//	window.location = 'splash.php';
       	//}
       	// if the Get_Cookie test fails, cookies are not enabled for this session.
       	//else
       	//	cookie_set = false;
       		setTimeout("location.href='http://theleasduo.com/splash.php'", 1);
       	</script>
       ```
   
 * From splash.php
 *     ```
       <script type="text/javascript">
        Set_Cookie( 'test', 'none', '1', '/', '', '' );
       </script>
       ```
   
 * Here’s a link to cookie.js which I’m sure isn’t the problem.
    [cookie.js](http://theleasduo.com/cookie.js)
 * Please help!

Viewing 1 replies (of 1 total)

 *  Thread Starter [simcole](https://wordpress.org/support/users/simcole/)
 * (@simcole)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/slash-screen-help/#post-1082824)
 * Anyone?

Viewing 1 replies (of 1 total)

The topic ‘Slash Screen help’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [simcole](https://wordpress.org/support/users/simcole/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/slash-screen-help/#post-1082824)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
