NetTalk Central

Author Topic: Javascript link  (Read 3065 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Javascript link
« on: July 02, 2009, 10:27:16 AM »
Hi,
I,´calling a NTWS browse from a link like:

packet = CLIP(packet) & '<a href="./bLogEvents?TableName=%TableToAudit&RecordNr='&P_WEB.GSV('%IdField')&'&RecordName='&P_WEB.GSV('%NameField')&'" target="PopupWindow" alt="'&p_web.Translate('Click here for Audit')&'">'&p_web.Translate('Audit')&'</a>'&nbsp&nbsp

Can I call it with a javascript? <a href="javascript:var win=open(.......    how?

Thanks
Alberto

-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Javascript link
« Reply #1 on: July 03, 2009, 08:00:54 AM »
sorry Alberto, I don't understand the question.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Javascript link
« Reply #2 on: July 03, 2009, 08:25:13 AM »
What I mean is:

I can open an html page with javascript, which allows me to set some windows properties like:

width=900,height=500,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizeable=yes

I am now making a link using
'<a href="./bLogEvents?TableName=XXX">Audit</a>
(bLogEvents is a NTWS browse)

If I use a javascript link like:

<a href="javascript:var win=open('''&'    ???    '&''',''DwsAuditPage'', ''width=900,height=500,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizeable=yes'');" >Audit</a>

What do I have to type in the ??? to link to the same page?

Thanks
Alberto
-----------
Regards
Alberto