[SWFObject] Duplicate DIV ID's, getting around it...

Geoff Stearns geoff at deconcept.com
Mon Oct 30 07:17:28 PST 2006


since you are probably using some sort of loop to add the tables,  
can't you just add a number to the end of each Id?

you could also add .write() back in fairly easily... just look at the  
source to an older version of swfobeject (they are all in svn at  
svn.deconcept.com/swfobject/tags/) to see how to do it.




On Oct 29, 2006, at 11:34 PM, Ky Lane wrote:

> Hi guys,
>
> I have a problem with the new SWFObject.
>
> I have a table, surrounded by numerous flash objects to form a  
> frame (using flash for its stretch and transparency qualities).
>
> Now, I am using this as a template for a Dot Net Nuke portal, and  
> therefore the table will be replicated many times for the many  
> containers....however that replicates the DIV tags and therefore  
> have duplicate ID’s....
>
> I read that the usual “swfObjec.write();” was removed....but if  
> there a way around it so it simply dumps the code wherever I call  
> the script from, as opposed to aiming it at an element with an ID tag?
>
> Any help really appreciated!!
>
> Cheers,
> -- 
> Ky Lane (MasDDes)
> Digital and Interactive Manager
>
> Sheldrake Creative
> Unit 2 - 134 Constance Street
> Fortitude Valley
> +61 07 3852 1807 ph
> +61 07 3852 1813 fax
> <image.jpg>
>
> LOOK @ US
> www.sheldrakecreative.com
>
> This email message and any accompanying attachments may contain  
> information that is confidential and is subject to legal privilege.  
> If you are not the intended recipient, do not read, use,  
> disseminate, distribute or Copy this message or attachments. If you  
> have received this message in error, please notify the sender  
> immediately and delete this message. Any views expressed in this  
> message are those of the individual sender, except where the sender  
> expressly, and with authority, states them to be the views of  
> Sheldrake Creative. Before opening any attachments, please check  
> them for viruses and defects.
>
> <image.jpg>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061030/7c6b0691/attachment-0005.htm>


More information about the Swfobject mailing list