15,688 Topics

Member Avatar for
Member Avatar for Gabarieko

This is a javascript code to fix any element in any browser. Simply add "fixed" to the classes of the desired element. Examples: [icode] <div class="fixed">FIXED</div> <div class="someClass fixed">FIXED</div> [/icode] Though it's a little rough when scrolling I hope it will do the job. The way it works: - By …

0
342
Member Avatar for essential

A simple tool that provides easy navigation in your site using a Combo box. It lets you jump to different location on the Web and also included with text display, which provides short details about the site. If you have comments, suggestions or request &#8212; don't hesitate to post back …

Member Avatar for DealthRune
0
181
Member Avatar for Airshow

[B]INTRODUCTION[/B] The W3C's [URL=http://www.w3.org/TR/Window]Window Object 1.0[/URL] specification (Working Draft dated 07 April 2006 at the time of writing) defines in it's [URL=http://www.w3.org/TR/Window/#location-attributes]Location Interface[/URL] section a set of attributes (or fragments) by which a Location object may be addressed. Despite the draft status of this document, many implementations of javascript have …

0
945
Member Avatar for essential

This script simply preload's images inside (x)HTML document. [b]<<<INSTRUCTION>>>[/b] — Simply attached these preloader.js in your document, were you want your images to be preloaded. — You can simply referenced it using [icode]<script type="text/javascript" src="path/preloader.js"></script>[/icode] block. — if you have any suggestions, comments or request, please feel free to post …

0
199
Member Avatar for essential

This script is capable of handling multiple iframes inside your page. Which allow you to specify [b]fixed[/b] [color=red]Width[/color]/[color=red]Height[/color] with your iframes' to ensure layout stability in your page and also it comes with an auto-fit feature. [b]<<<INSTRUCTION>>>[/b] &#8212; [color=green]The[/color] iframeFixer.js [color=green]must be included in your[/color] iframe page [color=green]including all pages …

Member Avatar for essential
0
204
Member Avatar for JugglerDrummer

Make regex creation easier! Enter regex, test string, select from various function to run, then see the output.

Member Avatar for JugglerDrummer
0
211
Member Avatar for essential

This version is more precise and accurate compared to my first posted version of this script.

0
183
Member Avatar for serkan sendur
Member Avatar for serkan sendur

By calling this function from the header row of your table, you can make your table collapsible.

0
192
Member Avatar for serkan sendur

Sometimes, you need to see what properties does that object have and what values are assigned to them. This snippet does that.

0
178
Member Avatar for serkan sendur

in the previous snippet i compared two tables having columns as name and value pairs. this new one compares two tables of any number of columns(as long as it is the same number on both tables).

Member Avatar for serkan sendur
0
145
Member Avatar for serkan sendur
Member Avatar for serkan sendur

converts the html tables which are created by string concatenation to dom table objects

0
138
Member Avatar for serkan sendur

very simple very powerful tab menu, it can be used as a switch menu or to hide-show associated panels.

0
89
Member Avatar for serkan sendur

I saw that in some xml files, child numbers are not the same for the elements which will correspond to our table rows. So i created a more smart version which is error tolerant.

0
154
Member Avatar for serkan sendur
Member Avatar for serkan sendur

I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your tab menu is in an html table row as follows :

0
91
Member Avatar for serkan sendur
Member Avatar for serkan sendur
Member Avatar for essential

In for the latest addition to my code snippets, here's one you'll trully appreciate. This validation tools is packed with the W3Cs (x)HTML Markup validator, CSS validator, MobileOK tester and Semantics Extractor. hope you'll enjoy this newest addition of snippets'...

1
242
Member Avatar for serkan sendur

Accepts number as input, writes the prime numbers up to that number to the screen.

0
158
Member Avatar for serkan sendur

to demonstrate some usage of bitwise shift and xor operators, i created a conversion function using these two.

0
146
Member Avatar for serkan sendur

This pure javascript code simulates how multiplication is done by mips processors.

0
155
Member Avatar for serkan sendur
0
148
Member Avatar for essential

A basic example on how to change your stylesheet dynamicaly! I will use a dropDown list to control the environtment! Assuming that you have 4 different .css ( default, red, blue and green ) on your directory! From this line you'll have to replace this with your own stylesheets. [b]default.css[/b] …

Member Avatar for hakimkal
0
156
Member Avatar for essential

A simple date picker with live 12/24hr clock, month/week names, 2/4 digits' year display and supported with configuration settings...

Member Avatar for uringinteristi
0
145
Member Avatar for essential

Making a calendar is a bit more complex than making a timer or clock but mostly because any calendar script is going to be generating HTML to display the calendar and whenever you have programs writing programs things always get a bit funky! We'll do this as a prototype so …

Member Avatar for DealthRune
0
4K
Member Avatar for essential

[color=maroon]This method escapes all &, <, and > symbols in the string, making it safe to display the string on a web page without fear that it will be treated as HTML.[/color]

Member Avatar for westworld
0
205
Member Avatar for sreein1986

First take two images named with smirk1.jpg and smirk2.jpg with same size paste below code and for Image write this code <IMG src="smirk1.jpg" name="smirk" onMouseOver="over(0);" onMouseOut="out(0);" />

Member Avatar for ayesha789
0
90
Member Avatar for sreein1986

The End.