FireFox and Hidden Input

October 10, 2006 - Leave a Response

For some strange reason FireFox has decided that hidden input elements should have styles applied to them as well.

Even though the W3C defines hidden controls in HTML 4.01 as:

“controls that are not rendered but whose values are submitted with a form.”

http://www.w3.org/TR/html4/interact/forms.html#hidden-control

IE and Opera properly follow the standard.

Base tag, IE and JavaScript

August 31, 2006 - Leave a Response

If you use the <base> tag, links in JavaScript (window.open for example) will ignore the <base> tag. The way around it is to make the link in the JavaScript relative to the domain.

<base href=”http://www.example.com/this_site/”&gt;

The JavaScript should look like this.

window.open(‘/this_site/page2.html’);

PHP IDEs

August 11, 2006 - Leave a Response

This is what I’ve found after trying various IDEs available for PHP.

If anyone has any suggestions or thinks they know the solution to the listed problem, please comment. I need a good editor and I have yet to find one.

  • PHP IDE (Eclipse)
  1. - Cannot deal with simple lines such as: $var = “value={$value}”;
  2. - IntelliSense does not include other files/included files.
  • TruStudio (Eclipse)
  1. - Errors prevent it from working (errors when creating project, errors when setting include/library paths)
  • PHPEclipse (Eclipse)
  1. - IntelliSense does not include other files/included files.
  2. - Cluttered Menus
  3. - Go to Definition does nothing
  • VS.PHP SE (Visual Studio)
  1. - Flawed code completion
  2. - Pasting messed up indentation randomly in file
  • ActiveState Komodo / PHP
  1. - No functionality to set Include/Library paths
  • DreamWeaver
  1. - Editor, not IDE (IntelliSense limited to PHP functions)
  • PHPEdit [Waterproof]
  1. - Cannot create project from existing files
  • Zend Studio
  1. - Cannot set Include/Library paths
Follow

Get every new post delivered to your Inbox.