sillyboy 43 Practically a Master Poster

From what I have read, there shouldn't actually be new lines in the title attribute. BUT if you do want to try, use "
" which is a carriage return. In firefox, the return is converted to a space, but in IE you will see a line break in the tool tip (which I think is incorrect behaviour).

Hope that helps...

sillyboy 43 Practically a Master Poster

I think you will find the problem is that some of your css is using "absolute" positioning. If you can instead use "relative" positioning, it should eliminate elements overlapping each other.

If you still have problems I will take a better look later.

sillyboy 43 Practically a Master Poster

iFrames hadn't crossed my mind. Using iFrames and some tricky css, it probably would be possible to achieve what you want.

Good luck

sillyboy 43 Practically a Master Poster

Can you get to any boot screens? If you put in your vista disk, can you boot from the cd?

sillyboy 43 Practically a Master Poster

I think google will be your best friend here, it seems it is a pretty common problem so just do a search and try some of the remedies...

sillyboy 43 Practically a Master Poster

I don't really know what the problem is. If it is ok in both firefox & IE, what is it not ok in? What does distortion of pages mean?

I viewed the page in firefox, ie, and chrome and didn't see any issues with the page.

sillyboy 43 Practically a Master Poster

You could do this by doing something like converting the .html into an image (e.g. print screen). BUT I assume you are after some dynamic behaviour where the .html is parsed and then displayed...

If this is indeed the case, I think you will need to get creative. I am also not entirely sure there is an easy way to manipulate background images (for opacity) using conventional methods (html/css).

sillyboy 43 Practically a Master Poster

According to last.fm:

1. Sigur Rós
2. Alkaline Trio
3. The Get Up Kids
4. Mineral
5. New Found Glory

William Hemsworth commented: New Found Glory! x] +4
sillyboy 43 Practically a Master Poster

If the audo file is purely a link, it is not up to you to control this behaviour. If you want to use some player of your choice, you will need to embed a player in a web page (not just a link to a file).

File associations are controlled by the client browser. E.g. firefox has a applications section, which associated extensions with plugins (mine has .mp3 -> quicktime) so quicktime will try and play the audio.

does that makes sense?

sillyboy 43 Practically a Master Poster

The problem is your image is not a background image, just a normal image. This means your css for background-attachment does not actually do anything on your image. The easiest solution to this is to use a proper background (look up 'background-image') and that way it will stay fixed. If you also need to size the image, well that is going to require some thought...

I imagine the resizing is just something you added to make it nicer, but if it isn't a requirement, probably just get rid of it.

sillyboy 43 Practically a Master Poster

I am not sure I would consider this a issue / bug. If the user has their JavaScript disabled, any scripts will not be executed (and most website use some form of JavaScript). Sure you could try make your site more robust for accounting for these situations, but it isn't your JavaScript. If you disable JavaScript in firefox you will get the same behaviour as you described (I tried it).

sillyboy 43 Practically a Master Poster

I had a look at your hyperlinks with firebug. The page where the rollover is not working doesn't have a onmouseover event associated with the table cells.

e.g.

<td><a href='#' onclick="show_release_info('7')">The Foots</a></td>

compared to

<td><a href="band_info.php?id=7&desc=the-foots" onmouseover="showPic('footspic150.jpg')" onmouseout="restPic('footspic150.jpg')" >The Foots</a></td>

hope this helps...

sillyboy 43 Practically a Master Poster

I hope to be in the JavaScript forum

sillyboy 43 Practically a Master Poster

huh? me?

sillyboy 43 Practically a Master Poster

You cannot assume the for loop will be entered. By adding some default return condition at the end of your function will ensure something is returned. You also need to make sure your code is doing what you intend. If you have a for loop I assume you do indeed want to loop, but the return statement is going to exit your function...

Hopefully that helps you a little.

sillyboy 43 Practically a Master Poster

If you get a JDK package you will be able to compile / run your java program (D, development). If you only need to run the applications, you can just get the JRE instead (RE, runtime environment).

But as you said, if you download and IDE like netbeans, it will give you the option to bundle in the JDK. This would probably make your life a bit easier.

sillyboy 43 Practically a Master Poster

hahahaha, best answer

sillyboy 43 Practically a Master Poster

You will probably want a server-side language to do this. Easiest of probably PHP. At the basic level, just try to read/write to text files or something that store your 'profiles'. If you want to do it properly, you will want to look into having a database. Hope this helps

sillyboy 43 Practically a Master Poster

Don't know if it is the best option, but I would probably write a function to check each character from the user input. So traverse through the user input and check that conditions such as >= a, <=z, are satisfied or whatever you requirements are.

sillyboy 43 Practically a Master Poster

Are you sure showMessageDialog takes arguments (null, String, String, String, String, String)?

I think you need to check your argument types.

sillyboy 43 Practically a Master Poster

I think you are overcomplicating it, just google scheduled tasks. You should able to create one easily using the tools provided by windows.

sillyboy 43 Practically a Master Poster

You don't want to just use the "scheduled tasks" that windows gives you?

sillyboy 43 Practically a Master Poster

Pretty much worked straight away for me. All I did was create a new project, delete the default package and copy in your package instead. DoodleBug.java was missing a package statement, but that was all...

You still having issues?

Alex Edwards commented: Thanks a million for your help! +1
sillyboy 43 Practically a Master Poster

Yeah, you will definitely need the package declarations. It is hard to tell what is going on though, so you have a specific error you can paste? (try google too).

sillyboy 43 Practically a Master Poster

You want to add a library, or just source files to edit? If it is a library (.jar) or something, there should be an add external library option. But I think you want to add source files, you can just drag-drop or do it directly in the filesystem.

sillyboy 43 Practically a Master Poster

Another good java IDE would be eclipse, it has a lot of plug-ins available so you will probably find something to help you with struts.

sillyboy 43 Practically a Master Poster

you can just using css, a:hover I think.

sillyboy 43 Practically a Master Poster

That fix worked for me. I checked it in firefox, the only problem with += would be string concatenation, but it was definitely adding digits for me...

sillyboy 43 Practically a Master Poster

I didn't really look through the code too thoroughly, but:

form1.balance.value + form1.buy.value;

did you want += here?

sillyboy 43 Practically a Master Poster

you posted this in the wrong forum, you want java, not javascript. Also, please try use the code tags, otherwise it is too hard to read.

sillyboy 43 Practically a Master Poster

So to do this, you will need to know when the value of the combo box has changed, so look at the various events associated with combo boxes.

On a particular event, you will then need to call some javascript function which will then add your textboxes.

Does that help?

sillyboy 43 Practically a Master Poster

Surely you are not expecting somebody to solve your problem for you...

sillyboy 43 Practically a Master Poster

I don't see why you would want to create an array containing different data types, and as far as I know, you can't.

What I assume is that you are trying to implement some sort of store where products have a price, tax etc. This would mean this information needs to be kept tied together and an array is not the best way to do this. Use an object (new class) where you store the price, tax, etc (if you store it as an object, the data types are completely up to you and you are essentially creating your own data type).

After you do that, all you need to do is create an array of your type.

Is that clearer?

sillyboy 43 Practically a Master Poster

I assume each of those attributes are related. If so, you should probably encapsulate that information into an object, and then store those objects in an array.

sillyboy 43 Practically a Master Poster

Can you disable javascript for firefox? lol

Tools -> Options -> Content

There should be a checkbox

sillyboy 43 Practically a Master Poster

Are you checking your code on the same machine all the time? My initial thought is you might have javascript disabled for firefox.

sillyboy 43 Practically a Master Poster

Cheers, I am fairly sure your suggestion is what I need. Thought it was something like that.

sillyboy 43 Practically a Master Poster

Hey guys,

I am writing a desktop app to interact with XML. It reads the XML fine using the DocumentBuilderFactory, but when I try to save any changed to the XML file (e.g. setNodeValue()) the changes do not save.

As an example here is some code I tried, just to remove a node:

Element root = d.getDocumentElement();
            Node child = (Node)root.getFirstChild();
            root.removeChild(child);

where d is the document object.

XML looks like the following:

<root>
	<options> 
			<node1 name="blah" nodeName="blah2" />    
	</options>	
	<others>
		<dir>
				<dir name="pathname" type="run" />
		</dir>
	</others>
</root>

Any help is appreciated.

sillyboy 43 Practically a Master Poster

As a "newbie" isn't this a little ambitious?

sillyboy 43 Practically a Master Poster

stringTo = stringFrom

sillyboy 43 Practically a Master Poster

Unfortunately I think IE doesn't support hover for anything other than anchors. BUT since this is a wide spread problem, I believe there is a free js script that takes care of this for you, if you google a but, you should be able to find it. If I knew the name I would tell you, but I can't remember. If you can't find it, let me know and I will look.

sillyboy 43 Practically a Master Poster

Yes, I am sorry. This is the C forum, so I should have known you were talking about the byte data type.

sillyboy 43 Practically a Master Poster

Oh, where is the explanation? :(

sillyboy 43 Practically a Master Poster

>My friend told me to use byte variables instead because they have 8 bits.
A byte doesn't have to be 8 bits.

Are you sure? (curious)

sillyboy 43 Practically a Master Poster

you can just call a javascript function from your jsp page. This will not be possible with Java objects though (to my understanding).

sillyboy 43 Practically a Master Poster

You have declared MakeVisible after you call it. I am not 100%, but you should really put your javascript in your head to avoid this. Hopefully that fixes your issue.

sillyboy 43 Practically a Master Poster
<link style="stylesheet" type="text/css" href="xxx.css" />

Goes in your head section.

sillyboy 43 Practically a Master Poster

Do you understand the concept of a stack & a queue? (That is half the problem).

If you do, think of a stack or queue as an object (class). This object should hold the contents of the particular stack / queue and also the methods it has.

Write some code and then people will be able to isolate the exact issues you are having.

sillyboy 43 Practically a Master Poster

You need to make sure your particular server allows for .jsp (i.e. has tomcat or something similar installed).

sillyboy 43 Practically a Master Poster

Watch your blocks as I think you are missing a few { }.

I would do it slightly different to you, but this is how I would do it:

function confirmSubmit() {
        var acc = document.getElementById("accept");
	if (!acc.checked) {
		alert("You must agree with the above items in order to utilize the statistics form.");
		return false;
	} else {
		return true;
	}
}

For this to work with your code, just make sure you set the id for your checkbox to "accept".