Posted by A.R. Van Halleorg on 2009/12/11
There’s a good chance that you’ve probably seen this before and weren’t able to come up with a solution and ripped your hair out trying to get it and maybe that’s what you were about to do before you stumbled on this. I was shown this by a coworker this morning and I decided to add it to my ever growing list of reasons why IE6/IE7 reminds me of a mother-in-law with it’s horrific ability to nag for details. (Not my case, my mother-in-law doesn’t care about anything)
So! Actually there are 2 things I’ve seen that work :
1. Remove the margin-top from the element (especially things like headers and put padding or line-height instead)
2. (from coworker) set your element to have vertical-align:top and suddenly it disappears!
Hope that helped someone. If not, well I guess I’ll keep looking.
Posted by A.R. Van Halleorg on 2009/07/24
I’ve had this issue coming up in searches for my site, so I thought I would address it. In my older version of the NFB Video Plugin, the Simple HTML Dom is incapable of opening a ‘huge’ file when you are on a host online due to their default memory in PHP. Mainly this is an issue where Vimeo has too many comments on their page to be able to read for the missing information. In any case, this error shows up all over the web, so here is what you do to fix it!
ERROR MESSAGE : Fatal error: Allowed memory size of…
There are 2 easy solutions for it.
1) If you have access to the php.ini file, you can change it to:
memory_limit = 30M ;
2) If you don’t have access to the php.ini there is still hope! You can modify it in the PHP code itself, it returns to normal when the script stops running.
<? ini_set(‘memory_limit’, ’64M’); ?>
(I’ve found this works for me on Servage)
Hope this helps you guys!
Posted by A.R. Van Halleorg on 2009/07/22
I’ve blogged twice before about PrettyPhoto which is a kind of thickbox/lightbox that I enjoy working with, but recently I’m looking at ColorBox, which is another one of the same style of plugins to use and I think works really well.
According to the website ColorBox is tested In: Firefox 2 & 3, Safari 3 & 4, Opera 9, Chrome, Internet Explorer 6, 7, 8. (I haven’t confirmed in all browsers as of yet, but it looks good in Firefox 3.5 and IE7/IE8 that I’m aware of.)
You can read more here about what it offers. But among it is :
- Supports photos, photo groups, slideshow, ajax, inline, and iframed content.
- Lightweight: only 9KB of JavaScript.
- Appearance is completely controlled through CSS so users can restyle the box.
- Behavior settings can be over-written without altering the ColorBox javascript file.
- Completely unobtrusive, requires no changes to existing HTML
- Preloads background images to avoid flash of unstyled content on first use.
- Can preload upcoming images in a photo group.
- Written in jQuery plugin format and can be chained with other jQuery commands.
- Generates W3C valid XHTML and CSS, adds no JS global variables & passes JSLint.
- Released under the MIT License.