NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on March 05, 2015, 02:01:35 PM

Title: Adding button on static HTML page
Post by: markster on March 05, 2015, 02:01:35 PM
I use a static HTML page for my Index page (which works fine) but I need to add some buttons on it to call some NetTalk Browse/Form procedures. I tried adding a button by embedding a NetTalk form that only had 1 button on it, but that caused CSS display problems on the static page. Is there any way to insert some javascript or something to call the procedure(s) I want?

Regards,

Mark
Title: Re: Adding button on static HTML page
Post by: kevin plummer on March 05, 2015, 02:21:44 PM
Hi Mark,

I have done something similar by creating the buttons or hyperlinks in the HTML code. Code snip below...

      <tr valign="middle">
        <td><a href="NewPOForm" target="_self" ><font face='Arial' size='3'><b><img src="images/Play.png" width="16" height="16" hspace="10" vspace="5" border="0" align="absmiddle"></b></font><font size='3'><span class="style1">Approve Orders</span></font></a></td>
        <td width="20%" align="center"><font face='Arial' size='4' color='#0076A3'><b><!-- Net:s:ApprovePO --></b></font></td>
      </tr>