smdipu — 2013-10-07T23:41:05-04:00 — #1
please any body help me. how to make picture slide show box with html.
mellisa_smith — 2013-10-08T02:37:04-04:00 — #2
Below two articles will help you to add picture slideshow box with HTML. First article will show you how to do it within frame and another will show how to do it within table. I hope it will help you.
blogfreak — 2013-10-11T02:18:51-04:00 — #3
francky — 2013-10-11T20:49:34-04:00 — #4
you can't achieved this using html or css only
What about this kind of things?
So it is possible:
- for browsers that support css3-animation (see here),
host4 — 2013-11-19T02:46:54-05:00 — #5
The same problem!
I also need a clean html!
francky — 2013-11-21T19:57:52-05:00 — #6
And what do you do when something isn't there? Make it yourself!
<li><a href="otherpage-1.htm"><img src="images/myFirstImage.jpg"
alt="Photo of ..." title="Click to ..."></a>
<li><a href="otherpage-2.htm"><img src="images/mySecondImage.png"
alt="Photo of ..." title="Click to ..."></a>
- The only condition: all images must have the same width and height.
- In the same way an horizontal scrollbar could be made.
- The demo page is not fully made for a responsive design.
- Some (invisible on screen) additions/tips could be made for accessibility in text browsers and screen readers (like a descriptive header and a skip-option for the list of images).
- No table, no iframe!
ralphm — 2013-11-21T20:31:14-05:00 — #7
Nice one, Francky.
With JS disabled, code appears on the site, though:
One thing I like to do with a slideshow is add a scroll bar if JS is off, so that a user can scroll through the images manually. Either that, or just let the images cascade down the screen and be seen all at once.
francky — 2013-11-21T21:21:11-05:00 — #8
Yes, that is only for the demo, so that demo visitors can see the JS state (and don't forget to turn the JS on after disabling). - But I understand that it can be somewhat confusing. To make it clearer, I added "(only for this demo)" in the Enabled/Disabled line. Thanks for the REM!
- In the html was already commented over there: <!-- not needed for the carrousel -->
- I made it: <!-- only for this demo, not needed for the carrousel -->
One thing I like to do with a slideshow is add a scroll bar if JS is off, so that a user can scroll through the images manually.
Either that, or just let the images cascade down the screen and be seen all at once.
Indeed, that is the other possibility (but can break down the page layout) / With disabled css that is automatically the only way.
ralphm — 2013-11-21T22:48:15-05:00 — #9
I just wondered if you wanted the HTML to appear along with the message, that's all. The <p> tags and all appear on screen, too.
francky — 2013-11-21T23:00:38-05:00 — #10
The <p> tags and all appear on screen, too.
Huh??? In which browser? :shifty:
ralphm — 2013-11-22T00:09:23-05:00 — #11
This is what I get with JS off in Chrome for Mac:
francky — 2013-11-22T01:49:32-05:00 — #12
Pfff, that's very strange.
In the html4.01 specs about the <noscript> tag this example is used:
...some Tcl script to insert data...
<P>Access the <A href="http://someplace.com/data">data.</A>
Just the way I did it in my html:
In the differences html5/html4 I don't find a message to the contrary.
- Note: In xhtml1.0 the html-validator just get red when the <p> tag is omitted inside the <noscript>: "character data is not allowed here".
- Note: the html-validator allows a <noscript> without <p> if it is html5 !
(just a moment ...)
- Aha, a Google learns it is a reported Chrome bug: Child elements of <noscript> tags not always rendered !!!
- With a demo screenshot like yours.
- Note: in Chrome under WinXP and Win7 I cannot reproduce the error.
- Note 2: in Chrome under Win7 on my laptop I saw a horizontal scrollbar if JS is disabled (not in Chrome under WinXP on my desktop). Adapted the CSS, now repaired.
But I guess with this workaround I can give Chrome some time to repair the bug:
// not needed for the carrousel
- Applied in the demo - so now you can try again.
But a miracle: it was not Internet Explorer! :lol:
ralphm — 2013-11-22T07:08:49-05:00 — #13
Yes, that is better, and a preferred option, anyhow. I wouldn't use <noscript> any more.
stomme_poes — 2013-11-27T06:21:01-05:00 — #14
<nopscript> is very picky and plugins often confuse it.
--a NoScript plugin user who used to never see <noscript> content until they added in explicit <noscript> support
francky — 2013-11-27T13:54:51-05:00 — #15
Yes, as in #12.
- I added it already in the bug report post of Chrome:
<div id="noscript">What was in the noscript-tag ..... </div>
// rest of script
And probably setting the innerHTML of the noscript messages to empty is a better way for accessibility.
cmc_tech — 2014-02-23T08:39:41-05:00 — #16
@Francky I just started using the Photo Carrousel, and already I've hit a snag. It seems the fade effect stopped working as soon as I got the CSS to my liking. I'm having a hard time recreating it in jsFiddle. In there, it just doesn't do anything. On my project page, the images switch from one to another, but without a fade effect. Here's the link to the fiddle http://jsfiddle.net/cmc_tech/g5GfB/3/. Any assistance would be greatly appreciated.