WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Re: possible bug in menu 4.2, Erik Arvidsson, November 22, 2002
     Re: possible bug in menu 4.2, Winfield, November 23, 2002
         Re: possible bug in menu 4.2, Erik Arvidsson, November 23, 2002
             Re: possible bug in menu 4.2, Erik Arvidsson, November 23, 2002

Subject: Re: possible bug in menu 4.2 From: Erik Arvidsson Date: November 23, 2002

Fixed.

http://webfx.eae.net/download/menu421.zip

I had to ensure the width/height was not set larger than the screen size in the show method.

Thanks for informing me about this bug.

erik

From: Erik Arvidsson
Sent: November 23, 2002
Subject: Re: possible bug in menu 4.2

You are correct. I must have missed the case when a manually opened menu was too large. I'll look into it.

erik

---------------------------------------------------------

Okay, sorry for the crappy formatting. It's probably just something I'm doing wrong, but I breakpointed the positionSubMenu function and it never gets called, whether I use cssFile or cssText. I can't get a context menu to scroll at all (without changing the src.)
-winfield
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<script type="text/javascript" src="/js/poslib.js"></script>
<script type="text/javascript" src="/js/scrollbutton.js"></script>
<script type="text/javascript" src="/js/menu4.js"></script>
<link type="text/css" rel="StyleSheet" href="/winclassic.css" />
</head>
<body oncontextmenu="showTallMenu()"></body>
<script>
function showTallMenu() {
// Menu.prototype.cssText = document.styleSheets[0].cssText;
Menu.prototype.cssFile = "/winclassic.css";
var menu = new Menu();
for (var i=0; i < 80; i++) {
menu.add(new MenuItem("Test","test"));
}
menu.show(window.event.screenX,window.event.screenY);
window.event.returnValue = false;
}
</script>
</html>
function showTallMenu() { // Menu.prototype.cssText = document.styleSheets[0].cssText; Menu.prototype.cssFile = "/winclassic.css"; var menu = new Menu(); for (var i=0; i < 80; i++) { menu.add(new MenuItem("Test","test")); } menu.show(window.event.screenX,window.event.screenY); window.event.returnValue = false; }





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX