Frode Posted April 1, 2020 Report Share Posted April 1, 2020 Hi, I have a report page which lists customers.I have used Caspio´s Link generator to make a link which opens a new tab to take me to a customer´s contact card. It looks like this: <a class="cbMenuItem" href="https://www.website.com/cc.html?uid=[@field:User_ID]" target="_blank">View/Edit</a> When you click on the link as it is now, it will open a new tab each time I click on that customer. If I click second time still it is opening another tab even if this customer is already open. I want to restrict that. When I click the link related to the customer for the first time, I want to open a tab. And if I click second time onwards (on the same person) then it should take me to the tab already opened and focus on it. When I click the link related to another person, it should open a tab displaying that person, also if the first person is still open.To clarify – I want the ability to have several customers opened, but if I click the link on a customer already opened, I want to be sent to that opened tab.What changes should I do to make it work like that? Quote Link to comment Share on other sites More sharing options...
Kurumi Posted September 13, 2021 Report Share Posted September 13, 2021 Hi @Frode - this might be late, but you may check these links:http://jsfiddle.net/jaraics/pEG3j/https://stackoverflow.com/questions/10982593/open-link-in-new-window-or-focus-to-it-if-already-openhttps://stackoverflow.com/questions/5646506/restrict-link-to-open-same-link-once-againhttps://stackoverflow.com/questions/31472065/preventing-pages-being-open-in-a-new-tab-window Quote Link to comment Share on other sites More sharing options...
Frode Posted September 18, 2021 Author Report Share Posted September 18, 2021 Hi @Meekeee - yes we have resolved this one. But thank you! Quote Link to comment Share on other sites More sharing options...
autonumber Posted November 1, 2022 Report Share Posted November 1, 2022 Hello! I found this post that might be helpful as well Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.