Open client in new tab instead of window

Status
Not open for further replies.

HectorRetro

New Member
Mar 11, 2019
16
3
Hello,

I did try to do this yesterday. Also with support from the live chat. Apparently I still cant do this. Tried replacing this code with the advice. Nothing worked.
Is it possible for someone to share the code?

You must be registered for see images attach
 

Platinum

Hello!
Sep 2, 2012
295
281
Apologies about the quotation marks, they seem to be different from my phone. Simply replace the quotation symbols with the same ones that are in your PHP code for $lang.
 

HectorRetro

New Member
Mar 11, 2019
16
3
Code:
            </div>
            <div class="userbuttonbox">
               <a href="/client" onclick="window.open('/client','new','toolbar=0,scrollbars=0,location=1,statusbar=1,menubar=0,resizable=1,width=1270,height=700');return false;">
                  <div class="userbutton">
                     <?= $lang["Mgoto"] ?>
                  </div>
               </a>
            </div>
Post automatically merged:

This is the original code.
 

Joe

Well-Known Member
Jun 10, 2012
4,088
1,915
Code:
<a href="/client" target="_blank">
                  <div class="userbutton">
                     <?= $lang["Mgoto"] ?>
                  </div>
               </a>
Try replacing it with that, it should work.
 
Last edited:

Platinum

Hello!
Sep 2, 2012
295
281
HTML:
  </div>
            <div class="userbuttonbox">
               <a href="/client" onclick="window.open('/client','_blank','toolbar=0,scrollbars=0,location=1,statusbar=1,menubar=0,resizable=1,width=1270,height=700');return false;">
                  <div class="userbutton">
                     <?= $lang["Mgoto"] ?>
                  </div>
               </a>
            </div>

If this doesn’t work, nothing will.
 

HectorRetro

New Member
Mar 11, 2019
16
3
HTML:
  </div>
            <div class="userbuttonbox">
               <a href="/client" onclick="window.open('/client','_blank','toolbar=0,scrollbars=0,location=1,statusbar=1,menubar=0,resizable=1,width=1270,height=700');return false;">
                  <div class="userbutton">
                     <?= $lang["Mgoto"] ?>
                  </div>
               </a>
            </div>

If this doesn’t work, nothing will.
Looks like the default
 
Status
Not open for further replies.

Users who are viewing this thread

Top