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.

CommentFileSizeAuthor
iframe-unique-id.patch692 bytestobiassjosten

Comments

neffets’s picture

Assigned: Unassigned » neffets
Status: Needs review » Active
neffets’s picture

Status: Active » Fixed

Patch 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)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.