change clubdetailswindow -> var clubdetailswindow unless you really
are looking for a global clubdetailswindow.

in order --

try your caller without the _target="_blank".

have you tried using  _onclick=" " rather than _href to trigger
clublocatordetails()?

last you might put a alert(url); as the first statement in
clubdetailswindow() just to see if the url is properly formed on
receipt by the function. (probably is correct.)

On Jun 11, 4:32 am, annet <[email protected]> wrote:
> While testing my application in Firefox I encountered the following
> problem:
>
> I have a master-detail view: the master displays a table, when the
> user clicks the following link:
>
> <td>
> {{=A(club.bedrijf.bedrijfsnaam,_href="javascript:clublocatordetails
> ('%s')"\%URL(r=request,f='details',args=
> [club.bedrijf.id]),_target="_blank")}}
> </td>
>
> ... the details function is executed, and should be displayed in its
> own window. In web2py_ajax.html I have:
>
> function clublocatordetails(url) {
>   clubdetailswindow=window.open(url,'name','height=384,width=600');
>   if (window.focus) clubdetailswindow.focus();
>   return false;
>
> }
>
> In Safari this works flawless, In Firefox the master view works,
> however, when I click a link in the table a new browser window opens,
> displaying an empty page, no URL, not resized, ...
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to