Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Integrate multiple html5 canvas in wordpress without iframe

Community Beginner ,
Apr 07, 2018 Apr 07, 2018

Hello,

Is there an easy way to integrate multiple html5 animate canvas in wordpress without using iframe ?

Thks

Patrick

1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 09, 2018 Apr 09, 2018

Not really. Just make sure that each div has a beginning and and end tag and that each one has a unique name.

Translate
LEGEND ,
Apr 07, 2018 Apr 07, 2018

An iframe is useful if you need to present external content into HTML. If that’s what you need to do then use an I frame. If you have a bunch of canvases that you want to put one after the other on a a single HTML document then you could just use div’s. Set up one div for each canvas and you will have independent control of each one. If the canvas elements share a lot of attributes then you can just put each canvas one after the other in the HTML document.

More Info on the Canvas element: HTML5 Canvas

More info on the Div tag: HTML div tag

More info on the frame tag: HTML iframe tag

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2018 Apr 09, 2018

Hello,

Thank you for your answer,

I tried so many time to integrate multiple canvas in wordpress using div's, but there is always some conflicts, with a buggy result

Do you have a concrete example or an easy way ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 09, 2018 Apr 09, 2018

Not really. Just make sure that each div has a beginning and and end tag and that each one has a unique name.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2018 Apr 09, 2018
LATEST

Could you please share an example ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 09, 2018 Apr 09, 2018

patrickb89495570  wrote

Is there an easy way to integrate multiple html5 animate canvas in wordpress without using iframe ?

Using an iframe IS the easy way. If you don't use iframes, it's very not easy.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines