Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #2K
~48.2K People Reached
About Me

Java Developer

PC Specs
intel p4 3.0 ghz, 512 ram, geforce 4 128, debian + freeBSD. toshiba 2.4 ghz celeron, windows xp.
Favorite Tags

116 Posted Topics

Member Avatar for POW

Wow Pow, You have made many errors in your header file. 1. Too many braces in your if conditions. 2. C++ is case sensitive. 3. If an if condition is followed by a semi-colon, then the if condition terminates at the semi-colon, hence the else is illegal because it follows …

Member Avatar for Daniel_19
0
2K
Member Avatar for djbsabkcb

The amazing thing about the internet is its abundance of resources about the internet, well and other computer related technologies. My advice would be to utilise these resources first.. if you see something you like on the internet, take a look at the source (keep in mind the suffix of …

Member Avatar for austinluthers
0
127
Member Avatar for MIGSoft

I think your problem is the reload, when this happens the window probably loses all relationship references (I'm guessing). If the parent refreshes, it makes sense that your code no longer controls the child. With this in mind it seems logical that the opposite is also true. I imagine you …

Member Avatar for ankurg11
0
3K
Member Avatar for Sailor_Jerry

What you usually do is what Tom has suggested, but you would invoke a call to the code that you want to execute after timeout. So if you had an algorithm like such: [code] function myFunction(){ doSomething(); wait(500); doSomethingElse(); } [/code] You would implement this with: [code] function myFunction(){ doSomething(); …

Member Avatar for akmr
-1
7K
Member Avatar for sam1
Member Avatar for zaki

hey, your code works in firefox. so i'd say it pretty close to working in IE. the only change i had to make was in regards to the table row index.. but i presume you already have a row in your table.

Member Avatar for giveitarip
0
3K
Member Avatar for jeeva86

Did you want a random page on refresh? Server side would be better for this. But if you wanted to do it client side, then just have an array of URLs and use the document.location.href attribute (randomly selecting a loaction). Of course you couldn't have the random href set onload, …

Member Avatar for KazmiLahore
-1
4K
Member Avatar for Madhusudhan

I recently discovered this page [url]http://www-128.ibm.com/developerworks/web/library/wa-ie2mozgd/[/url], through slashdot i think, it covers several of the differences between IE and Firefox. It also contains many of the links to the standards that these browsers pretend to comply with. Unfortunately, it is often difficult to find the standard (accurately) that particular browsers …

Member Avatar for vijayraghav
0
171
Member Avatar for NimbusSoftware

This page demonstrates a technique that can be used to add functions to a body onload, or similar attribute. The beauty of this is that it can be used in situations where your project does not control ownership of the header section of the page, but you want to assign …

Member Avatar for rajarajan2017
0
448
Member Avatar for soccerdevil221

It seems that this type of action may not work on all machines. You probably need internet explorer and outlook or some similar compatible combination browser and email clients. Take a look at these links: [url]http://www.netmechanic.com/news/vol3/form_no4.htm[/url] [url]http://www.wdvl.com/Authoring/HTML/Forms/mailto.html[/url]

Member Avatar for diafol
0
135
Member Avatar for Ghost

Should be lots of resources on this. Check out the Java Tutorials [url]http://java.sun.com/docs/books/tutorial/index.html[/url] and also the demos that you will have recieved in your sdk. There are two features of Java that make it easy to do this kind of thing. 1. The API contains support for viewing many graphic …

Member Avatar for manojnbn
0
2K
Member Avatar for alpha_foobar

Hey, I'm having an issue getting the height and width of DIV elements that have resized themselves to fit their content. Note: I do not have a problem getting the height and width of DIV elements that I have set using Javascript. The probel is that this value appears to …

Member Avatar for lasi7
0
1K
Member Avatar for prophetboy

You can't do this with a HTML scripting language. If you use a server side language - something like JSP, ASP, PHP etc, then you can scan the server directories and populate a list in the webpage. Also, remember to use web URL paths and not filesystem paths: [QUOTE]C:\Desktop special\leftmenu\video\intro.wmv[/QUOTE] …

Member Avatar for johnvarenda
0
106
Member Avatar for odee

Tgreer had more than one example.. if you read his comments and code you will learn much about event handling in mozilla. To copy and paste, try the last example. to get the x and y coordinates, look at where tgreer posted the event object properties. cheers.

Member Avatar for Troy III
-1
363
Member Avatar for red_evolve

[B]kc0arf[/B] That sounds like a cool idea.... would it imitate a network and algorithms or would it be a number of emulators like bochs or vmware, that you could install applications on that actually runs like a network?

Member Avatar for Nick Evan
0
967
Member Avatar for tgreer

In Java there is a random seek stream which you can use to read and write at arbitary points in a file. I am not sure if similar is available in C#, but most of the stuff in the Java API is available in C# somewhere. However, what the h3ll …

Member Avatar for bpazhoor
1
1K
Member Avatar for Cr4nberry

There are a few ways you can operate using arrays in javascript... firstly, you don't need to be constrained to using integer indexes... all arrays in javascript are simply normal javascript objects... hence there are a few ways you can assign new values: array_x[0] = "red"; or array_x[array_x.length] = "red"; …

Member Avatar for captainbeef
0
417
Member Avatar for technicalganesh

Running web services would be recommended. FTP does not necessarily guarantee delivery and you can't be sure the file is downloaded unless you also download a flag file. Alternatively you could write your own FTP process, but thats rather a long way around the problem. FTP would be faster than …

Member Avatar for jwenting
0
118
Member Avatar for michael123

IE can use the forms name element to identify the form. I hope that the same is not true for firefox. but I think in firefox and IE you can use the forms ID attribute ( the form should still have a name!! ). I prefer to use this technique: …

Member Avatar for Luckychap
0
172
Member Avatar for SnotRockit

[QUOTE=SnotRockit] I remember a while back learning that the "default" number system used was the (Oct?) system...0-7[/QUOTE] The default system is decimal, but if you put a '0' in front of your number it is Octal. But you would need to do your assignments without the string operator for this …

Member Avatar for gbenjamin
0
87
Member Avatar for anonymous100

Why do you want to pass an array list to your action class? didn't it come from the server in the first place?

Member Avatar for RVG123
0
282
Member Avatar for darkie_99

Hi, you want the user to go to the page they select right? When the user goes to the next page, your page is reloaded, there are only 3 solutions I can think of for your problem. And this is a design problem, not a Javascript problem as such. 1. …

Member Avatar for darkie_99
0
298
Member Avatar for mairaj

Hi, I've found loading complex javascript in blogger difficult! Firstly, even in HTML mode blogger adds <br/> tags, which will obviously break your javascript... if you can, it would be a lot easier to host your javascript somewhere else and import it - but even then, I can't guarantee it …

Member Avatar for ~s.o.s~
0
211
Member Avatar for saurav

Hi saurav! I'm not sure what is in the dwr package, but you might not be referencing it correctly? Perhaps it is [CODE]util.getValue("firstName");[/CODE]? However you can do the same like this: [CODE]var text=document.getElementById("firstName").value;[/CODE]

Member Avatar for alpha_foobar
0
145
Member Avatar for George2

Have you tried debugging the native object in a C ide first? The interface from Java to C tends to be pretty simple... If you are happy with what is going on in Java, then it seems like the sensible step?

Member Avatar for vvl
0
143
Member Avatar for Duki

This is a very general question - I'd recommend checking out some wiki applications. Which can be on ASP.NET - I think? But .NET is a framework, for which many applications exist. I noticed that you've put out a few posts around similar stuff - wiki is a really easy …

Member Avatar for alpha_foobar
0
97
Member Avatar for Pro2000

It would probably being using an AJAX method to check for updates on the chat server. These can be threaded to wait for your comments, while also checking the server for updates. How much knowledge in the area do you have? I'd recommend you start looking at [URL="http://jquery.com/"]jQuery[/URL] and in …

Member Avatar for alpha_foobar
0
196
Member Avatar for Ventrix

Hi, If you want to do this with a lot of different links and for it to work well in IE and Firefox, then you might want to change it a little... alternatively, I would use an ID attribute instead of a name... Anyhow, take a look at this: [CODE]<html> …

Member Avatar for alpha_foobar
0
155
Member Avatar for michael.ngobeni

[QUOTE=michael.ngobeni;418726]Hi guys, document.FormName.myname[COLOR=red][B]+x+[/B][/COLOR].value = 'Test'; [/QUOTE] The reason your code didn't work is that you were trying to construct the element variable as if it were a string... If you wanted to to it like this, you would need to construct the javascript you wanted to execute as a string …

Member Avatar for hollystyles
0
139
Member Avatar for tshivaraj

I don't think there is a way to terminate the call - apart from closing the document. Prototypes are similar to objects - if you are familiar with OOP? If you have a prototype 'instance' then you can avoid deadlock situations, consider what is deadlocking and establish if it needs …

Member Avatar for digital-ether
0
139
Member Avatar for scrypt3r

You can give an html element an ID. [CODE]<img src="something.jpg" id="yourId">[/CODE] Then look the object up using the ID. [CODE]var domElement = document.getElementById("yourId")[/CODE] Now you have a reference to the dom element and you can interact with its properties... [CODE]domElement.src = "somethingnew.jpg";[/CODE] That is pretty much all you need to …

Member Avatar for scrypt3r
0
89
Member Avatar for adnan316
Member Avatar for adnan316
0
138
Member Avatar for Dani

To ensure the page is loaded before the add is drawn you can use a setTimeout(yourfunction,500) type mechanism in the onLoad. You can also look at using the html dom to add innerHTML instead of using document.write This can be done at any time... you could even set up a …

Member Avatar for Ziggy Rocks
0
250
Member Avatar for thirunavukaras

You can't "import" a javascript file with a javascript file. There is an import (and export) keyword in the javascript, but these are used for visibility of members. I wrote some code to import libraries as the user required them... but its pretty rough. This should theoretically allow dynamic importing. …

Member Avatar for alpha_foobar
0
1K
Member Avatar for kanuri

Hi, There are many ways you could solve this issue and depending on your target audience, you may have to implement more than one solution. A favourite approach is to use an AJAX solution. This requires knowledge of JavaScript and a server page that provides categories based on topic. However, …

Member Avatar for alpha_foobar
0
72
Member Avatar for new_2_java

I use Notepad++ it is a highly functional text editor, available open source from sourceforge. There are alternatives liek textpad and ultraedit. Your issue is that windows and linux/unix use a different newline sequence. Mac used to as well - perhaps it still does? The only way to get around …

Member Avatar for ~s.o.s~
0
109
Member Avatar for jake_ryan

I'm not too familiar with JSP at the moment. But you are confusing your HTML code with your interpreted code... I presume that JSP is parsed once. So you shouldn't include JSP tags inside other JSP tags. I think the error it is reporting is that it thinks that "<bean:write …

Member Avatar for jwenting
0
80
Member Avatar for Shakejuhn

What specifically would you like to know about this problem? An ArithmeticException is thrown when something involving arithmetic occurs that is not handled by the Java language. The example in the Java API is an integer divide by zero exception. So you need to create a situation where this situation …

Member Avatar for alpha_foobar
0
201
Member Avatar for hbmarar

Hi, I've been doing lots of work with 'AJAX' at work. But my team didn't like that acronym, so we made up our own. Jasc. Java API for Server Communications. Because really 'AJAX' is just a heap of Web technologies that have been around for ages. And the acronym AJAX …

Member Avatar for nemo5
0
274
Member Avatar for Ghost

I have also found this, that uses the bochs emulator to test the OS... you'd want to hurry up with it though, as the new semester is almost upon us and that may mean that the site loses resources or tightens security. [url]http://www.cs.ucla.edu/~kohler/class/04f-aos/index.html[/url]

Member Avatar for Ancient Dragon
0
362
Member Avatar for q8z

system.gc is just a request to collect garbage, it won't invoke it immediately. And how long it takes depends on how much memory you have that is available for collection - not much = fast, lots = slow. Hence this is a very difficult to reliably time.

Member Avatar for alpha_foobar
0
78
Member Avatar for rcasinillo_s

The easiest way in most Linux/BSD distros is to use the default package manager, this way you are likely to install the version that is recommended and tested for your distro version and install the components in their default locations.

Member Avatar for alpha_foobar
0
712
Member Avatar for sugantha

Some C++ compilers do not require IO imports to include cin/cout. The same is true with some C compilers and printf etc.

Member Avatar for Salem
1
128
Member Avatar for BT2005

no reason why you couldn't do this with javascript, Math.random and the window onload event.

Member Avatar for sjaak
0
537
Member Avatar for Krofh
Member Avatar for Puckdropper

You can't. [url]http://www.w3.org/TR/REC-html32-19970114[/url] But why do you want to, HTML 3.2 was superseded by HTML 4.0 in 1997. But CSS is supported, so if you truely want 3.2 level implementation you will have to learn some CSS.

Member Avatar for Puckdropper
0
248
Member Avatar for dwoods11

I'd say that the problem is the spec on the machines (even if its not)... Javascript tends to be bad with string operations and regex can also be slow. Javascript can also have issues with method stacks. But I'd consider the machine spec first.

Member Avatar for alpha_foobar
0
78
Member Avatar for Silentiopk4

I also think its a server conf problem. It sounds like you are not using your cgi, you are just trying to load the html page. Typically you don't have html in your cgi-bin, from your error it sounds like your server is configured to treat everything in the cgi-bin …

Member Avatar for Silentiopk4
0
209
Member Avatar for hinde

There are valid points in this response. You can ignore the use of AJAX technologies designing your page, and then enrich the user experience using more Javascript handled HTTP Requests. But it is much more sensible to design your new site with AJAX in mind. Building client and server functions …

Member Avatar for LeProgrammeur
0
141
Member Avatar for gendv

[code] <style type="text/css"> body { background-image: url('images/101.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-color: #FFFFE5; margin-left: 0px; margin-top: 0px; line-height: 22px; } </style> [/code]

Member Avatar for alpha_foobar
0
78

The End.