Repaired the broken JS in my Buttons article

Silly me... when I posted about issues with Loaded=, I didn't try *everything*  on my site under IE7, and, well, I still haven't ... but I DID try the drag on the glass button on my article:

Silverlight Buttons and Pushbutton Discussion

I suppose you can't fault me for being consistent. Clueless maybe, but inconsistent, no... I had decided when writing the Buttons article, that the mouse up, down, and move code for the glass button would be named "MouseUp", "MouseDown", and "MouseMove".

Spin forward in time and I did the same thing form my OutlookBar code which was no problem until I put the OutlookBar on my MasterPage!

I suppose it has to do with the order things are loaded, but the "MouseDown" code for the GlassButton apparently was calling the JS for the "MouseDown" for the OutlookBar, and then that code was trying to find a menu named "MenuGlassButton" ... oops!

Aside from being a great debug tool, showing me what exactly was wrong, it was NOT useful. So I've now repaired that, and all the JS and XAML boxes on that article reflect the change as well!

Stay in the 'Light!
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Wednesday, January 16, 2008 9:41 AM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910