LOAD(..., target='your_div_id')

You only get that randomly generated id if you don't specify the "target" 
argument.

Anthony

On Saturday, February 4, 2012 2:44:49 PM UTC-5, blackthorne wrote:
>
> hi, 
>
> I'm importing a JS gallery system to web2py using the LOAD. The idea 
> is to generate a gallery to a selected option asynchronously (AJAX). 
> I made the request LOAD to generate the right HTML code but the CSS 
> breaks because instead of 
> html > body > div.background > div.navigation-container > 
> div#thumbs.navigation > ul.thumbs > li > a.thumb > img 
>
> now, I have... 
> html > body > div.background > div.navigation-container > 
> div#thumbs.navigation > ul.thumbs > div #c529048618441 > li > a.thumb 
> > img 
>
> I am not a CSS expert but I could try to fix the gallery if I had a 
> way to "predict" the request.cid (component ID) there.. 
> Any ideas?

Reply via email to