This all relates to the "Splash Container Div"
The relevant CSS of the page I am working on:
Code:
#splashcontainer {
float: left;
width: 770px;
height: 400px;
}
#splashcontainer #splashmain {
float: left;
width: 510px;
height: 400px;
background: #ffffff;
}
#splashcontainer #splashmain a img {
border: none;
}
.contentdiv {
height: 400px;
}
#splashcontainer #paginate-splashmain{
float: left;
width: 260px;
height: 100px;
background: #ccccc1;
}
#splashcontainer #paginate-splashmain a img{
width: 260px;
height: 100px;
border: 0px solid gray;
margin-top: 0px;
}
#splashcontainer #paginate-splashmain a img:hover, #paginate-slider4 a.selected img{
border: 1px solid red;
}
The HTML of the page I am working on:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Site with Splash Menu</title>
<link rel="stylesheet" type="text/css" href="http://localhost/wordpress2/wp-content/themes/splashtheme/style.css" />
<script type="text/javascript" src="http://localhost/wordpress2/wp-content/themes/splashtheme/contentslider.js">
/***********************************************
* Featured Content Slider- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
</head>
<body>
<div id="container">
<div id="headercontainer">
<div class="headercontent">
<h1>Site with Splash menu</h1>
</div>
<div class="mainnavigation">
<li class="pagenav"><h1><ul><li class="page_item page-item-8 current_page_item"><a href="http://localhost/wordpress2/" title="Home">Home</a></li>
<li class="page_item page-item-11"><a href="http://localhost/wordpress2/?page_id=11" title="About">About</a></li>
<li class="page_item page-item-15"><a href="http://localhost/wordpress2/?page_id=15" title="New Page">New Page</a></li>
<li class="page_item page-item-13"><a href="http://localhost/wordpress2/?page_id=13" title="Donate">Donate</a></li>
</ul></li></div>
</div><div id="contentcontainer">
<div id="splashcontainer">
<div id="splashmain" class="sliderwrapper">
<div class="contentdiv">
<a href="http://www.p15design.co.uk" class="toc"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/red.jpg" />
</div>
<div class="contentdiv">
<a href="http://www.p15design.co.uk" class="toc"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/green.jpg" />
</div>
<div class="contentdiv">
<a href="http://www.p15design.co.uk" class="toc"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/yellow.jpg" />
</div>
<div class="contentdiv">
<a href="http://www.p15design.co.uk" class="toc"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/blue.jpg" />
</div>
</div>
<div id="paginate-splashmain" style="background:white">
<a href="http://www.p15design.co.uk" class="toc"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/redsmall.jpg" /></a>
</div>
<div id="paginate-splashmain" style="background:white">
<a href="http://www.stjamescarlisle.org.uk" class="toc someclass"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/greensmall.jpg" /></a>
</div>
<div id="paginate-splashmain" style="background:white">
<a href="http://www.keswickministries.org.uk" class="toc someotheclass"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/yellowsmall.jpg" /></a>
</div>
<div id="paginate-splashmain" style="background:white">
<a href="http://www.gmail.com" class="toc someotheclass"><img src="http://localhost/wordpress2/wp-content/themes/splashtheme/splashimages/bluesmall.jpg" /></a>
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "splashmain", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [false, 0.5], //[true/false, fadedegree]
autorotate: [true, 1000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
</div>
<div id="maincontent">
<div class="news">
<h3> Latest News </h3>
</div>
<div class="text">
</div>
</div>
</div>
<div id="footercontainer">
<div class="footermenu">
</div>
<div class="copyright">
</div>
</div>
</div>
</body>
</html>
Bookmarks