I have the following code
<form>
<input type="hidden" id="id" value="" />
</form>
{{for r in registros:}}
{{=r.nombre}}
{{u=URL(r=request, c='default', f='download', args=[r.imagen])}}
<span onclick="$('#id').attr('value','{{=r.id}}');ajax('bg_marcas',
['id'],'{{='marcas%d'%r.id}}');jQuery({{='marcas
%d'%r.id}}).slideToggle();">[Marcas]</span><br>
{{=IMG(_src=u, _border=0, _alt=r.nombre, _title=r.nombre)}}
{{=r.descripcion}}<br>
{{=DIV(_id='marcas%d'%r.id)}}
{{pass}}
What it does is that for each product line can show brands marketed.
Clicking [Marcas] brands are loaded using ajax, and displayed-hide
function with slideToggle ()
This is tested and works well with: Opera, Konqueror, IE, Chrome, but
Firefox does not. In Firefox by clicking on [Marcas] are displayed
correctly, but when you click again not hide.
Any idea what is wrong.
Jose
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.