When rendering iframes with this module, the field's delta value is used as ID in the form of iframe-<delta>. This is fine for showing one node's many iframe fields but it breaks horribly when showing many node's iframe fields, because element IDs must be unique in (X)HTML. I have rolled a patch that makes certain each rendered iframe on a page have unique IDs by simply incrementing their ID by 1 for each field.
| Comment | File | Size | Author |
|---|---|---|---|
| iframe-unique-id.patch | 692 bytes | tobiassjosten |
Comments
Comment #1
neffets commentedComment #2
neffets commentedPatch seems ok, added it to cvs.
Old "iframe-" delta id-code will now be a class-name if you need it further for css styles as iframe-delta-ID (e.g. iframe-delta-0)