I have a problem with the width of a popup menu. It contain a image with a width of 800 pixels but I want the width of the menu to be of 200 pixels and scrollable, but the menus is take the width of the image.. Is anyone can help me please??
Here is my code
Code: Select all
_scrollAmount=5 // Used for Netscape 4 scrolling
_scrollDelay=10 // Used for Netscape 4 scrolling
_menuCloseDelay=0 // The delay for menus to remain visible on mouse off
_menuOpenDelay=10 // The delay for opening menus on mouse over
with(Photo=new mm_style()){
offbgcolor="#ADA989";
bordercolor="#000000";
borderstyle="solid";
borderwidth="1px";
fontfamily="Arial, Tahoma, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ADA989";
offcolor="#000066";
oncolor="#000066";
itemwidth=200;
offfunction="popdown();";
}
with(milonic=new menuname("Img1")) {
margin=0;style=Photo;overflow="scroll";valign="middle";align="center";itemwidth=200;itemheight=200;menuwidth=220;menuheight=240;maxwidth=200;
aI("itemwidth=200;align='center';text=`<img style='width:799px;height:1200px;' src='Image1.jpg' width=799 height=1200>`;");
}
with(milonic=new menuname("Img2")) {
margin=0;style=Photo;overflow="scroll";valign="middle";align="center";itemwidth=200;itemheight=200;menuwidth=220;menuheight=240;maxwidth=200;
aI("itemwidth=200;align='center';text=`<img style='width:1216px;height:1800px;' src='Image2.jpg' width=1216 height=1800>`;");
}
Any help will be welcome...
Thank you,
Sorry for my english, I'm frenchspeaking
