There is a code:

var i=document.createElement('img'); ia.appendChild(i); i.src=imgdir+'/'+id; i.rel='lightbox[roadtrip]'; 

The i.rel values ​​do not substitute the values ​​of the lightbox = (tried to do i.alt in this case works but the values ​​are assigned to the attribute alt = ""

  • My cant: D didn’t finish watching ) I have to go urgently for coffee at lunch) Convert in response: D - Quiss

1 answer 1

img does not have rel art attribute only for a