Menu problem - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Menu problem (/showthread.php?tid=88608) Menu problem by djdannyp on 01-21-2009 at 10:14 AM
code: that's some code I've got to make a menu (for a script that I'm probably going to need more help on once I get my head around exactly what i'm doing!) However I can't now get the windows to show. The menus are created properly, there's no errors in the debug window, the xml files load successfully in the tester (and I've tried substituting one for a menu window from another script which works) I'm at a complete loss RE: Menu problem by mynetx on 01-21-2009 at 10:28 AM
jscript code:The "else if" block has no closing curled bracket. RE: Menu problem by Spunky on 01-21-2009 at 10:30 AM
Did you save the New.xml in Unicode? RE: Menu problem by djdannyp on 01-21-2009 at 11:08 AM
There's no syntax error, I just didn't copy it properly into here, lol RE: Menu problem by Spunky on 01-21-2009 at 11:16 AM
Just try: code: RE: Menu problem by mynetx on 01-21-2009 at 11:18 AM Maybe you should pack us a copy of the script and attach it to let us debug it. RE: Menu problem by djdannyp on 01-21-2009 at 12:16 PM
Here it is RE: Menu problem by Matti on 01-21-2009 at 12:25 PM
The problem lies in the fact that you're trying to use some kind of menu identifier as window identifier. js code:In your interfaces XML: xml code:The "mnuNew" should be replaced by "options" so that Plus! can find the right window to load. Same goes for the about window: you defined it as "About" in your interfaces but you try to open "mnuAbout". RE: Menu problem by djdannyp on 01-21-2009 at 02:26 PM Woo, that got it sorted.....can't believe it was something so stupid! |