Thanks for your reply.
I changed the view to read like:
<td>
{{=A
(club.bedrijf.bedrijfsnaam,_href="javascript:clublocatordetails('%s')"
%URL(r=request,f='details',args=[club.bedrijf.id]))}}
</td>
... so, the caller without _target='blank'.
I changed the function in _ajax.html to read like:
function clublocatordetails(url) {
var clubdetailswindow=window.open
(url,'_blank','toolbar=no,menubar=no,scrollbars=no,resizable=no,width=600,height=384');
if (window.focus) clubdetailswindow.focus();
}
.. so, I added '_blank' and removed the 'return false';
I do not know why I had to remove 'return false', I got the
information from:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_openallwindow
Kind regards,
Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---