scriptygoddess

Archive for January, 2007

29 Jan, 2007

Get current URL with PHP

Posted by: Jennifer In: Script snippet

Because I was having a "duh" moment. $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]

From Javascript Get or Set Checked Radio Value // return the value of the radio button that is checked // return an empty string if none are checked, or // there are no radio buttons function getCheckedValue(radioObj) { if(!radioObj) return ""; var radioLength = radioObj.length; if(radioLength == undefined) if(radioObj.checked) return radioObj.value; else return ""; for(var […]

Comments Off on Javascript Get or Set Checked Radio Value

Boy, do I love that "Position is everything" site. Every problem I've been having these days with CSS, the fix can be found there. Here's today's CSS dilema. Had a simple floated div. Gave it a margin – and for some reason, IE doubled it. The solution is just to add "display: inline;" to the […]

Ran into this problem today: Had a container div with floated divs inside. However the container div was shrinking up above the bottom of the floated divs inside. See example here. Found this solution which basically suggested adding the following so that it wouldn't do that: .containerdiv:after { content: "."; display: block; height: 0; clear: […]

Comments Off on Floated boxes extending outside of container box

11 Jan, 2007

Email Friendly URLs

Posted by: Jennifer In: Bookmarks

Ever email someone a really long link and have the thing wrap to two lines, and then your friend gets the email clicks on the link but it's broken so they can't go to it? I just found this website: Email URL that will give you a simple URL to send to people and it […]

Comments Off on Email Friendly URLs

09 Jan, 2007

Vertical Center Text in DIV

Posted by: Jennifer In: Bookmarks|CSS|CSS related

Like I said, I'm still fighting my way through understanding CSS. Here's a little tid-bit I finally understand today. Had a bit of text that I wanted to have centered in a nav bar. "vertical-align: middle;" didn't seem to do anything. Found this article which said this: the thing with vertical-align is that it's vertical […]

08 Jan, 2007

1px Background Image Shift

Posted by: Jennifer In: CSS

I'm still fighting my way to understand CSS – so if there's a better way to do this, feel free to let me know. I wanted a black center column, that I would put content boxes with a white background over it. So I created my background with the centered black column, used CSS to […]

04 Jan, 2007

Captcha

Posted by: Jennifer In: Bookmarks|PHP Related

Just installed this captcha code on a form and it was extremely simple to do and so far seems to work great. Just thought I'd share.

Comments Off on Captcha

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements