Hi, I've used a CSS menu on my website that I got from a tutorial on this website:
CSS Menu Tutorial
Hopefully this will help you understand how to implement a drop-down menu.
Thanks,
Stuart
User Profile
Collapse
-
Oh wells, thanks anyway. I'll go set them up now and just sulk at IE for a bit.
Thanks,
Stuart...Leave a comment:
-
IE7 display issues
Hey, I was just wondering if anyone could diagnose the error in my CSS/HTML for my website, it displays how I want it to on FF but not in IE7.
Here is the link to the site:
Website
I am wanting the navigation bar, to be inside the wrapper div, but it displays outside when viewed in IE7.
If you want me to post the code please say and I will.
Thanks, Stu. -
Thanks for the replies, at first I was using a stupid amount of if statements in one actionPerformed method and it was just too messy to understand, hence the first post. I'm going to look up the Command pattern now and I'll get back to you guys.
Thanks again,
StuartLeave a comment:
-
JMenuItem ActionListener help
Hi there just a quick question, if I have multiple JMenuItems do I need to create an inner class ActionListener for each and every JMenuItem I create? Or is there a more efficient way of doing it?
I know I could just use event.getSource and check it all in one big ActionListener, but I've been informed that this is bad pracitce and should be done using inner classes.
Just wondering if there were any other ways of achieving... -
JCreator Classpath issue
Hey guys I'm using a Window Vista laptop and I've been away from it for a while, but since I've came back I've been trying to compile programs on JCreator LE 4.5, it must be something ridiculous but I've tried everything I can possibly think of...
This is the output from my file, which only displays "Hello World" to the console:
--------------------Configuration: GUI2 - JDK version 1.6.0_03 <Default>... -
So let me get this right, when you delcare a single string "Hey there" it gets assigned to a location in memory, say Location 56 for example. Every new string that is declared which has the value "Hey there" just points to the memory location 56. Whereas if you create a new instance of the string it creates a new instance of it in memory too at location 57?Leave a comment:
-
Have you made sure that 'm' has been initialised? If it is has not then it will either never execute the loop because the program does not know what 'm' is..Leave a comment:
-
Hey I know nothing of Python but maybe one of your errors is coming from the declaration of the letter 'f' in your dictionary, you've only used one ' and not closed it.Leave a comment:
-
Ahh I think I get it, the @Override annotation is used to tell the compiler that you DO want to override the method but if you have done something wrong, ie declared the method with an argument, it will warn you that you have done it incorrectly and will NOT infact be overriding the method you wanted to?
- StuLeave a comment:
-
gui problem
Hi there I was just wondering if you could explain what @Override does, I had a look around on Google but couldn't really come up with anything except that it overrides the method in the superclass, which understand. But are the methods you're using in a superclass?
I know this is a bit off topic but I've not came across it before.
Thanks
- StuLeave a comment:
-
Right, I'm back again. I need some help with my menu I'm creating, still for this same project I'm wanting to print out a menu, allow the user to make a choice then do the appropriate action. I've got most of it working so far, but I need to define the limits on how much they can deposit, which varies on which kind of account they have. Now what I was thinking of doing was, when the user enters a choice from the menu I get the program to check wihch...Leave a comment:
-
If I were you I'd get rid of the table layout all together and use CSS to structure your page. Also I'd get the web developer toolbar for Firefox then validate the site until it is green-lighted. It might help. As for what is creating the differences in the page... I dunno sorry....Leave a comment:
-
I was thinking of doing this when I was at work. I had previously implemented a do while loop but I was trying something like this:
The way you're suggesting it makes more sense, as there will be no change to the balance in the first place so the need to change it back is gone.Code:do{ //all the code from the last post// }while(balance>maxDeposit
So I've realised that...Leave a comment:
-
ATM sim
Hi there I am trying to write an ATM sim, but am having some trouble when it comes to depositing cash into the accounts..
I need to make sure that the user cannot enter more than £3000 into an account, this is their maxDeposit. But the code I ahve implemented so far, alerts them and prompts them to enter a different value, then if the user enters the same number it will just add it anyway.
Here is some of the code:...
No activity results to display
Show More
Leave a comment: