Jump to content
TNG Community

Target blank


Janos Dibusz

Recommended Posts

Janos Dibusz

Good morning,

Can anyone help me why the code below is not working?

$menu[] = tngddrow(getURL( "surnames", 0), "surnames-icon", "", "surnames", "", "\" target \"blank");

 

Thank you
Janos

Link to comment
Share on other sites

The function tngddrow() only takes 5 arguments; I count 6 in your example

function tngddrow($link, $id, $thumb, $label, $labelliteral = false)

Also, the bit at the end has one escaped quote mark and needs both, so this

target="_blank"

in PHP output statement would be

target=\"_blank\"

 

GOGGS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...