File: slideshow_mixed_content.html

Recommend this page to a friend!
  Classes of MarPlo   JS Slideshow Content   ???   Download  
File: ???
Role: Example script
Content type: text/plain
Description: Example Slideshow with mixed content
Class: JS Slideshow Content
Present a slide show of HTML content
Author: By
Last change:
Date: 12 years ago
Size: 1,874 bytes
 

Contents

Class file image Download
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>JavaScript Slideshow content</title> <meta name="description" content="JavaScript Slideshow content, with Go-Next, Go-Back buttons. From http://coursesweb.net/" /> <meta name="keywords" content="slideshow, content slideshow" /> <style> /* Slideshow */ #slshow { position: relative; height: 130px; width: 25em; margin-left: 50px; border: 1px solid blue; text-align: center; } #slshow .slshowc { display: none; height: 110px; margin: 2px auto; overflow: auto; } #slshow #firstsls { display: block; } /* Buttons */ #goback { position: absolute; top: 45%; left: -43px; width: 40px; } #gonext { position: absolute; top: 45%; right: -43px; width: 40px; } </style> </head> <body> <div id="slshow"> <img src="imgs/img1.jpg" width="100" height="100" alt="Slideshow effect" class="slshowc" id="firstsls" /> <ul class="slshowc"> <li><a href="http://coursesweb.net/html/" title="HTML Course">HTML Course </a></li> <li><a href="http://coursesweb.net/css/" title="CSS Course">CSS Course </a></li> <li><a href="http://coursesweb.net/javascript/" title="JavaScript Course">JavaScript Course </a></li> </ul> <div class="slshowc"><br/><br/> With the JavaScript script presented in this page you can create a Slideshow effect with any type of content in your web page. </div> <button id="goback" onmouseover="slshow.sShow('goback')" onmouseout="slshow.sShow('stop')">&lt;&lt;-</button> <button id="gonext" onmouseover="slshow.sShow('gonext')" onmouseout="slshow.sShow('stop')">-&gt;&gt;</button> </div> <script src="slideshow_cnt.js" type="text/javascript"></script> <div style="margin-top:288px;text-align:center;"><a href="http://coursesweb.net/javascript/" title="Free JavaScript - jQuery Course">Free JavaScript - jQuery Course - http://coursesweb.net</a></div> </body> </html>