Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #864
~27.2K People Reached
Favorite Tags

41 Posted Topics

Member Avatar for Gerbiler

I have an html table with six rows and two columns. I have what it is supposed to look like [URL="http://wordpress.thelandman.org/test.html"]here[/URL]. But, what is really confusing me is that with the exact same source code snippet inside wordpress [URL="http://wordpress.thelandman.org/buying/"]here[/URL] is not displaying the same output, the image does not span …

Member Avatar for Daniel_33
0
1K
Member Avatar for 203428

You should probably try System.nanoTime() long startTime = System.nanoTime(); methodToTime(); long endTime = System.nanoTime(); long duration = endTime - startTime;

Member Avatar for Gerbiler
0
70
Member Avatar for Gerbiler

I have recently been working on a job with a client who gets their data from county data. The county data is contained in .dbf files. Every year the data is updated and my client will get a CD/DVD from someone containing the county data in .dbf format. Now the …

Member Avatar for Ujube
0
334
Member Avatar for Gerbiler

Ok, so this problem may have been asked before, but no one seems to have my exact problem. When I put a set of inline <P>'s inside an inline div and then put the width to 100%, instead of expanding to the width of it's parent element it sticks at …

Member Avatar for Arkinder
0
4K
Member Avatar for Gerbiler

Recently I have been working with Mysql and PhpMyAdmin a lot on Ubuntu, and I have stumbled across a very annoying error, or set of errors. I keep on getting a bunch of random loosely related error messages. These are the errors I get. When I try to log in …

Member Avatar for griswolf
0
540
Member Avatar for stonybony

I am not quite sure what the red line of code is supposed to do. [CODE]$output[] = '<td>'; echo "<input type='text' name='Value[{$row['id']}]' value='{$row['value']}'>"; $output[] = '</td>'; $output[] = '<td>'; echo "<input type='checkbox' name='Update[{$row['id']}]' value='Box #{$row['id']}'>"; $output[] = '</td>';[/CODE] Is that what you were looking for, or did you want the …

Member Avatar for Gerbiler
0
176
Member Avatar for kay19

the problem is that you are making it skip the first number by using[CODE]integer = fin.nextDouble();[/CODE] before the while loop. in the examples you gave if the first number is not there the answer is correct 98 -46 74 -66 -- without the first number, 98, the answer is 140 …

Member Avatar for kay19
0
186
Member Avatar for Gerbiler

I was just wondering if anyone knew how to make a WordPress menu item only show to an Administrator.

Member Avatar for diafol
0
66
Member Avatar for supriyabirje

What do you mean by blur, do you mean so the user just can't click it? if you do just do [CODE]document.getElementById['id-of-select-box'].disabled=true;[/CODE] Although I think I might be missing your point entirely.

Member Avatar for diafol
0
222
Member Avatar for emily-bcot

what exactly is your problem? is it that i is not the correct value, or is it that siteIDs[i] has the wrong value? perhaps the problem is that you did not declare i.

Member Avatar for tinymark
0
302
Member Avatar for Translucentbill

Yeah, I agree. I also know java but would have trouble trying to build a tower defense game. Any tutorials that you guys could link us to would be greatly appreciated.

Member Avatar for jon.kiparsky
0
3K
Member Avatar for matrixcool
Member Avatar for public-image
Member Avatar for Akill10
Member Avatar for Akill10
0
170
Member Avatar for WebKoller

your problem is in what you are sending the php script, not the php script itself. you are sending this.parentNode. instead of a valid url. if the php script was say called getarticle.php then this code would be applicable.[CODE]onclick="javascript:makePOSTRequest(this.parentNode.action,this.parentNode.children[0].value);"[/CODE] basically what I am doing here is getting the url from …

Member Avatar for Airshow
0
1K
Member Avatar for brown23

well, you could try an invisible 'a' element and then programmaticly click it. that would probably work, but I have no idea how you would implement that though

Member Avatar for brown23
0
143
Member Avatar for dk4210

do something like [CODE]echo "<p style=\"display:none\" id=\"anid\">$count</p>;[/CODE] and then in javascript do [CODE]if(document.getElementById("anid").innerHTML>=5){ document.getElementById("uploadbutton").style.display = "none"; }[/CODE]

Member Avatar for dk4210
0
155
Member Avatar for hwalsh

you should declare foodObject as an instance variable in Party, and instantiate it in the constructor. Then it won't empty. [CODE]public class Party { private String inputLine; private Food foodObject; public Party() { foodObject = new Food(); reader = new Scanner(System.in); }[/CODE] and then take out the foodObject = new …

Member Avatar for hwalsh
0
7K
Member Avatar for mini programmer

if you want Cal to run you must put parentheses at the end of it [CODE]<input type="button" onClick="Cal()"> // with parentheses at the end that will work[/CODE]

Member Avatar for mini programmer
0
113
Member Avatar for BLUEC0RE

I think this is what you are looking for [URL="http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html"]http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html[/URL]

Member Avatar for BLUEC0RE
0
89
Member Avatar for seryoga

so what exactly is your problem? the code that you gave does not seem to explain your problem at all. I understand the end goal, but our goal here is not to write your code for you but to help you overcome problems you might have.

Member Avatar for Gerbiler
0
81
Member Avatar for ChrisXL

check out regular expressions. [URL="regular-expressions.info"]regular-expressions.info[/URL] used with str.match(regularexpression) look up all the methods of string in the java api [URL="http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html"]http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html[/URL] you could also check out stringbuffer [URL="http://download.oracle.com/javase/1.4.2/docs/api/java/lang/StringBuffer.html"]http://download.oracle.com/javase/1.4.2/docs/api/java/lang/StringBuffer.html[/URL] it looks pretty useful

Member Avatar for Gerbiler
0
144
Member Avatar for eliezahorre
Member Avatar for Omona

well your problem lies in the way you ask your user,the easiest way would be to prompt them for Medical y/n then if response is y add medical price to total, then prompt Dental y/n then if response is y add dental price to total... [CODE]int totalinsurance = 0; System.out.print("would …

Member Avatar for Gerbiler
0
541
Member Avatar for silkyheart

instead of[CODE]document.write("<td>", i, "*", j, "</td>"); onClick="window.alert('i*j')";[/CODE] do[CODE]document.write("<td onClick=\"eval(this.innerHtml);\">", i, "*", j, "</td>");[/CODE] this is just a quick and dirty method. I don't understand what you mean by [QUOTE]oh and i need to have a super randomized background that relies on Math.ceil(Math.random())[/QUOTE].

Member Avatar for macgurl70
0
427
Member Avatar for mbarandao

you have to use DOM 2 not DOM 0. use this to attach events to obj in html [CODE]function addEventHandler(obj, eventName,handler){ if (document.attachEvent){ obj.attachEvent("on" + eventName, handler); } else if (document.addEventListener) { obj.addEventListener(eventName, handler, false); } }[/CODE] use it like this [CODE]submit = document.getElementById("proceed"); addEventHandler(submit, "click" , function(){return ValidateSubCategory;}); addEventHandler(submit, …

Member Avatar for mbarandao
0
741
Member Avatar for fenomenal

your code is very close, just do this [CODE]int temp = 1; int d = 0; while (temp >0.0001){ temp = temp /2; d++; } System.out.println(d);[/CODE] this will loop until temp < 0.0001 which is exactly what you want.

Member Avatar for Gerbiler
0
106
Member Avatar for blknmld69

Why not just have an instance variable that holds subtotal total and taxes, and increment or decrement based on what the user selects. I might have missed your point entirely, so some more explanation would be helpful.

Member Avatar for Gerbiler
0
2K
Member Avatar for LianaN

Well, If I understand your question right, then this code would probably do what you are saying. [CODE]class A extends JPanel{ public static void methodcalledfromB(){ //some code } public static void methodcalledfromA(){ B.methodcalledfromA(); } } class B extends JFrame { public static void methodcalledfromB(){ A.methodcalledfromB(); } public static void methodcalledfromA(){ …

Member Avatar for LianaN
0
116
Member Avatar for grady-lad

I tried your code on my computer( proccesor:amdx64 os: ubuntu) and I did not get your error.

Member Avatar for Gerbiler
0
122
Member Avatar for blknmld69

if I understand correctly this is what you are trying to do.[CODE]totalCharges.setText(totalCost);[/CODE]

Member Avatar for Gerbiler
0
175
Member Avatar for TahoeSands

The difference is in the Layout Managers. The LM(Layout Manager) for the original content pane is BoxLayout and the layout for your own content pane is FlowLayout. a much better explanation of layout managers is found here [url]http://download.oracle.com/javase/tutorial/uiswing/layout/using.html[/url]

Member Avatar for Gerbiler
0
213
Member Avatar for selu1987
Member Avatar for george61

Your problem is that the embed tag is the one with a src property, not the object tag. Your code says [CODE]holder = document.getElementById('content'];//this grabs the object not the embed ... holder.src = films[flashNumber]; //this line will tell the object tag to have a src of films[flashNumber] not the embed[/CODE]

Member Avatar for george61
0
152
Member Avatar for rolyestemonio

So what is the problem here? I assume that your code is trying to print out a list of links that link to each consecutive month in tbl_localnews.

Member Avatar for diafol
0
109
Member Avatar for XxPKMNxX

If this is what I think, then it is a problem of scope. the read file method just prints out a,b,c,d, and e, but does not assign to a variable that main could access. try declaring a,b,c,d, and e where you declare the scanner variable. That way every piece of …

Member Avatar for XxPKMNxX
0
140
Member Avatar for ppohlmann

have each input tag that you want to turn red when a negative number is entered have an onblur event that triggers a general function checkelement and have them pass themselves. I don't think I am explaining this well.[CODE]<input id="input1" name="input1" onblur="checkelement(this)"> <input id="input2" name="input2" onblur="checkelement(this)"> <input id="input3" name="input3" onblur="checkelement(this)"> …

Member Avatar for Gerbiler
0
116
Member Avatar for Gerbiler

I have created an html page that must not have the automatically created url/page number at the top, in the header, or the url/page number at the bottom, in the footer, when you print the page. I know that it is possible because google maps does it [URL="http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2"]http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2[/URL]. So I …

Member Avatar for Airshow
0
134
Member Avatar for StaticX

Well what is the definition of GUI.class? The problem is probably that GUI.class isn't defining package carpkg; at the top of the file. or it could be that [CODE]GUI gui = new GUI[/CODE] is missing it's ();

Member Avatar for Gerbiler
0
151
Member Avatar for jpgonc

my guess is that nomedoc is null because of some chrome quirk. if that is not the problem then try POST instead of GET, that might be your problem.

Member Avatar for Gerbiler
0
81
Member Avatar for coco24

What is the problem here? Could you give us some more detail as to what you are trying to have happen.

Member Avatar for Gerbiler
0
74

The End.