https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Open link in new page

More
13 years 1 month ago #1262

I send and email after buyin you software..iam just asking for a quick tweak.. open link in a new pages..this very important "to me" as when you go back you loose your search result and you have to start again...
i hope my request is clear and can be done

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #1275

Hi,

I am very sorry that we have not be responsive in the last few days.

In the components/com_grid/GridBuilder.php there is a function named createLink. You will find it around line 520.

You will see that there <a> tags are being created. You just add target="_blank" attribute to it. If you do not know which option you are using you can add a target attribute to all options.

For example:
change:

$output = '<a href="'.$link.'">'.$data.'</a>';
to:
$output = '<a target="_blank" href="'.$link.'">'.$data.'</a>';

Regards,
Tomaž

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #1280

thank you very much......now you deserve 5 star in JED.
KEEP THE GOOD WORK

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2723

what would be the code to open the popup window to a new size and different characteristics?

example:

<a href="'.$link.'"onclick="window.open(this.href, '', 'resizable=yes,status=no,location=yes,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=500,left=257,height=700'); return false;">'.$data.'</a>';

Thank you

Last edit: 10 years 8 months ago by fentps.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2725

You can try something like:

$output = "<a href=\"".$link."\"onclick=\"window.open(this.href, '', 'resizable=yes,status=no,location=yes,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=500,left=257,height=700'); return false;\">".$data."</a>";

The following user(s) said Thank You: fentps

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2728

Yes, perfect, thank you tomaz :lol: :lol: :lol:

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.146 seconds

Contact Us

Contact us on Discord

Contact us on Facebook