{"id":966,"date":"2011-05-16T15:18:38","date_gmt":"2011-05-16T15:18:38","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=966"},"modified":"2019-09-10T15:18:22","modified_gmt":"2019-09-10T15:18:22","slug":"html-slide-shows","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/html-slide-shows\/","title":{"rendered":"HTML Slide Shows"},"content":{"rendered":"<p>I wanted to create a scrolling picture show as a banner on all the pages in a micro site. Many sites use this for their front page decoration. I didn&#8217;t want to use animated gif because of the age of the technology.It&#8217;s obviously becoming easier. Basic Tips below, shows how to use the HTML META tag with http-equiv=&#8221;refresh&#8221;attribute set.<!--more--><\/p>\n<h3>How to do it<\/h3>\n<p>The example asks the user to start the slide show, I didn&#8217;t want this. I create a bunch of slides as .htm[l] pages. Each slide page contains only the picture, and the meta tag, although a title and other meta data is probably a good idea.<\/p>\n<pre>&lt;HTML&gt;\r\n&lt;HEAD&gt;\r\n&lt;TITLE&gt;some title&lt;\/TITLE&gt;\r\n&lt;!------  This page is an image container and URL -------&gt;\r\n&lt;META HTTP-EQUIV=\"refresh\" CONTENT=\"8;url=ss2.html\"&gt; \r\n&lt;\/HEAD&gt;\r\n&lt;BODY&gt;\r\n&lt;IMG SRC=\"picx\/dlr-postbox.png\" ALT=\"DLR\" WIDTH=\"1024\" HEIGHT=\"102\" BORDER=\"0\"&gt; \r\n&lt;\/BODY&gt;\r\n&lt;\/HTML&gt;<\/pre>\n<p>Each page points at the next page and has a time period defined in seconds. I, then implemented the slide show host page within an IFRAME.<\/p>\n<pre>&lt;HTML&gt;\r\n&lt;HEAD&gt;\r\n&lt;TITLE&gt;&lt;\/TITLE&gt;\r\n&lt;\/HEAD&gt;\r\n&lt;BODY&gt;\r\n&lt;CENTER&gt;\r\n&lt;IFRAME SRC=\"ss1.html\" SCROLLING=\"NO\" WIDTH=\"1024\" HEIGHT=\"102\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\"&gt; \r\n&lt;\/IFRAME&gt; \r\n&lt;\/CENTER&gt;\r\n&lt;\/BODY&gt;\r\n&lt;\/HTML&gt;<\/pre>\n<p>That&#8217;s it! The default margins don&#8217;t seem to be 0, so they need to be set. The frame is used to ensure that the image is displayed on the host page load.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to create a scrolling picture show as a banner on all the pages in a micro site. Many sites use this for their front page decoration. I didn&#8217;t want to use animated gif because of the age of the technology.It&#8217;s obviously becoming easier. Basic Tips below, shows how to use the HTML META&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4066,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[27,3],"tags":[653,1123,251,253,36,920,911,218],"class_list":["post-966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-technology","tag-banner","tag-carousel","tag-css","tag-html","tag-programming","tag-software","tag-technology","tag-www"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2009\/07\/html-from-makeuseof_com-w650c.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=966"}],"version-history":[{"count":8,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/966\/revisions"}],"predecessor-version":[{"id":970,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/966\/revisions\/970"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/4066"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}