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!

posted @ Wednesday, January 16, 2008 9:41 AM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 4 and 3 and type the answer here:
 

Live Comment Preview:

 
«September»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011