Forums: Button to have the button execute a JavaScript. - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Button to have the button execute a JavaScript. Rate Topic: -----

#1 User is offline   Mark Wilson 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 14-June 09

Posted 17 March 2010 - 03:55 PM

Hi guys I’m turning to the forum for a little help. I have been working with Jane on this but she fails to understand I do not know much about code I’m learning.
I’m trying to put help links on my page. Serge was great he gave me this tutorial to follow:
My link
Works great but now I would like to yous the button in 6.2 instead of a link. I tried the following code in the Server tab of the button.
****
<A
HREF="popupbasic.html"
onclick="return popup(this, 'notes')">my popup</A>
****
Did not work

*****
HREF="popupbasic.html"
onclick="return popup(this, 'notes')">my popup
****
Showed working on the “Check Syntax” but not on the site.
0

#2 User is offline   Jane 

  • Advanced Member
  • PipPipPip
  • Group: Admin
  • Posts: 7278
  • Joined: 13-June 06
  • Gender:Female

Posted 19 March 2010 - 02:05 PM

Hi,

here is the correct code:
return popup('popupbasic.html', 'notes');

best regards,
Jane Endaltseva
e-mail: support@xlinesoft.com
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users