URL Parameters for Dynamic JS and CSS
11
Enforce loadig fresh script code for the external javascript files. Compatible with HTTP 1.0.
6
This snippet also you to limit the input in a form field to a specified number of characters. It displays a counter so users can see how many characters they have left, and once they reach the limit the field just trims the length to your limit.
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute
2
Hi. i found this css file very useful for all the newbies who use frontpage2003 text. Just try this css code and specially for color text.
(Explanation on how to upload a css file in frontpage for newbies)
assuming that you already have index.html and you have some text in it describing also.
in frontpage open file new and then delete all the tagson the page and just copy and paste the code which i have posted. save the page as a .css file. after that go to your index page or any other page you would like to link with this css file. in the Index page go to format and then style sheet links and then click on add and find the .css file and click on and select for all pages or just for the index page and then click ok. have fu
(Explanation on how to upload a css file in frontpage for newbies)
assuming that you already have index.html and you have some text in it describing also.
in frontpage open file new and then delete all the tagson the page and just copy and paste the code which i have posted. save the page as a .css file. after that go to your index page or any other page you would like to link with this css file. in the Index page go to format and then style sheet links and then click on add and find the .css file and click on and select for all pages or just for the index page and then click ok. have fu
-10
One way to group elements in HTML is to assign them a name attribute. Multiple elements can share a name, then you can easily access them as an array using the getElementsByName() method.
The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.
There is a simple work around for this that works in Firefox, I haven't tested it in others. It is to use the getAttribute method that is an extension of any element object.
This ability can be useful if you have a function that performs a transformation on the active element, and another transformation on closely related elements.
The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.
There is a simple work around for this that works in Firefox, I haven't tested it in others. It is to use the getAttribute method that is an extension of any element object.
This ability can be useful if you have a function that performs a transformation on the active element, and another transformation on closely related elements.
11
Just a little code to make a window in XUL
18
Add dragging to your div elements. just adding class="drag" to the div element will make it draggable.
Here i'm adding an example for a draggable dialog box
Here i'm adding an example for a draggable dialog box
7
I use this function when passing an array to a function being called from setTimeout();
12
Fade in/out multiple images like a slideshow.
12
Basically, you can dynamically ask the webpage to look at a current object's attributes/values or even change the object's attributes/values. As such, running this script on any browser of your choice should show what attributes your particular browser will allow for an object reference you typed in.
8
This is a swear filter script I wrote for my xanga blog. I don't know if it has any application anywhere else. This will replace the swear words listed in the array with the character defined in blank_char. This isn't perfect but it works pretty well.









