Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ HTML for work

Posted by: Casa Jul 2 2018, 10:18 AM

Hey all,

after a mate at work got fired i have the special task to refresh out HTML side. Easy answer i dont know much about HTML. i use normally Python.

Can anyone help me with a easy code that just switch like a diashow between 17 other html.. At end it should start with the first again.

thanks for all help.


Best option for later if it has time in and in a special time it just show 2 html from the 17.

Posted by: pandy Jul 2 2018, 10:26 PM

I don't understand. Sounds like a slide show, but you talk about HTML pages. Can you be more explicit?

Posted by: Casa Jul 3 2018, 01:34 AM

like a slide show yes. but not with images. with other html pages.
i have 17 html pages..from 6am to 6pm it should switch between 15 of them and other time only 2.
nothing with click or anything just a automated slidshow.

my plan was to made a main html pages that execute all other as slideshow

Posted by: Casa Jul 3 2018, 02:10 AM

CODE
<html>
<head>
   <title>Diashow</title>
   <meta http-equiv="refresh" content="4; URL=postausgabe.html" />
</head>
<body>
<img src="bild1.jpg" alt="Erstes Bild der Diashow" title="Das erste Bild der Dia-Show" />
</body>
</html>


i started with that from internet, but not what i want.

dont want to start with a image. and i cant handly to put more html in it

Posted by: Christian J Jul 3 2018, 06:09 AM

QUOTE(Casa @ Jul 3 2018, 08:34 AM) *

from 6am to 6pm it should switch between 15 of them and other time only 2.

If you mean the server/webhost time, you need to use server side scripting (e.g. PHP). If you mean each user's browser/OS time, you need to use client side scripting (javascript).

QUOTE
nothing with click or anything just a automated slidshow.

The actual redirect might be done with javascript.

QUOTE
my plan was to made a main html pages that execute all other as slideshow

That could be done if the slideshow pages are loaded in an iframe.


Posted by: Casa Jul 3 2018, 08:08 AM

okay i got the switch between them.

is it possible to say now that he should wait 4 seconds and then he show 4 seconds a specific link and then back.

found with href but that all with a click. i just want with 4 seconds to wait

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)