topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 11:23 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Turning off onMouseOut event when onClick method executed  (Read 4646 times)

h0meopathic

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
Turning off onMouseOut event when onClick method executed
« on: October 12, 2008, 11:23 AM »
Code: Javascript [Select]
  1. if(onclick() == true)
  2.     {
  3.       onmouseout() = null;
  4.     }


I was trying this code but I get an error "onClick not defined".
Any Ideas?
« Last Edit: October 16, 2008, 09:26 AM by h0meopathic »

aalift

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Turning off onMouseOut event when onClick method executed
« Reply #1 on: November 02, 2008, 01:22 AM »
hi
im no expert but i think it means you need this?
onclick="SomeJavaScriptCode"


Parameter    Description
SomeJavaScriptCode    Required. Specifies a JavaScript to be executed when the event occurs.

heres a good site
http://www.w3schools...ef/jsref_onClick.asp

hope it helps