Author Topic: Javascript execution order  (Read 2350 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Javascript execution order
« on: April 02, 2012, 06:25:51 am »
I got a little problem.
I have two elements that call javascript-stuff, one with onmouseout, one with onmouseover.
They are drawn ontop of each other, so if I enter the upper one with the mouse of the lower one onmouseout is called and then afterwards of the topper one onmouseover. I need to change the order of how that happens, please help me!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Javascript execution order
« Reply #1 on: April 02, 2012, 09:21:19 pm »
I'm a little confused about the question honestly.  Could you also paste this part from your code?  Then i might be able to help =)
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Javascript execution order
« Reply #2 on: April 03, 2012, 03:14:12 am »
http://www.sorunome.de/webdeveloping/slideshow/
If I uncomment in the drawing part where the pics are drawen the onmouseout part and then hover above the pics start to blink.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!