Example Accordion Divs

Accordion Divs:
http://sandbox.scriptiny.com/javascript-accordion/index.html
http://www.cssnewbie.com/example/css-only-accordion/vertical.html

Posted in Uncategorized | Leave a comment

WordPress Troubleshooting

Ran into a couple issues on a development box and wanted to save some notes for next time!

If the FTP upgrade / install leads to a blank white page with no error, check your PHP configuration and make sure that it was run with the option –enable ftp

If the Media / Library / Image Editor is not functional, check the PHP configuration and make sure it was run with the option –with-jpeg-dir=/usr/lib/

Posted in Uncategorized | Leave a comment

To-do wishlist

Stuff I want to do this week:

drupal module for royalty processing
install magento
install cake ?
drupal with magento
drupal with ubercart

Google Analytics
Google webmaster stuff

Posted in Uncategorized | 1 Comment

Skinning the longtail jwplayer

I learned how to create skins for the longtail jwplayer
Fun!

Posted in Uncategorized | Leave a comment

Install Bind on Centos

I have a couple of name servers running and figured it would be a good idea to have multiple backups actually running in place and fully up to date, so when one of the real ones goes down, the process of finding a replacement will be completely painless.

rpm -qa bind*
bind-utils-9.3.6-4.P1.el5_4.2
bind-libs-9.3.6-4.P1.el5_4.2

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12684
yum -y install bind
...
/etc/init.d/named start
Locating //etc/named.conf failed:
[FAILED]

copy over my ‘secondary’ named.conf file, try again:

/etc/init.d/named start
/etc/named.conf:10: open: /etc/ns1_rndc.key: file not found

copied over the file /etc/ns1_rndc.key from my other name server

zone 0.0.127.IN-ADDR.ARPA/IN: loading master file rev.localhost: file not found

copied over & updated the rev.localhost file from the other name server

could not configure root hints from 'named.root': file not found
copy over the named.root file from my other server

couldn't open pid file 'named.pid': Permission denied
change the permission on the /var/named folder to group writable with
chmod 2774 /var/named

and the secondary is now fully backed up.
Next I set up some shell scripts that copy the named.conf file from the actual secondary name server into place on the backup name servers, so they’ll always be up to date without me needing to do anything further.

Posted in Uncategorized | Leave a comment

follow the bouncing ball

Ever since I built the template a couple months ago from the old www.Omniweb.com design, I’ve wanted to do something fun with the blank white space on the left side of the panel. Yesterday I decided to build a little animation with the Omniweb ball using some basic jquery functions.
Click the ball at the top of the page, and a larger ball appears to bounce in the white space for a few moments. Click the larger ball and it disappears again. I’m thinking about adding a mouseover function on the smaller ball next, so surfers will know there’s something here…

Posted in Uncategorized | Leave a comment

Cloud Storage is here!

Omniweb offers cloud storage to businesses and individuals!
Store and retrieve your documents and files in the cloud!
Enterprise storage solutions starting at $5 per month,
Brought to you by Omniweb.

Posted in Uncategorized | Leave a comment

CSS for printing

One of our clients wants their website to print out on paper the way it looks on screen. I need to develop custom css for printing.

So after my main css is called, I add the call to the conditional css file like this:
link rel="stylesheet" href="_print_style.css" type="text/css" media="print"

then in the _print_style.css file, I hid certain elements that shouldn’t print, such as the navigational menu boxes with
.sbox {display:none;}

A big issue I found was that floating div’s do not print across pages; To fix this issue, I added entries for each floating div to my _print_style.css file like this:
#bbox {width:780px;float:none;}

A few other tweaks here and there, now all the information shows up nicely on the printed page without needing a special “printable version” of the webpage.

Posted in Uncategorized | Leave a comment

Gmail having tech problems?

Unheard of! right??
Tonight I couldn’t upload any attachments to my Gmail emails, and there was a message in the sidebar stating that they’re having tech problems and chat is down.
Guess all you Gmail users should get Omniweb.com accounts for days like these! 🙂

Posted in Uncategorized | Leave a comment

Is the silence golden

Wow since changing my ssh ports to non-default, and adding Mollom to filter out bogus user registrations, I’m getting a lot less junk in my mail box.

Posted in Uncategorized | Leave a comment