auto generate IFrame code when layer transparency changes