MenuBar problems
Everything works as it should, except when I click the actions menu button the JLabel covers up part of the drop down menu. If I resize the window smaller so that the drop down menu is longer than the window itself when clicked, it shows up on top of the JLabel. Why is this happening??
Here's the code:
public class GUI implements ActionListener {
private JFrame aWindow = new JFrame ( "Encipher v2.0" );
private JMenuBar menuBar = new JMenuBar();
private JPanel top = new JPanel();
private JPanel bottom = new JPanel();
private JLabel output;
private JPanel home = new JPanel();
private JPanel verytop = new JPanel();
private JPanel mid = new JPanel();
private TextField input;
private int flag=0;
String password;
Container content = aWindow.getContentPane();
public GUI() {
Toolkit thekit = aWindow.getToolkit();
Dimension wndsize = thekit.getScreenSize();
aWindow.setBounds ( wndsize.width/4, wndsize.height/4, wndsize.width/2, wndsize.height/2 );
aWindow.setDefaultCloseOperation ( WindowConstants.DISPOSE_ON_CLOSE );
content.setLayout(new BorderLayout());
home.setLayout(new GridLayout(2,0));
bottom.setLayout(new GridLayout(10,0));
top.setLayout(new GridLayout(2,0));
//menuBar.setBorder(new BevelBorder(BevelBorder.RAISED));
//menuBar.setBorderPainted(true);
input = new TextField("",60);
output = new JLabel("---");
JMenu actionsMenu = new JMenu ( "Actions", true );
JMenuItem createMI = new JMenuItem ( "1. Create" );
createMI.addActionListener(this);
JMenuItem specialMI = new JMenuItem ( "2. Replace spaces" );
specialMI.addActionListener(this);
JMenuItem spacesMI = new JMenuItem ( "3. Remove spaces" );
spacesMI.addActionListener(this);
JMenuItem haxorMI = new JMenuItem ( "4. Letters to numbers" );
haxorMI.addActionListener(this);
JMenuItem uvowelsMI = new JMenuItem ( "5. Capitalize vowels" );
uvowelsMI.addActionListener(this);
JMenuItem uconsMI = new JMenuItem ( "6. Capitalize cons." );
uconsMI.addActionListener(this);
JMenuItem reverseMI = new JMenuItem ( "7. Reverse case" );
reverseMI.addActionListener(this);
JMenuItem numlettMI = new JMenuItem ( "8. Number to alpha rep." );
numlettMI.addActionListener(this);
JMenuItem lettnumMI = new JMenuItem ( "9. Alpha to number rep." );
lettnumMI.addActionListener(this);
JMenuItem startoverMI = new JMenuItem ( "10. Start Over" );
startoverMI.addActionListener(this);
actionsMenu.add(createMI);
actionsMenu.add(specialMI);
actionsMenu.add(spacesMI);
actionsMenu.add(haxorMI);
actionsMenu.add(uvowelsMI);
actionsMenu.add(uconsMI);
actionsMenu.add(reverseMI);
actionsMenu.add(numlettMI);
actionsMenu.add(lettnumMI);
actionsMenu.add(startoverMI);
menuBar.add(actionsMenu);
actionsMenu.setBorder(new BevelBorder(BevelBorder.RAISED));
actionsMenu.setBorderPainted(true);
content.add(menuBar, BorderLayout.NORTH);
JButton b1 = new JButton("1. Create Password from phrase");
b1.addActionListener(this);
bottom.add(b1);
JButton b2 = new JButton("2. Replace spaces with a special character");
b2.addActionListener(this);
bottom.add(b2);
JButton b3 = new JButton("3. Remove spaces");
b3.addActionListener(this);
bottom.add(b3);
JButton b4 = new JButton("4. Replace letters with numbers");
b4.addActionListener(this);
bottom.add(b4);
JButton b5 = new JButton("5. Capitalize vowels");
b5.addActionListener(this);
bottom.add(b5);
JButton b6 = new JButton("6. Capitalize consonants.");
b6.addActionListener(this);
bottom.add(b6);
JButton b7 = new JButton("7. Reverse case");
b7.addActionListener(this);
bottom.add(b7);
JButton b8 = new JButton("8. Replace numbers with alpha representation");
b8.addActionListener(this);
bottom.add(b8);
JButton b9 = new JButton("9. Replace alpha with numeric representation");
b9.addActionListener(this);
bottom.add(b9);
JButton b10 = new JButton("10. Start over using original input");
b10.addActionListener(this);
bottom.add(b10);
verytop.add(input);
mid.add(output);
top.add(verytop);
top.add(mid);
home.add(top);
home.add(bottom);
content.add(home, BorderLayout.CENTER);
//content.add(top);
//content.add(bottom);
public void display() {
content.setVisible(true);
aWindow.setVisible (true);
}
ok.. check this thread... i had eexactly the sam,e problem and the answer here solve it
http://forum.java.sun.com/thread.jsp?forum=57&thread=321750
Similar Messages
-
In PSE9 I am having a problem with the Menubar (i.e. the one that says, File, Edit, etc.) at the top of the screen. Instead of the bar appearing, there is only a small triangle that I must click on to see the bar. I know the cause of this problem. It is due to the dpi seting of my computer screen. This problem first appeared in PSE6. The issue has persisted in all versions up through PSE9. (In a Dec 2 post on this forum Bob Gager, an Adobe employee, referred to this Menubar issue and said, "The Organizer Menubar going away is one of the known problems if you set your monitor to something higher than 96dpi".)
In previous PSE versions the solution to the problem was to check "Use system font" in preferences. Unfortunately, when I try this solution in PSE9, it does not fix the problem..
Is it true that the traditional workaround for this issue is not effective in PSE9?
Thanks for any help.Help guys
-
I dont know what happened but now when I open maya personal learning edition, the bar at the top and bottom of computer screen hides it self. I have to click out of the program for the bars to return. I thought that it was the maya program so I reinstalled it. But the same thing happens. It's frustrating because i need to access the program's menu bar. Is this a problem that i can fix?
If you are really running 10.0.x that may be the problem. Mac OS X versions prior to 10.1.5 are very poorly supported by third parties. I'd purchase at least Jaguar, if not Panther or Tiger and upgrade your machine. Backup your data first.
I'd also contact Maya and verify their system requirements and make sure you don't have any menubar based software which might interfere with its loading. Many third party menubar utilities are very disruptive on programs that need more menus from it. Especially Appearance Manager extesions such as APE from http://www.unsanity.com/ also known as http://www.haxies.com/ -
JFrame (menubar) problem
Hi,
I have a JFrame with few JPanels on it ( those in turn have JButtons etc). JFrame has the ussual menubar ( set using setJMenuBar) . Menubar is not accessiable using <TAB> . All other items are. Any ideas?
Thank you in advence for any help.Why do you want it to be accessible through pressing tab?
If you haven't noticed, you can't <TAB> your way to the menubar in any normal GUI application on any platform. -
JFrame (menubar) problem with being keyboard accessiable
Hi,
I have a JFrame with few JPanels on it ( those in turn have JButtons etc). JFrame has the ussual menubar ( set using setJMenuBar) . Menubar is not accessiable using <TAB> . All other items are. Any ideas?
Thank you in advence for any help.Try a KeyListener.
Usually JMenuBars are accessed with ALT + FirstLetter
Add a KeyListener which supports that! -
Airport issue after update - Status grey / Connection OK - Solved
Hello All,
Just wanted to share an issue I had that was driving me nuts, and then the final solution.
Ever since the recent airport extreme update, my airport status has been broken. The menubar icon has shown up as grey / no signal, and when I click on it, the only option I have is to 'turn airport on' which when selected does nothing.
In spite of this, though, my airport connection for my preferred network is working fine - I just can't select a new network off the list (there is no list, even in internet connect)
This has been a problem since the airport extreme update. Nothing I did seemed to help. Finally, I called apple and spent 45 minutes on the phone with them, doing the obligatory pram resets and power management resets, etc. Nothing seemed to help. We found a way to enter networks manually (go to system prefs / network / airport and add your network there) but the status problem was still there.
After I got off the phone, I went to the apple support page and found the airport extreme software update and downloaded it manually and installed it.
Manually Downloading and Installing the airport extreme update again solved the problem.
I don't know why the software-update version didn't quite work, but installing the update from the website did solve the gray / broken airport status menubar problem.
Just thought I'd share that with everyone, as it's been driving me nuts for the better part of a week.
Cheers!
JayK
Macbook Pro Mac OS X (10.4.8) 2G ramI would like to confirm that update worked for me too. Actually, I didn't need to do it manually like some of you did. It worked straight away after automatic software update.
My problem was occasional inability to connect to my wireless router. The problem would have been solved by SSID change manually on the router and reconnection.
After the latest update, everything is working flawlessly.
I have (not so known) OZENDA router and didn't have Parallels installed.
MacBook Pro C2D 17'' 2.33GHz Mac OS X (10.4.8) -
Problem with the MenuBar and how can i delete a own component out of the storage
Hello,
I opened this thread in the category "Flex Builder 2", but
under this category my questions fit better.
I have a problem with the MenuBar and a question to delete a
component out of storage.
1. We have implemented the MenuBar, which was filled
dynamically with XML data.
Sporadically it will appear following fault, if we "mousover"
the root layer.
RangeError: Error #2006: Der angegebene Index liegt
außerhalb des zulässigen Bereichs.
at flash.display::DisplayObjectContainer/addChildAt()
at mx.managers::SystemManager/
http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
at mx.managers::SystemManager/addChild()
at mx.managers::PopUpManager$/addPopUp()
at mx.controls::Menu/show()
at mx.controls::MenuBar/::showMenu()
at mx.controls::MenuBar/::mouseOverHandler()
Here a abrid ged version of our XML to create the MenuBar:
<Menuebar>
<menu label="Artikel">
<menu label="Artikel anlegen" data="new_article" />
<menu label="Artikel bearbeiten" data="edit_article" />
<menu label="Verpackung">
<menu label="Verpackung anlegen" data="new_package" />
<menu label="Verpackung bearbeiten" data="edit_package"
/>
</menu>
<menu label="Materialgruppe">
<menu label="Materialgruppe anlegen"
data="new_materialgroup" />
<menu label="Materialgruppe bearbeiten"
data="edit_materialgroup" />
</menu>
</menu>
</Menuebar>
It is a well-formed XML.
2. Delete a component out of storage
We have some own components (basically forms), which will be
created and shown by an construct e.g.
var myComponent : T_Component = new T_Component ;
this.addChild(myComponent)
Some of our forms will be created in an popup. On every call
of the popup, we lost 5 mb or more, all childs on the windows will
be removed by formname.removeAllChild();
What cann we do, that the garbage collector will dispose this
objects.
Is there a way to show all objects with references (NOT
NULL)?
I have read in the Flex Help, that
this.removeChild(myComponent) not delete the form and/or object out
of the storage.
Rather the object must be destroyed.
It is sufficient to call delete(myComponent) about remove
this object out of the storage as the case may be that the
garbage-collector remove this object at any time?
Or how can I destroy a component correctly. What happens with
the widgets on this component e.g. input fields or datagrids?
Are they also being deleted?
Thanks for your help.
MatzeIf you mena the "photo Library" then you cannot delete it.
This is how iphone handles photos. There are not two copies. There a re simply two places from which to access the same photos. ALL photos synced to iphone can be accessed via Photo Library. Those same pics can be accessed via their individual folder. -
Problems to add a background-image to the widget Spry MenuBar!
With DreamweaverCS4 version 10.0 Build 4117, (italian language) I have tried to add a Spry MenuBar to the one website page.
But the problem is that I haven't understood where add my property "background-image": url(../immagini/Menu_Button_01.gif).
In the Application Page of Dreamweaver I have this screenshot:
But in the Preview Window of InternetExplorer 7 I have this strange behavior:
The "Menu_Button_01.gif" are a rounded square button made with PhotoshopCS4 and have a transparent background.
In the IE7 MenuBar doesn't appears as expected, without the transparent background!
1) How can I do to show my "Menu_Button_01.gif" image as transparent background in the MenuBar?
2) What is the correct CSS Style Rule to apply the "background-image" property?
(Example: "ul.MenuBarHorizontal li"? Or "ul.MenuBarHorizontal a"? )
3) Should I also apply the property: "background-color:transparent"? Where? What is the specific CSS Style Rule?
I have uploaded my little local WebSite to Rapidshare (100KB):
http://rapidshare.com/files/370735082/Test_Spry.zip.html
Please download it to inspect my problem.
Please response me!
Horsepower0171.For a starter, you should not put your background style rules in the following. The accompanying descriptions will tell you this.
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 116px;
float: left;
background-image: url(../immagini/Menu_Button_01.gif);
background-color: transparent;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 116px;
position: absolute;
left: -1000em;
background-image: url(../immagini/Menu_Button_01.gif);
background-color: transparent;
Then when you apply style rules to
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
background-image: url(../immagini/Menu_Button_01.gif);
background-color: transparent;
this will be overridden by the following rules. They replace your image with an arrow image.
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
There are one of two solutions
If you do not want and arrow, simply set background to none in the above four instances.
If you do want an arrow, include a down arrow image in a second Menu_Button_01.gif image called Menu_Button_01_DownArrow.gif or similar as well as a third one for your right arrow image.
I hope this helps.
Ben -
Menubar submenu centering problems
I just downloaded the spry widgets today to use the menubar
in a webpage. I need the menu items to be centered but the submenus
to be on the left. Unfortunately while it works in Firefox it does
not work in IE7. In IE the menu items on top are centered but the
submenus shift over to the right with the left edge of the submenu
directly under the center of it's parent menu item. I checked the
Menu
Bar Styling Examples thread but nothing I tried seemed to work
(ironically i accidentally commented out the ul.MenuBarHorizontal
li.MenuBarItemIE css and it did align correctly in ie even though
it caused other problems)
Here's the html code I'm using in the page that contains the
menubar along with any css for the menu bar in the actual page:
quote:
<style type="text/css">
ul.MenuBarHorizontal li
width: 103px;
text-align:center;
font-size:11px; border:none;
ul.MenuBarHorizontal ul li
width: 150px;
text-align:left; font-size:11px; border:none;
ul.MenuBarHorizontal a
text-align:center; background-color:#9ACABE; color:#FFFFFF;
font-weight:bold; font-family:arial;
ul.MenuBarHorizontal ul a {
text-align: left;
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
color: #003377;
text-decoration:underline;
</style>
****START OF HTML CODE****
<td valign="middle" height="25px" align="center"
bgcolor="#9ACABE">
<table cellpadding=0 cellspacing=0 width="100%"
align="center">
<tr valign="middle" align="center">
<td align="center" valign="middle">
<!-- START OF MENUBAR -->
<ul id="menubar1" class="MenuBarHorizontal">
<li><a href="about.html">ABOUT
US</a></li>
<li><a class="MenuBarItemSubmenu"
href="services.html">SERVICES</a>
<ul>
<li><a href="itServices.html">Information
Technology</a></li>
<li><a
href="consultServices.html">Consulting</a></li>
<li><a href="accountServices.html">Customer
Support</a></li>
<li><a href="softwareEngineering.html">Software
Engineering</a></li>
<li><a href="immunization.html">Immunization
Registry</a></li>
<li><a
href="products.html">Products</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu"
href="alliances.html">ALLIANCES</a>
<ul>
<li><a
href="customers.html">Customers</a></li>
<li><a
href="partners.html">Partners</a></li>
<li><a
href="affiliates.html">Affiliates</a></li>
</ul>
</li>
<li><a href="news.html">NEWS &
EVENTS</a></li>
<li><a
href="contact.html">CONTACTS</a></li>
</ul>
<!--Initialize the Menu Bar widget object-->
<script type="text/javascript">
var menubar1 = new Spry.Widget.MenuBar("menubar1",
{imgDown:"", imgRight:""});
</script>
</td>
</tr>
</table>
</td>
Here's a copy of the SpryMenuBarHorizontal.css file I have:
quote:
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release
1.5 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights
reserved. */
LAYOUT INFORMATION: describes box model, positioning,
z-order
/* The outermost container of the Menu Bar, an auto width box
with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
/* Set the active Menu Bar with this class, currently setting
z-index to accomodate IE rendering bug:
http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this
container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 8em;
float: left;
/* Submenus should appear below their parent (top: 0) with a
higher z-index, but they are initially off the left side of the
screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
/* Submenu that is showing with class designation
MenuBarSubmenuVisible, we set left to auto so it comes onto the
screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 8.2em;
/* Submenus should appear slightly overlapping to the right
(95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin: -5% 0 0 95%;
/* Submenu that is showing with class designation
MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text
decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue
background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
/*background-color: #33C;*/
color: #FFF;
/* Menu items that are open with submenus are set to
MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal
a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal
a.MenuBarSubmenuVisible
/*background-color: #33C;*/
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a
given menu item
/* Menu items that have a submenu have the class designation
MenuBarItemSubmenu and are set to use a background image positioned
on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
/*background-image: url(SpryMenuBarDown.gif);*/
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation
MenuBarItemSubmenu and are set to use a background image positioned
on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
/*background-image: url(SpryMenuBarRight.gif);*/
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class
designation MenuBarItemSubmenuHover and are set to use a "hover"
background image positioned on the far left (95%) and centered
vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
/*background-image: url(SpryMenuBarDownHover.gif);*/
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class
designation MenuBarItemSubmenuHover and are set to use a "hover"
background image positioned on the far left (95%) and centered
vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
/*background-image: url(SpryMenuBarRightHover.gif);*/
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless
you are an expert
/* HACK FOR IE: to make sure the sub menus show above form
controls, we underlay each submenu with an iframe*/
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
/* HACK FOR IE: to stabilize appearance of menu items; the
slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f/loat: left;
background: #FFF;
If I can get this last issue working I'd be all set with the
website. If anyone has any suggestions I would greatly appreciate
it. Thanks.All you have to do is remove the text-align:center that you
added to this rule:
ul.MenuBarHorizontal li
width: 103px;
text-align:center;
font-size:11px; border:none;
In the Menu Bar Styling Examples, we don't change the
text-alignment of the li, we change the alignment of the link
elements which are the actual menu items.
--== Kin ==-- -
Logo/picture to menubar? simple css problem?
Hi, I'm having a problem getting a logo to appear correctly in a horizontal menu bar. It appears to be fine in IE 8, Safari 5, Chrome, and Firefox. However in IE 7 and lower it does not seem to display correctly. The only conditional notes I have for IE 7 and lower deals with the slideshow on the page which shouldn't be affecting the menubar as it is in a different div.
Here is the url: www.elementcentral.com
Any advice? I could really use some help- I've tried quite a few things but to no avail...
Thanks for any help you can offer and I'm more than happy to clarify or anything else!
Sincerely,
MattAnyone? I'm thinking its just something simple but I can't figure it out for the life of me heh.
-
I'v got an enormous problem with my menu bar...
I can put code here...but it's so messy that nobody but me can read it :p
So what i wanted to ask is...does anyone got a little project... with a menubar and the possibility to switch from one menu and the other menu.
Description of my project->
1) Logging in as administrator-logging in as user
2) Frame with lots of options
3) Underneath the frame: tabbed Panes...
--->biggest problem: to activate one tabbed pane by pressing a button on the menubar, in the meanwhile another tabbed pane is deactivated.
--->smaller problem:some buttons has to be disabled if you are logged in as a normal user.
If you can help me...
Thanx in advancewhen you click on the menu item (via actionPerformed) use xxxxTabbedThingy.setEnabled(false) on one tabbed pane and true on the other.
I think just using the .setEnabled for these items will help you out. -
Menubar submenu display problems
I have created a menubar using graphic elements as the
submenu triggers, and I was able to go in and make modifications to
the css and js files so that everything was being properly
positioned in FF and IE6. When I checked in IE7, however, the
submenu's appear much lower than in FF/IE6. Here is a link to the
page to see what I am talking about:
http://www.jefffulwiler.net/spryWidgets/menuCombo.html.
Any suggestions on addressing this issue would be greatly
appreciated. Thanks.
JeffThis fix was posted in another thread and worked for me:
The problem for the false is a known bug we have for the Spry
Menu in a solution for another IE bug. You'll have to go in your
CSS and look for this class "ul.MenuBarVertical iframe". Inside you
should add the following line:
filter:alpha(opacity:0.1); -
Hello, I am having a problem with the way the time shows in the menubar in Snow Leopard. I set the system preferences to show the time like XX:XX (hour 00-23) so when it is 6 o clock in the morning the menubar should show 06:00 but it actually shows 6:00. It do not show the hour with two digits for 1 to 9. I think that the time in the menubar ignores the modifications of the time in the system preferences. I also edit the com.apple.menuextra.clock.plist and change the date format line from H:mm to HH:mm and restart the Mac, but nothing happens and when i open again the plist that line still was H:mm. I will appreciate a lot any help that you could give me. Excuse me for my english i know it is not good, but i hope you could understand me. Thanks,
Hello, Yes, it is set to 24 hours mode. I know that it this is a minor issue, but i hate when i can not control something that i should Thank you for the tip anyway.
-
Spry Menubar-background problem
Hi,
I have tried to search for this problem, and though I have
found others with the same problem, there have been no answers
(probably so obvious I missed it and they figured it out.) And I
did update the Spry Menubar to the latest version.
The Spry Horizontal menubar works fine on Firefox, but on IE
7 the background is white as well as the submenus, not the intent.
The alignment and size is fine, just the designed background colors
don't work (on the menu itself, I want a transparent background, on
the submenus it is #777079.)
Website:
September
Entertainment Website
Style Sheet spry:
Spry
CSS
Thank you in advance for any help you can give me.
Cheers,
JanellHi,
Just found the problem for anyone that is having the same
thing happen. It is the hack at the bottom of
"SpryMenuBarHorizontal.css":
BROWSER HACKS: the hacks below should not be changed unless
you are an expert
/* HACK FOR IE: to make sure the sub menus show above form
controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the
slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: fff;
Where it says: "background:fff;" change it to whatever you
need, in my case, "background: transparent;"
Voila!!
Cheers,
Janell -
Formatting problem with Vertical Spry Menubar with Frameset
I have a frameset, which includes a Top Frame, with a nested
Left Frame, and a nested bottom frame after that. I also have a
vertical spry menubar in this left frame. When I click on an item
to view it's submenu, the center frame of the page cuts of a
significant portion of the submenu. I want the page to appear, so
that when you click on an item to view it's submenu, the submenu
appears past the frame's border, without having to set it up so
that the frame width is relevant to the use of the spry menubar
within it.
I talked to a Tech Support person today over the phone, and
he told me to post here and ask for someone to post custom code for
this.
If anyone can help, it would save me so much grief, and I
would be very greatful!There is no practical way to make a positioned page element
as you have in
the Spry menus cross the boundary between two separate frames
(i.e., two
unique HTML pages).
It is true. Your choices are limited now -
1. DUMP THE FRAMES - you would not be having this problem in
a non-framed
site.
2. Redesign your menus so that they do not need to span a
frame boundary.
3. Redesign the frameset so that you leave enough room for
the largest
popup.
4. DUMP THE FRAMES - you would not be having this problem in
a non-framed
site.
I recommend either #1 or #4, depending on what your needs
are. You just
have no idea the horrors that await you if you continue with
the frames.....
8)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"DMMaestro2009" <[email protected]> wrote in
message
news:gbdvir$a8i$[email protected]..
>I have a frameset, which includes a Top Frame, with a
nested Left Frame,
>and a
> nested bottom frame after that. I also have a vertical
spry menubar in
> this
> left frame. When I click on an item to view it's
submenu, the center frame
> of
> the page cuts of a significant portion of the submenu. I
want the page to
> appear, so that when you click on an item to view it's
submenu, the
> submenu
> appears past the frame's border, without having to set
it up so that the
> frame
> width is relevant to the use of the spry menubar within
it.
>
> I talked to a Tech Support person today over the phone,
and he told me to
> post
> here and ask for someone to post custom code for this.
>
> If anyone can help, it would save me so much grief, and
I woulde be very
> greatful!
>
> Here's the link to the page...
>
>
http://www.vrd.ca/713/index2.htm
>
Maybe you are looking for
-
Error when starting repository browser listener on Oracle Database
I have successfully installed oracle database 11g release2 (11.2.0.2.0). The associated Oracle Warehouse Builder 11g Release 2 (11.2.0.3.0) Standalone Software works fine, everything is ok. Now I want to start Repository Browser. So, I must run the s
-
LOWER PAGE NO SCREEN JUST BLACK AND GRAY, HELP?
this started a week ago or almost 3 inches of the bottom of the page is black/gray solids, if I go to internet explorer this doesn't happen or if i go to chrome no problem. so i only have a little bit more than a half of screen to work with. I have t
-
How do you automatically create paragraph styles from a document?
Hi, (posted in general indesign as well - advised to post over here) I know I've seen this somewhere but can't for the life of me find it... How can I automatically create paragraph and character styles in an InDesign CC document? I'm sure I saw a sc
-
Drag and drop option for hierarchy through Web Template
Hi All, I have 2 hierarchies in one report. For example Product Hierarchy and Customer hierarchy. I would like to have an option in query where I can select the node from each hierarchy and the report is displayed only for the selected node/nodes. I
-
Escaping sql queries in crystal
Hi, Im trying to create a command object from a sql that normally returns data in toad/sqlplus but it fails in crystal becos it is not escapaed properly Connect to Oracle 10G database Is there any ready reckoner for "escape"/quotes while creating co