Sometimes we need to display current URL on page, and web developers usually provide the entire path with breadcrumb, certainly. these scripts will be complex. But if you only want simple JavaScript to do this, let place six code lines on where you want to display URL document.
This code creates navigation menus with CSS stylesheet and operations are similar to Windows XP. Additionally, this code also uses cookie to store the state of the menus, and the fade effect is optional, you can turned it off.
See also: Switch Menu script.
When designing web site, sometimes we need to fill areas of layout with some text, and we usually do this thing by making some copy & paste on any content when meet.
But with this random code, we will create some random quotes, random texts easily through one click. Three patterns are available: text latin, silly, spanish and italian.
With this changing links JavaScript on page, your links make bold after clicked. A good navigating script for websites that using frame or for toggling content.
Let use this JavaScript code if you need to disable groups of radio buttons on the page when it is already loaded. This code can be setuped for many radio button groups on one page. Very easy to customize.
The name has said feature of this JavaScript code - create a link at specified position (through one id#
); this link only will print content that you specified. If browser of visitors disabled JavaScript then the link would not display, and visitors had to use Print command from browser.
What is that day? If you do not remember (but almost do not know) then use this JavaScript code; only enter date, month, year you born, this code will find out what day of the week. Only a few code lines, very easy and simple to use and customize.
This is one of JavaScripts that make chaining dropdown lists; in this JavaScript example is Country, State, City, select a country in first HTML dropdown for selecting states in the second dropdown, for cities in last dropdown.
You can customize this JavaScript code as you need, such as automobiles: type/make/model or books: publisher/author/title.
Normally, web developers will place CSS code into a pair of tags such as or
to a CSS file. But in this snippet, we are creating CSS within JavaScript definition that browsers still understand these CSS properties. Although this CSS example is more complex than old CSS definition, but it is one of ways to develop website; you may consider this is CSS tutorial which quite worthy to see.
See the name, maybe you think that this JavaScript code have the complex source code and excellent features? If you are thinking like that, maybe author has disappointed you because this code is quite simple, but author give the name.
This JavaScript creates a drop down control for your content on the page, such as navigation menu, menu vertical or a search form. The content link to drop down is simply hidden in a container and dynamically shown onClick or onMouseover. See also: Overlapping content link if you want.