I am sure there is a way to do so (maybe the Html to embedded) but I am not expert. Therefore, please could you help me for this ?
Thank you very much for your help !
I’ve experimented with scrolling a webpage, and eventually got it working reasonably well for my own webpage. However, as soon as I set the target to someone else’s webpage (i.e. a news site’s), a problem emerged - the target webpage’s height changed throughout the day, as the owner added and removed content. In your example specifically, I suspect this will be a big problem. The number of flights shown on the page will unlikely stay constant over time.
I have found some javascripts and codes such as to auto-scroll the web page, but none of these codes work.
I am loosing hope. People tell that it is due to the fact that the server which contain the webpage should contain the scrpit.
But as this server is not mine (because I want to scroll an external webpage), I can’t add this scrpit and then I can’t auto-scroll the page.
This request is a basic use of embedded page. Please help !
EDIT :
Please see my embedded test : HTML to Embed :
You need to understand that you can’t take direct action on someone else’s webpage - image the security implications of that (you could host a banking page and capture user input, etc)
Therefore the options available for scrolling an embedded webpage are limited to what you can do in your own parent page - i.e. you embed their page in an iframe with a really big height, and then use JavaScript to scroll your own page.
This is not a function which Xibo supports and will be very difficult to get right if your page gets longer and shorter (as RL said).
Your embed code wont do anything because the first time it refreshes it will be on a different page and your marquee will be gone.
Thank you for your quick feedback. And sorry for my bad english, I need to understand your sentence :
Therefore the options available for scrolling an embedded webpage are limited to what you can do in your own parent page - i.e. you embed their page in an iframe with a really big height, and then use JavaScript to scroll your own page.
Does it mean I can scroll my own page ? I understood by the end of your message that it shouldn’t work in Xibo (just impossible), but I would like to confirm. Sorry to insist.
You can use JavaScript to scroll your own page - so you embed your target page in an <iframe> with a big height, and then you use JavaScript to scroll your page - not the contents of the <iframe>
Hello Dan, I would not want to disturb you anymore but since your reply, I could increase the size of the region (vertically) but I couldn’t succeed to scroll my own page.
Please, could you show me what should I put in each field (HTML to Embed, Custom Style Sheets, HEAD content to Embed) ?
The target page is : http://www.flightstats.com/go/weblet?guid=e0b4268329e1b884:6973da7e:14b50a6af6d:-18d3&weblet=status&action=AirportFlightStatus&airportCode=CDG&airportQueryType=0
Sorry for disturbing once again but I am sure that a solution it can help other people. Thank you so much.
HTML <iframe src="http://www.flightstats.com/go/weblet?guid=e0b4268329e1b884:6973da7e:14b50a6af6d:-18d3&weblet=status&action=AirportFlightStatus&airportCode=CDG&airportQueryType=0"></iframe>
Thank you very much for your help echan. We are progressing somehow.
Your code shows a small box on top left side with scroll bars and nothing happen. I have tried to adjust the code. I can have now a long page that I can scroll with my mouse but nothing scrolls automatically. Please, find my updates below and tell me what you think :