hard to explain for a french ;-)

Gerard Flanagan grflanagan at yahoo.co.uk
Fri Jun 23 16:28:25 EDT 2006


Daniel Nogradi wrote:
> > hi everybody,
> >
> > i have a problem with a script.
> > after a research with my directory, i want to do a popup of a person's
> > photo but i don't know the syntax (i'm a newbie) :
> >
> > <a target="_blank" tal:attributes='href
> > python:"/intranet/nom_agents/"+result.fullname+"/photo"'><img
> > src="user.gif"></a> it's good but, it's open the photo in a large
> > window, not in a popup.
> >

what happens if you put the target into the tal:attributes?

ie. <a tal:attributes='href python:result.name+"/photo"; target
"_blank"'><img src="user.gif"></a>

Gerard  (after googling for 'tal:attributes')

ps. http://groups.google.com/group/fr.comp.lang.python is a
French-speaking newsgroup




More information about the Python-list mailing list