HTML, Java, Javascript, and Internet
- Tutorials
- References
- Links
- Links
- Samples
- Place JavaScript in BODY of HTML code (may be seen by old browsers)
<HTML>
<BODY>
<SCRIPT>
<!-- document.write ("This is a JavaScript talking to you!")
//-->
</SCRIPT>
</BODY>
</HTML>
- Place JavaScript in HEAD of HTML code (won't be seen by old browsers)
<HTML>
<HEAD>
<SCRIPT>
<!-- document.write ("This is a JavaScript talking to you!")
//End of JavaScript.-->
</SCRIPT>
</HEAD>
</HTML>
- Closing window after set amount of time
onLoad = "SetTimeOut(self.close(),time_after_which_it_will_close)";
- Force reload of window
window.location.reload(true);
- Loading an alternate image when error occurs
<img src="djia.gif" width=150 height=100 onError=altImage()>
- Preventing a page from loading
<a href=foo.html target=_top>
- Reload window every 5 minutes (units = milliseconds)
onLoad = "SetTimeOut(window.location.reload(true),300000)";
- Decompilers
- Links
- Useful Code
- Useful Hints
- Append to text file
RandomAccessFile(java.io)
long length = length()
skipBytes((int)length)
writeChars(String)
- Convert number to a string
num = 4
num +=""
- Convert string to integer
int iVal = Integer.parseInt("34");
- Convert string to array of characters
myArray = myString.toCharArray();
- Display GIF
i = Toolkit.getDefaultToolkit().getImage("/home/dir/pic.gif");
- Replace blanks with "+"s
outStr = inStr.split(' ').join('+');
- Books
- Magazines
- JavaScript Magazines
- Java World (01/06)
- JavaWorld 03/96, Introduction & Syntax
- JavaWorld 04/96, Frames
- JavaWorld 05/96, Built-in Objects
- JavaWorld 06/96, Forms
- JavaWorld 07/96, Debugging
- JavaWorld 08/96, Graphics
- JavaWorld 09/96, Functions & Objects
- JavaWorld 10/96, Netscape 3.0
- JavaWorld 11/96, FAQs
- JavaWorld 12/96, Understanding & Using JavaScript Statements
- Java Magazines
- JavaScript Newsgroups
- Java Newsgroups
- General Information
- Eudora
- LINUX
- Usenet
- Internet Providers
- General Information
- Verizon
- Netscape
- General Information
- Netscape Assistance
- Other Facts of Interest
- Anonymous FTP Login
- ftp://login-name@ftp.site
- and
- ftp://login-name:password@ftp.site
- Opening a file on your machine
- file:///hard-drive/folder/filename
- [You may have to start your dialer.]
Bonnie's Links
created by Bonnie Lee Hill,
bonniehill@verizon.net
last modified on July 14, 2008
URL: http://mysite.verizon.net/bonniehill/pages/html.html