Forum Moderators: open

Message Too Old, No Replies

Seeking an HTML tag that would replace <EMBED>

         

Hitesh

5:45 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



I am looking for a HTML tag that would replace the tag <embed> but not go look for the plugin. What I am looking for is a tag that would insert an object which will operate with built in support for special features such as svg within the browser such as Mozilla. Mozilla has a SVG built in support but there are no plugins for Mozilla that would support svg. So I cannot use <embed> to insert the .svg file within the HTML file.

I want a tag that would allow the object to interact with the HTML file, not be static, but it is dynamically. That is the crucial requirement.

I looked at iFrame but it only calls for src="url.html" whereas i wanted src="blah.svg". iFrame doesn't allow that.

Thank you for your help.

MonkeeSage

5:55 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Haven't tested it, but <object data="blah.svg" type="image/svg+xml"></object> might work...not sure...might ask for a plugin like <embed> does though.

Jordan

Hitesh

7:09 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



tested it. it didn't work with Mozilla. Moreover, with IE, it worked partially. It didn't allow itself to be dynamically updated.

I am thinking of using <layer> but dunno if it will work. Any suggestions?

Hitesh

7:18 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



Tried layer but it is the same thing with iFrame. It wants the src to be html file. ARRRGGGHHH!

martinibuster

7:20 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Visit alistapart.com and take a look at an article entitled, "Flash Satay" it might help you.

Ryan8720

10:02 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



[alistapart.com...] if you are feeling lazy. :P

Hitesh

11:20 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



ok i found a morsel.

if you do this:

<iframe blah blah blah>
<embed blah blah blah>
</iframe>

it will work but it won't be stable. It will cause Mozilla to crash from time to time.

The flash satay article was interesting but it forced me to use <object> and call an html document. I couldn't figure out how to do deal with the classid for SVG.

By the way, why doesn't XML files work on IE?

Wertigon

9:32 am on Sep 3, 2003 (gmt 0)

10+ Year Member



By the way, why doesn't XML files work on IE?

Coz' IE is outdated like hell.