开发者

how to create slide show with html and css only

I want to create slide show to display any images to limited space. And I don't w开发者_StackOverflow中文版ant to use javascript. How to create slide show with html and css only?


Have a look at this slideshow example using HTML and CSS.

To make it not use javascript, you could just replace the mouseover for each Set (the tabs at the top) with HTML links...

<A HREF="section2.html" TARGET="content" TITLE="Slideshow slide 2">Section 2</A>

However, it really is easier to use javascript, and almost all browsers will have no problem with javascript. Is there a particular reason not to use it?


You can make a nice pages with HTML/CSS to show what you need and make a redirection between them with HTTP META refresh tag:

<meta http-equiv="refresh" content="2;url=http://...">

This way visitors would not need to click on links to navigate between pages, but would be automatically taken there after certain amount of time...


Perhaps:

<a href="3.html"><img src="2.jpeg" alt="..."></a>

and so on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜