I built a quick accordion which works quit nicely, but I am having a performance problem - when changing panels of the accordion, the right edge invariably slides to the left during the accordion...
My usual recipe for this kind of javascript problem is to make a test copy of the page and start stripping code. Remove a set of tags, refresh your browser. If the problem stops, you found the...
To be fair, there is one exception to this. If you are getting data from a browser, such as in the $_GET or $_POST superglobal arrays, check the get_magic_quotes_gpc() function first before you add...
Coyotelab has a solution for you there. That will hide the <div>. If, however, you don't want that <div> output at all, something even simpler will work:
There's something else going on as well - theres' no padding at the top in IE, and there's some extra whitespace over the top of the drop shadows on either side.
I am using the SEARCH AGAINST MySQL syntax in a site I am working on to search several fields for a submitted search. However, it's not working so well for partial matches. My client wants to be...
I was able to get it to work by setting the height of the next container up to 100%, so that all the containers were set to 100% height. Too bad that broke the layout altogether.
Thanks for looking into my code so deeply - I must have 100 nested divs. So for future reference, if I want a div to stretch to 100%, I need to set a pixel height for some container of that div to a...
I've been trying to get a div to stretch to the height of it's container and I got nothin'. This has stumped me on other projects as well, and this time I can't avoid fixing it. Here's a link to a...
I have a client who wants to make the contents of a directory of arbitrary .pdf files searchable. Is there a practical way to do this? She's on a budget and I'm trying not to scare her off. If...
Could you snag the anchor name and stick it into an "artificial" <a name="target"> tag, then remove the <a> tag's name attribute with JavaScript. Once the name is gone, use the effect.scrollto to...
I have used Leaning PHP, an O'Reilly book. I'm plannig on getting Programming PHP as well. Tons of good info, but if you're learnig PHP as a first language, O'Reilly may not be the books for you. ...
If your form uploads the photo and records the URL, then when you review it later, your view page should use that same image URL to load and display the image. Anyplace in the site that needs to...