Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 09, 2016, 09:01:01 PM
  • Proudly celebrating 10 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 2536 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: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:18 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:16 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