Home Forum
 

Js files in Java

From source code,code examples

Jump to: navigation, search
An Intoduction to navigable DHTML slide menus.

The script demonstrates an easy way to build navigable DHTML slide menus whose screen-shot is shown below.

A rotating banner script as used by no. of websites

A rotating banner as used by no. of websites . You can also do it . Just dounload and see how easy it is ? Enjoy the code and do rate me please.

Alternating Marquee (with Transitions)

This is a message display utility for your website. It can display any number of messages and flashes between them with transitions like dissolve, random bars, etc. It is Internet Explorer 4 and Netscape 4 and up compatible. Netscape users won't see the transitions though, just the flashing messages.

Advanced Popup Calendar

This popup calendar can be linked to a form text field. The user can click on an icon of a desk calendar and use a popup window to select a date.

A "True" Preloader

Here is the best way I have found to preload images in jscript. This method also works with Flash movies, and can be customized to preload virtually anything!! It is pretty easy to use, and I tried to comment all of the code so everyone can understand what is going on.

A Bounce Status Text

Show The Bouncing TExt at Status Bar of Page

Artificial Intelligence Program (JavaScript Eliza)

Basicaly,these program is an "Eliza" like chatterbot,it includes most of the features

Ajax Js Functions

3 Ajax Functions.. just check comments =D

AJAH (Asynchronous Javascript and HTML)

By using XmlHttpRequest object, you asynchronously load any object.

AutoSuggest

I ripped the auto-suggest function from

Basic Ajax Example

This script only aims to show an example of using

JavaScript Pop-up Menu Window

Simple pop-up menu window.

Validate Date String via Javascript

Very useful Java script code for validating date strings such as might be entered on a form.

aniMagiX

a javascript toolkit for "organic" animations on web pages. Flexible, and reusable for any kind of animations or "living creatures".

Check box

check all check box's in your form in one click

Cool buttons!

Change all buttons(or buttons you want) in a web page into a customizable Cool visual style.

Columnizer

Display content in columns like a news paper. Also allows you to choose what page you want to see.

colour selector

Displays a colour cube (box) which enables a user to select a colour. The colour selected is then converted to hex. It makes it easy for a designer to work out what colours they require. The cube can be used as part of another script for maybe a background colour changer etc.

Color Selection Wheel

The ColorWheel.js creates a wheel of colors which can be clicked to choose a particular color. The ColorWheel function allows the programmer to specify an object and function to which to send the color.

Dynamic Image Window

When you click a link or thumbnail that calls this script to open an image, that image is displayed with the window perfectly fitted around it. This will cut down on the strangely sized windows that usually occur when an image is opened. This script is NS4+ and IE4+ compatible.

Drop-Shadowed, 3d Text without Image Files

Displays 3d text with a drop shadow, using JavaScript

Datepicker

This datepicker module is very easy to implement. Makes your web pages date entry safe and easy to use or input.

DOM Prompt

Provide a encapsulation of the yes/no user query.

Deal or No Deal

This was my final project for a programming course I took in the spring. Its based off the NBC gameshow 'Deal or No Deal'. It's done in Javascript. NOTE: It will not work in MSIE (due to the set/get ElementByID issue - Use FireFox!

Excel-Like Freeze Pane

Will make your frame pages (vertical split) to have freeze pane similar to MS Excel. Left pane will scroll along with the right frame and vice versa. Useful when you want left most column to stay visible while scroll to the right to see all other columns on the right.

Editable Menu For IE

Gives the possiblity to build a simple editable JS menu. Solves the constant problem of the editable menus for IE and gives the example to extend it for other browsers.

Excel File Viewer

Haven't u ever been in the situation of not having Office installed ?

Link Fader

Make your links fade when the are scrolled over! You can choose the colours - very customisable!

Flying Hearts

For some one I LOVE!

Field Validation

I added some features to the code of Eric Anderson, for field validation to check for NULL, LENGTH and FORMAT. I hope that he may consider adding all those in his form validation code.

Friendly JavaScript Tutorial

[By_ Shahin Noursalehi

Free AJAX

Allows for simple ajax calls using just one line of javascript code

Horizontal Image Scroller

To scroll the images. image can support add on link...

imgrotator

This is a simple java script(.js file) that when included on a html page, rotates the given set of images and associated urls on a html page.

javascript table maker

Creates and displays HTML code for a table with user given specifications.

javascript browser

JAVA SCRIPT BROWSER .

JScript Calendar Drop-Down

Web-based applications often require the entry of dates. This module allows the user to select the date from a dynamically generated calendar which is displayed beneath the date fields.

Javascript Extensions

This .JS file is an extension to regular javascript that I made, a serie of helpers for dates, arrays, strings (But mainly for dates manipulation)

JavaScript Binary Library

The Javascript Binary Library is a collection of objects and functions that enables fast handling of binary data including bit stream input/output and some extras for number conversion between bases like hexadecimal and octal, all this maked in the JavaScript language.

javascript api

xbkAPI is web development kit. xbkAPI contains two main platform. xbkAPI.DHTML is a cross-browser DHTML Javascript API, and xbkAPI.NET is a cross-browser ASP.NET controls and components using C#. Both xbkAPI's is use to develop rapid dynamic web applications

JSCalendar

"Object oriented" Absolutely free JS/DHTML Calendar, it's a simple to implement (3 or 4 lines of code) dropdown calendar with similar form of use of the datepicker vb component. You can change the language altering the text in 2 lines of code. Supports Mozilla FB, IE, Opera, etc. It creates 4 form objects: The calendar textbox itself and 3 hidden textboxes representing Year, Month & Day of the selected date. It supports keyboard and various date formats (dd/mm/yyyy, mm/dd/yyyy, yyyy/mm/dd, and so on). Also supports client events such as onExpand, onCompress, onDayClick and a few more for a proffessional client interface programming. It have a CSS File for appereance change. Please comment any suggestions that can help me to improve it or vote it.

jscalendar revised

This is a free "object oriented" javascript/DHTML calendar. It has a behavior like the datepicker vb control. You can change the language and the dateformat as you wish in 2 lines at the begining of the script. Tested in: Mozilla FB, IE, Opera 7.0. It supports keyboard and multiple instance. It supports client events such as onExpand, onCompress, onDayClick, etc. It have an .CSS file for an easy appereance change. See the README.txt in the zip, there's an explain of all methods, properties and events. Please give feedback so i can improve it, or vote it if you want. The previous uploaded version has a conflicting names bug. I cant update it due login troubles, so, i create a new user un PSC and uploaded again (corrected version).

Javascript Tester

Allows testing/execution of script, and now even html.

javascript table and toolbar

Full featured javascript table and toolbar. See docs inside zip file

keyListener.js

Include this framework in your Website, and you can implement a function keyListener(key) that is invoked every time a key is pressed. The key is passed clearly in the parameter key.

layer banner visiter site (no pop up)

Show a banner every visit or refresh or link in the web you can administrate for all the web site, very easy code, i waste 20 minutes to make it good and no error and no bad syntax check it & vote for me - the zip contains all the thing's to do it work. is easy to install. mabe waste 5 minutes to install.

MultipleChoice Demo

Javascript code to capture key strokes and scroll a custom made list box. This could be use on modal windows for multiple value entries.

Matrix Decode 2.0

Well, after I finished the first version it got me thinking, that it was a good example, but to reuse it too too much customizing, and my boss was out today so I figured why not fix it up...This version can be used multiple times on a page very easily, and I've add an extra layer to the fade effect, and offset the layers to give a nice 3D shadowing effect...the layers copy the previous resuls as they fade, giving a nice effect.

myAJAX

AJAX Javascript OOP implementation

Outlook Summary Demo

This page will query Outlook for any new emails, appointments or Tasks. Once you click on the items you want it will open Outlook for you to see them. I took part of the code from a previous posting from Yasser. Rate this code and you will be rewarding the effort of two contributors!!

Object Oriented Ajax

Object Oriented AJAX class and objects structured for ease of use and maintainability for multiple requests.

Popup Colour Selector

Displays a popup colour selector on your web page. Allows the users to select a colour from the grid and then have the hexadecimal value placed into a text box.

Personal Media Player

P.M.P. allows the user to view media through their page. Sound like mp3, wave, etc. Video like mpeg, avi, etc. And pictures like bmp, jpg, etc. The user can view local media, or type in an internet address. P.M.P. has volume & seek control, with mute & Pause. P.M.P. returns useful information like: Progress, Current Location, File Format, Buffering Progress, Author, Copyright, Title, and Rating. P.M.P. now offers visualizations for music. Go full screen with it or any video you play.

PathMaker

Now "even newer" and more improved! :)

PopUp Calendar without a .js file

This code allows you to have a moveable pop up calendar without having to reference a .js file. Only works with Internet Explorer, since that was all I needed it for and has only been tested on Internet Explorer 5.5 and 6.0. I am sure it can easily be coded to work with Mozilla and Netscape if you wanted it to.

PriceBreakCalculator

Takes a quantity and returns the appropriate quantity pricing. External .js file reads the quantity price breaks and prices from hidden fields in the product page so you don't have to change ANYTHING in the javascript for this to work for you!

Persian Calendar & Date Picker for Web Applications (JavaScript)

The Persian Calendar is used in most countries where Persian is spoken, although some regions use different month names. The Persian calendar is the official calendar of Iran and Afghanistan, and is one of the alternative calendars in regions such as Kazakhstan and Tajikistan. The Persian calendar is based on a solar year, and is approximately 365 days long. A year cycles through four seasons, and a new year begins when the sun appears to cross the equator from the southern hemisphere to the northern hemisphere as viewed from the center of the Earth. The new year marks the first day of the month of Farvardin, which is the first day of spring in the northern hemisphere. Each of the first six months in the Persian calendar has 31 days, each of the next five months has 30 days, and the last month has 29 days in a common year and 30 days in a leap year. A leap year is a year that, when divided by 33, has a remainder of 1, 5, 9, 13, 17, 22, 26, or 30. For example, the year 1370 is a leap year because dividing it by 33 yields a remainder of 17. There are approximately 8 leap years in every 33-year cycle.

Random Ad (advertisement) .JS file!

UPDATED! INCLUDES COMMENTS!!! Check out http://jsment.com to see it in action! You enter the hyperlinks and image sources and let this JS file do the rest! You can set how often the ad changes. It will show a random ad each time without reloading the page. very clean and commented code. Includes instructions.

Remove Multiple Spaces,Leading Spaces,Heading Spaces Very Easy

This Code just gets the string as parameter and

RPG engine (unfinished)

An RPG engine, has animation in the over-world. It calles a battle and randomly selects the monsters in it, but that doesnt do anyhting. It takes a while to load the images, I can't figure out how to fix that and if anyone can help that would be appreciated.

System Info Version 3

The code will give all information about the user like his cpu class, operating system, browser, version, color depth, screen resolution and much much more... Visit me at www.nibbleguru.f2s.com

Search Engine

Search any or all of these major search engines at the same time

Statusbar Scroller

I'm sure there are loads of these status bar scrollers, but here's another one. I has about 4 different scroll modes, and you can have multiple messages. I made this a while ago so there maybe some better ways to do things, or could have been laid out a little better, but it works pretty well and is customizable to a certain extent. Instructions are included in the web page.

Shiznit Javascript Color Picker

A very useful javascript color picker.

SwapForm

This is writing in javascrip. It shows how to swap form, text or image etc.

sunil

this code is basically a clock with day of the week and year rotating it

Search Engine through easy coding

it is basically for search a data in different platform.u can go thru different sites n u can search n its just starting of codiing n so easy to access even u can try also..

Tons of JavaScript for Programmers to be used in there Real Life Project

It has a large number of functions which can be used in your project

Table controller

You can easly change the table height width or bgcolor etc this functions

Universal Script

You can simply ask"what it can't do"? This JS.file contains almost all the functions needed for developing a bank/insurance/commercial application including domestic apps.

Visitor Data and Stats

To view a demo of this script go to my site http://www.freescripts.ws

xbkWindow

The xbkWindow creates a cross browser window like look and feel tool for any web applications.

xbkToolBar

The xbkToolBar provides a horizontal or vertical tool bar system look and feel. Designed for cross browser and cross platform.

xbkMenu

The xbkMenu provides a horizontal or vertical menu system look and feel. Designed for cross browser and cross platform.

xbkMenuSystem

The xbkMenuSystem is an extension of xbkMenu which provides a horizontal or vertical menu system look and feel with drop-down submenu. Designed for cross browser and cross platform. Don't forget to vote for me if you like it.

Personal tools