scriptygoddess

Archive for the ‘Scripts’ Category

15 Apr, 2004

Average Posts Per Day

Posted by: Jennifer In: Scripts

Guest authored by
Michelle – usr-bin-mom.com

01 Apr, 2004

Text Field Auto-Fill

Posted by: Jennifer In: Script snippet

A brief break from the eye-bleeding CSS talk. LOL! ;o) I needed a text field to be prefilled with text. If the user clicked on it, the text would clear out. If they "left" the text field (changed focus) without changing it – I needed it to revert back to the original text. If they [...]

18 Mar, 2004

404 Error Handling part II

Posted by: Jennifer In: Scripts

In this post I grabbed this bit of code so that I would be emailed whenever someone hit a 404 page on my site. However, I found out that my 404 page was visited quite often… usually for the same three files. So I modified the script a bit – so that it would keep [...]

14 Jan, 2004

cron jobs

Posted by: Jennifer In: Script snippet

Sometimes the simplest thing are the things that seem the hardest. You're almost embarrassed when you finally figure it out – and realize how simple it was. Cron jobs. Did you know you can create a script (that could technically be run if you pulled the page up in a browser) – but lets say [...]

Just some snippets for safe keeping regarding radio buttons. One that will change which radio button is selected. The other that will change the focus to the appropriate radio button (useful when validating that fields are filled out in a form)

06 Jan, 2004

another revision to the show/hide script

Posted by: Jennifer In: Scripts

This is in reference to this post which included a link to a revised version of the show/hide (collapsing/expanding) script. That one was designed specifically for entries. Most people use this script for their comments to, so I made a slight change to it so that you can use ONE function that will work with [...]

Guest authored by
Jake Ortman – utterlyboring.com

(Sort of inline with the previous moblog post) All of Sam's posts are accompanied by a few lines of text that the phone automatically adds. (There's probably a setting to remove it, but we can't find it at the moment). So I used the following script to hide the text using php.

11 Dec, 2003

Javascript: Pull-down menus with pop-up links

Posted by: Jennifer In: Script snippet

Guest authored by
Jenni – bloggiebroad.com

A line break can be created by either a new line (ie. "\n") or a carriage return (ie. "\r"). (more info here) In my particular use, I had a field that could take several email address that would be seperated by either a comma, semicolon or line break:

Comments Off

Featured Sponsors


  • meeshking: I found a fix to this very problem... It seems that Wordpress 3.3.1 has some kind of caching issue which I discovered when I researched what I thought
  • Ben: Oh snap! You're totally right! Thanks for passing on the knowledge ;)
  • J: Thank you! Wasted fruitless hours. just changed "page" to "paged" and suddenly page 2 really displayed page 2, not just the same darned page. Th

About


Advertisements