astralaaron Posted October 20, 2013 Share Posted October 20, 2013 I know that you can display a message to people on older browsers which do not support <canvas> like this: <canvas>browser doesn't support canvas</canvas> I have a client who wants a <marquee> element (I know its not good to use a marquee). I threw together a canvas marquee which works well, BUT my client wants to support older browsers since many of the companies who use his site use older versions of IE. So my question is... is it valid to do something like this?: <canvas> <marquee>asdf fdsa asdf fdas</marquee></canvas> so that older browsers will fall back on the marquee element? I am asking because the IEtester program doesn't seem to support javascript very well....I am using javascript to create my canvas element and append to the document, and same with the marquee, creating, and appending to the canvas. Link to comment Share on other sites More sharing options...
Ingolme Posted October 20, 2013 Share Posted October 20, 2013 The <marquee> element isn't valid HTML, but besides that, you can put pretty much anything you want inside the <canvas> element and it should work without trouble. Link to comment Share on other sites More sharing options...
astralaaron Posted October 20, 2013 Author Share Posted October 20, 2013 Yeah, I'm aware it is not valid. One other question, is there any other way besides the IE tester program to test in old versions of IE? Is it possible to install multiple versions? Link to comment Share on other sites More sharing options...
Ingolme Posted October 20, 2013 Share Posted October 20, 2013 At the moment Internet Explorer's developer tools allow you to view a site with versions all the way back to 7. Just press F12 and the developer toolbar will show up. Link to comment Share on other sites More sharing options...
astralaaron Posted October 20, 2013 Author Share Posted October 20, 2013 perfect, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now