THank you, here's the code.
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?> <?php if ( !wp_title('', true, 'left') ); { ?> | <?php bloginfo('description'); ?> <?php } ?></title>
- <meta name="generator" content="WordPress" /> <!-- leave this for stats (or remove for potential security reasons) -->
- <meta name="author" content="Fluid Studio" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <?php wp_head(); ?>
- <script src="http://www.google.com/jsapi"></script>
- <script>
- google.load("jquery", "1.2.6");
- google.setOnLoadCallback(function() {
- var original_image = 'url(http://gosci.com/wp-content/uploads/...age.png)';
- var second_image = 'url(http://www.fluid-studio.net/sci/wp-c...ge2.jpg)';
- http://www.fluid-studio.net/sci/wp-c.../mainimage.jpg
- var timer = setTimeout(nextImage, 6000); // Trigger in 6 seconds
- $('#click').click(nextImage);
- function nextImage() {
- clearTimeout(timer);
- var header = $('#homecontent');
- var image = header.css('background-image').replace(/"/g, '');
- if (image == original_image) {
- header.css('background-image', second_image);
- }
- else {
- header.css('background-image', original_image);
- }
- timer = setTimeout(nextImage, 6000); // Trigger again in 6 seconds
- return false;
- }
- });
- </script>
- </head>
- <body>
- <div id="container">
- <div id="lightcontainer">
- <div id="header">
- <div id="topNav">
- <?php wp_nav_menu( array( 'theme_location' => 'top-menu' ) ); ?><a href="http://sciintranet.com"><img id="loginbutton" src="<?php bloginfo(template_url); ?>/images/login.png" /></a>
- </div><!-- end #topNav -->
- </div><!-- end #header -->