0

I am very new to Raspberry

I am trying to add the below HTML page in Chromium Kiosk - which is not supporting - is their anyway i can achieve the below ?

<!DOCTYPE html>
<html>
    <frameset Rows="10%,*">
        <frame src="frame_a.htm">
        <frame src="frame_b.htm">
    </frameset>
</html>

All I need is to display a navigation bar to refresh the home page - I am trying to create a image gallery.

Please let me know is their any way I can achieve the same

If No - Please let me know what is the work around for the same

Thanks in advance.

  • What do you mean by "not supporting"? Could you describe exactly what happens? Additionally, is <framesrc="frame_b.htm"> a typo - you probably meant <frame src="frame_b.htm">? – Aurora0001 Mar 17 '18 at 10:54
  • @Aurora0001 - Sorry framesrc is a typo pls ignore it - I am trying the above code as a basic HTML page - when try to open in chromium browser lunix - I am not getting two frames - Where as when i try the same in windows OS browser it works as excepted - I guess this helps !!! – Ramesh - ARTECH Consultancy Mar 19 '18 at 9:19
  • @Ramesh which version of Windows/Browser do you use? – Uwe Plonus Mar 19 '18 at 9:49
  • Windows 10 OS (Google Chrome is up to date Version 65.0.3325.162 (Official Build) (64-bit)) - works fine but not on Raspberry OS chromium – Ramesh - ARTECH Consultancy Mar 19 '18 at 12:46
0

Found the answer for the question - I didn't release Chromium supports HTML5 where <frameset> has been removed from HTML5

So, I found an alternative solution for the same as below :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
</head>
<frameset framespacing="0" rows="150,*" frameborder="0" noresize>
    <frame name="top" src="http://www.npscripts.com/framer/demo-top.html" target="top">
    <frame name="main" src="video.html" target="main">
</frameset>
</html>

The above code works perfectly and helped me in creating a navigation bar in Kiosk chromium browser

I guess this helps !!!

  • frameset and frames are so old that frankly I thought this question was an old question from 10- years ago. Please do not use frames.. its very old and all broswers are tying to kill it. You should only use frames for very special cases. And this is not it. You should go through some HTML5 tutorials, maybe bootstrap too and a bit of jQuery. Or just jump into Angular if you are brave. – Piotr Kula Jan 22 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.