Thursday, July 30, 2009

How do I reset my java script in yahoo mail?

My java script is not working in my email. I cannot compose, delete, open any of my folders or even sign out.

How do I reset my java script in yahoo mail?
To enable scripting:





Click the "Tools" menu on your Internet Explorer toolbar and select "Internet Options."





Click the "Security" tab.





Click the Internet (globe) icon and click the "Custom Level" button.





Scroll down to "Scripting."





Enable the following:





Active scripting


Allow paste operations via script


Scripting of Java applets are all enabled
Reply:This didn't work. Report It


sd cards

Is it possible to use java to launch an htm file that is saved in the home directory in a web browser?

Basically, can I have a button that launches IE or something to view an htm file that is inside Java's operating directory?

Is it possible to use java to launch an htm file that is saved in the home directory in a web browser?
Hello, yes it is possible. The only way is to do wrapper for Windows to open any file you want (like open up IE or Firefox or Adobe PDF) You have to use JNI to some windows system files.





But there is an open source JAVA package (which is developed by many JAVA SUN people which is windows specific) It is called JDesktop, you can download the JDIC Library.





They come as the following files:


1) jdic.jar - The JAVA Classes


2) jdic.dll - Some windows JNI Wrapper Call


3) WinMsiWrapper.dll - Another JNI Windows system dll





You copy the .dll to C:\ Windows \ System 32, or in the path.





Then you can do a simple code like this :) Very cool and easy!





============================


File testFile = new File("index.html");


Desktop.open(testFile);


============================





Then you will see your default browser open








I hope the above helped, it helped me in one of my contracts. Good Luck


How to insert codes or java scripts in a webpage in dreamweaver 8?

Can anybody tell me how and where (appropriate place in html codes) to insert some other html codes or java script while desining a web page(design mode) in dreamweaver 8. Suppose I want to insert "bookmark this page script, linking codes of other websites or adveritisers codes in a webpage (design mode) although I know dreamweaver also provides a code view. But what I am asking is where to place these codes and proper way of doing this.


Thanx in advance

How to insert codes or java scripts in a webpage in dreamweaver 8?
Put them between these tags, which can be placed in the header or the body (You can use Dreamweaver's source editing mode):





%26lt;script type="text/javascript"%26gt;


%26lt;/script%26gt;





And a note to everyone: Please STOP using "codes" (plural) - code is not a discrete noun in this sense.


How do I get Java Scripts to run properly on webpages?

The other day, I was prompted to update Java to the 6.0. Now, webpages won't display correctly.

How do I get Java Scripts to run properly on webpages?
I am not a computer expert but there are two options I know about. You can either download Java again to make sure everything installed OK. Or you can set your computer to restore back to the day before you updated Java.





Good luck - Java can be a pain in the butt can't it?


How I can be unkickable by an op on a java chat applet?

Wich program can protect me from kicking on a java chat (not MIrc) and where I can get it?

How I can be unkickable by an op on a java chat applet?
I don't see how this is possible to do. You'd have to somehow modify the applet, which you probably don't have permissions to do.

plants

How do I make a file a Java file?

I just started a Java Programming Course online and it gave us example programs that we were supposed to modify. I opened and made the modifications but they only let me save them as text files and the only way to compile them is if they are "Java" files. Can someone tell me how to fix this?

How do I make a file a Java file?
Saving the file won't compile the file, that only saves the uncompiled code to disk. You might want to read a Java tutorial on the Sun website (http://java.sun.com/docs/books/tutorial/... The example is the typical "hello world" application but it gives you the basic idea of how to compile a simple program. Now if you start to get a bit more serious about coding, consider using a Java IDE. I use WebLogic Workshop (http://www.bea.com) but it isn't exactly a free IDE. Some developers here use the free Eclipse IDE (http://www.eclipse.org) but I can't say that I've used it. JEdit is another that some developers swear by but I haven't used it.





If you find that you need to continually rebuild a project, consider looking into using Ant (http://ant.apache.org/) to create a controlled build environment. I wouldn't necessarily jump right into this though if you are only doing fairly simple programs. The learning curve isn't too steep though so check it out and see if you want to implement.
Reply:I think you must be using NOTEPAD for saving your java file.. What you can do then is as you SAVE it, it will ask you for a file name. And instead of saving as say HelloWorld.java, save it as "HelloWorld.java" i.e. with quotes or else notepad will rename it automatically as HelloWorld.java.txt which might be your present case.





Hope this helps..
Reply:What you really want to do is to download Sun's Java SDK 1.4 or higher, this comes with a Java compiler. For serious Java development use an IDE (integrated development environment) a great free on is Eclipse.


How to make a process to wait until a function return a value in java script?

Hi, can anyone tell me, How to make a process to wait until a function return a value in java script?





Example of my code,





function A1()


{


var cl;


cl = activity.clsWebRef();


alert("Hai");


}





Note: Here activity.clsWebRef() is class function call. Im calling a function inside a class from Java script. Pbm is 'Before executing the function call that alert msg "Hai" gets display. In my code instead of using alert, im assigning that cl value to some condition. Before executing that function call, cl trying to assign values to that condition (it is wrong, its always empty without the function call return value), so i want to delay the process, that means i want to make the process like this, " That alert msg has to display after the function return a value. Is it possible to do like that?





" I think you get my point that what im trying to ask"





Can u give me a solution?

How to make a process to wait until a function return a value in java script?
You might try looping until the value is returned, like:





Do until cl %26lt;%26gt; NULL


Loop





Be careful not to create and endless loop if no value is returned