Posts

Showing posts from October, 2003

CSS

A table of CSS rules that you can apply to pages to hide CSS from certain browsers. Useful for working around CSS display bugs in certain browsers. CSS properties list is a list of CSS1/2 properties and which browsers they will work in (plus any quirks there might be)

Get File Size

This handy tool ( download ) enables you to find out the file size of a linked document within Internet Explorer. It also tells you when it was last modified.

CSS / XML Editors

Free CSS editor provided by Morphon (11.7MB download). Requires Java Runtime (or download a 24.8MB file which includes the runtime.) There is also an XML editor available (13.3MB download, 28.4MB with runtime)

DevGuru

DevGuru contains a quick reference guide for the following: ADO , ASP , CSS2 , HTML , Javascript , JetSQL , VBScript , WML , WMLScript , WSH , XHTML , XML DOM and XSLT . Very comprehensive. Downloadable PDF versions for $10.

JavaScript Sites

http://webdeveloper.earthweb.com/webjs/ - many useful scripts found here including a style switcher (very little code involved, so simple one line of code is needed to switch the style sheet) There is also a navigation tree menu, a chart generator (using an object based approach) and a HTML > JavaScript converter. Some of the scripts are standards compliant, using the latest DOM standards. Not quite beginner orientated, but good functional code. You can also add your own code as well. http://www.javascript.com/ - this site brings together links to other sites and also includes a tip of the day feature http://javascript.internet.com/ - this is the internet.com javascript source and also allows additions. Code has comments and also shows you the amount of code there is in the script at a quick glance. Over 2000 scripts here. http://www.brainjar.com/ - this is the home of the DOM Viewer , a tool that list the methods and properties of various objects. It is a stand alone H

Programming Tools (Open Source)

A few tools that I have used (with syntax highlighting for various languages - HTML, JavaScipt, CSS, C++, etc...): Programmers Notepad 2 (based on Scintilla) (which is the one I often use) Scintilla - SciTE Syn Text editor SynEdit (not the same thing as Syn Text Editor) jEdit (requires Java) Update (30 Nov 05) : Added SynEdit, jEdit Tags: Web Developer Blog , Text Editors

Redirect to secure site (ASP)

The following will redirect from http://www.domain.com/path/to/file.asp to https://www.domain.com/path/to/file.asp: VBScript: <% If Request.ServerVariables("HTTPS") = "off" Then Response.Redirect("https://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL")) End If %> JScript: <% if(Request.ServerVariables("HTTPS") == "off"){ Response.Redirect("https://" + Request.ServerVariables("HTTP_HOST") + Request.ServerVariables("URL")) } %>