JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 11th, 2008, 09:53 AM
alainbo alainbo is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 1 alainbo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 48 sec
Reputation Power: 0
Other - Access to embed attributes

Hello,

I have an object defined like that:

Code:
<object name="myObject" classid="CLSID:07000E2B-6AAD-497D-8E5B-5976560AD429"
            border="0"
            height="400"
            width="300">
     <param name="src" value="file" />
     <param name="width" value="600" />
     <param name="height" value="800" />
     <param name="type" value="application/x-myriad-music" />
     <param name="pluginspage" value="http://www.myriad-online.com/cgi-bin/mmplug.pl" />
     <embed name="myEmbed"
		 				src="file"
                  width=600
                  height=800
                  type="application/x-myriad-music"
                  pluginspage="http://www.myriad-online.com/cgi-bin/mmplug.pl">
     </embed>
</object>


In the same I can access to the param's object like that for example:

Code:
        alert(document.myObject.childNodes[0].name)


I tried to access the embed in the same way:

Code:
        alert(document.myObject.embeds[0].name)


Unfortunately that doesn't work, I get an error telling that embeds.0 is not an object and I read somewhere that IE6 doesn't recognize embed when we use object tag, or something like that.

Any idea to get it working ?

Regards,
Alain

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Other - Access to embed attributes


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap