Code:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Video</title>
<link rel="stylesheet" type="text/css" href="contentslider.css" />
<script type="text/javascript" src="contentslider.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 11px;
text-align: left}
.floatedTable {
float:left;
}
.inlineTable {
display: inline-block;
}
-->
</style>
</head>
<body>
<table class="floatedTable" width="435px" border="1" cellspacing="0" cellpadding="5" id="ITS COMPLICATED">
<tr>
<th scope="col">Its Complicated ~ 2008 Bay AQHA mare--AKA "Girlfriend"</th>
</tr>
<tr>
<td align="center"><p>Bred & raised by Alexia Mehrle, and owned by Julie Crews of Rising Star, TX, "Girlfriend" is one of the most fun horses we've had come in the barn! "Girlfriend" is a daughter of the #1 Ranked Barrel Racing Sire, Dash Ta Fame! This mare is out of barrel racing producer, Leetta Bug Flit. This is a big, strong, quiet mare with a lot of talent!</p>
<div id="girlfriend" class="sliderwrapper">
<div class="contentdiv">
<img src="images/winners/girlfriend.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/girlfriend1.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/girlfriend2.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/girlfriend3.jpg" /> </div>
<div class="contentdiv">
<ul class="style1">
<li>2nd place 2nd go 2012 Red White & Run Futurity</li>
<li>3rd place 1D 1st go, 2012 JJ Classic Futurity</li>
<li>2nd place 1st go, 2012 Cornhusker Breeders & Open Futurities</li>
<li>3rd place 1st go, 2012 Roper Apparel Futurity</li>
<li>Fizz Bomb Finalist, money earner first go</li>
<li>Roper Rally Futurity Average Champion</li>
<li>Placed both goes and 3rd in the 1D Average, 2012 Grid Iron Futurity</li>
<li>Won both rounds of the SDBRA Open 4D Finals. Fastest time of entire show both days</li>
<li>1st place 1st go Hawki Futurity. Fast time of the entire futurity</li>
<li>1D money earner both rounds of SD Heartland Futurity, 2nd in the 1D Average</li>
<li>BFA World Championship Barrel Futurity Finalist, money winner in the Average</li>
<li>Reserve Champion 2013 Minnesota Breeders Barrel Maturity</li>
<li>4th place in the average at the 2013 JJ Classic Breeders Derby</li>
<li>2013 Red White & Run Maturity Champion</li>
<li>Placed in 2nd round of 2013 Cornhusker Breeders Futurity</li>
</ul>
</div>
<div class="contentdiv">
<ul class="style1">
<li>Placed in both rounds and 4th in the Average at the 2013 Roper Apparel Derby</li>
<li>3rd in the 1st go of the 2013 Northern Lights Derby. Short Go qualifier. Scratched due to injury</li>
<li>2014 Fast time of Derby/1st go Cornhusker Breeders & Open Derby</li>
<li>Northern Lights Derby- 1st place & 2nd place long goes, Derby Finalist</li>
<li>2015 Cornhusker Breeders Derby Reserve Champion</li>
<li>2015 Cornhusker Open Derby 3rd place in the Average</li>
<li>2015 Triangle Cross Derby Champion</li>
<li>2016 NBHA Heartland National Super Show Day 2 1D Champion</li>
<li>2016 Cornhusker Open Maturity Champion</li>
<li>2016 Cornhusker Breeders Maturity Champion</li>
<li>2016 Bonus Race, 1D 14th place, Open Race</li>
</ul>
<strong>Current LTE of over $50,000</strong> </div>
<div class="contentdiv">
<iframe width="400" height="300" src="http://www.youtube.com/embed/SPy_YUsdhnE?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div id="paginate-girlfriend" class="pagination"> </div>
<script>
/*** Youtube script to find all iframes inside slider #slider1 and instantiate a Youtube API player object for each iframe ***/
/*** This code should proceed the initialization code for Featured Content Slider below, not following it ***/
function onYouTubeIframeAPIReady(){ // this function is called automatically when Youtube API is loaded (see: https://developers.google.com/youtub..._api_reference)
var contentdivs = document.querySelectorAll('div#girlfriend div.contentdiv') //get all ".contentdiv" elements inside #slider1
for (var i=0; i<contentdivs.length; i++){
var tubeiframe = contentdivs[i].querySelector('iframe')
if ( tubeiframe && (/youtube.com/i).test(tubeiframe.getAttribute('src')) ){ //if iframe exists inside content div and it points to youtube
var player = new YT.Player(tubeiframe, { // instantiate a new Youtube API player on each Youtube iframe (its DOM object)
events: {
'onReady': function(e){e.target._donecheck=true} // indicate when video has done loading
}
})
contentdivs[i].youtubeplayer = player // attach Youtube API player object to the corresponding content DIV
}
}
}
function playpausevideo(player, action){
if (player && player._donecheck === true){
if (action == "play")
player.playVideo()
else if (action == "pause")
player.pauseVideo()
}
}
</script>
<!--Youtube API reference. Should follow onYouTubeIframeAPIReady() above, not proceed: -->
<script src="http://www.youtube.com/iframe_api"></script>
<script type="text/javascript">
featuredcontentslider.init({
id: "girlfriend", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: ["Photo", "Photo", "Photo", "Photo", "Stats 1", "Stats 2", "Video"], //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 4000], //[true/false, pausetime]
onChange: function(previndex, curindex, contentdivs){ //event handler fired whenever script changes slide
if (previndex != curindex && contentdivs[previndex].youtubeplayer) // if this isn't the first slide loaded automatically when page loads and a youtube video exists inside the previous slide
playpausevideo( contentdivs[previndex].youtubeplayer, "pause" ) // pause previous slide's youtube video
}
})
</script> </td>
</tr>
</table>
<!--RUDY-->
<table width="435px" border="1" cellspacing="0" cellpadding="5" id="THREE TYMES A LADY">
<tr>
<th scope="col">Three Tymes A Lady ~ 2011 Bay AQHA Mare ~ AKA "Rudy"</th>
</tr>
<tr>
<td align="center">Three Tymes A Lady, better known as "Rudy" was purchased by us on the Heritage Place Sale as a 2 year old. She was started under saddle by Rodney Yost and used in his 2014 Horsemanship Demo at the Black Hills Stock Show Rodeo. She was trained for barrel racing by Amy Schimke and shown in 2016 by Hilary Van Gerpen & Brett Borkowski. She won and placed at several mounted shooting competitions and barrel futurities and continues to be shown in both events.
<div id="rudy" class="sliderwrapper">
<div class="contentdiv">
<img src="images/winners/rudy1.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy2.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy3.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy4.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy5.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy6.jpg" /> </div>
<div class="contentdiv">
<img src="images/winners/rudy8.jpg" /> </div>
<div class="contentdiv">
<ul class="style1">
<li>2016 Showdown On The Mighty Mo CMSA Overall Champion</li>
<li>2016 B Tuff Futurity Reserve Champion</li>
<li>2016 Tri State Futurity Reserve Champion</li>
<li>2016 Dash & Dance Futurity, 5th Go 2</li>
<li>2016 JJ Classic Open Futurity Champion</li>
<li>2016 JJ Classic Future Fortunes Futurity Champion</li>
<li>2016 Cornhusker Breeders Futurity 1st place 2nd go</li>
<li>2016 Cornhusker Open Futurity 1st place 2nd go</li>
<li>2016 Cornhusker Open 4D race, 1D 1st, 2nd go</li>
<li>2016 Triangle Cross Futurity, 6th place in the average</li>
<li>2016 DeKalb Classic Futurity, 3rd place 1st go</li>
<li>2016 Fizz Bomb Futurity Finalist, 14th in the average</li>
<li>2016 Roper Rally Futurity 7th, 2nd Go</li>
<li>2016 Grid Iron Open Futurity, Reserve Champion</li>
<li>2016 Hawki Futurity, 2nd place Go 1</li>
<li>2016 Heartland Futurity Reserve Champion</li>
<li>2016 SDBRA Finals, 1D 1st, Go 2</li>
<li>2017 Roy Rogers Rangers CMSA Shoot Mens Champion</li>
</ul>
<strong>LTE over $22,000 as of 2/8/2017</strong>
</div>
<div class="contentdiv">
<iframe width="400" height="300" src="http://www.youtube.com/embed/SPy_YUsdhnE?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div id="paginate-rudy" class="pagination"> </div>
<script type="text/javascript">
featuredcontentslider.init({
id: "rudy", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: ["Photo", "Photo", "Photo", "Photo", "Photo", "Photo", "Photo", "Stats 1", "Video"], //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 4000], //[true/false, pausetime]
onChange: function(previndex, curindex, contentdivs){ //event handler fired whenever script changes slide
if (previndex != curindex && contentdivs[previndex].youtubeplayer) // if this isn't the first slide loaded automatically when page loads and a youtube video exists inside the previous slide
playpausevideo( contentdivs[previndex].youtubeplayer, "pause" ) // pause previous slide's youtube video
}
})
</script> </td>
</tr>
</table>
</body>
</html>
Bookmarks