Posts

Showing posts from October, 2004

ASP VBScript Business Object (MyGeneration)

New template for MyGeneration that generates a vbscript class that allows you to connect to an ADODB database v 1.0 read only, can supply SQL select statement (if not supplied, selects all rows) i.e. Public tb Set tb = new MyTable Response.Write("<ul>") Do Response.Write("<li>" & tb.MyColumn & "</li>") Loop While tb.MoveNext Response.Write("</ul>") Set tb = Nothing Also my 100th post. First one was July 25th 2003, First Weblog - Toolbars

ASP.NET SQL Server DataGrid (MyGeneration)

Created a new template for MyGeneration that creates a page with a DataGrid. The DataGrid source is a SQL Server database. Get it from: ASP.NET SQL Server DataGrid

Countdown (JavaScript)

This script counts down from a specified number of minutes. <html> <head> <title>Countdown</title> <script type="text/javascript"> // how many minutes var mins = 30; // how many seconds (don't change this) var secs = mins * 60; function countdown() { setTimeout('Decrement()',1000); } function Decrement() { if (document.getElementById) { minutes = document.getElementById("minutes"); seconds = document.getElementById("seconds"); // if less than a minute remaining if (seconds < 59) { seconds.value = secs; } else { minutes.value = getminutes(); seconds.value = getseconds(); } secs--; setTimeout('Decrement()',1000); } } function getminutes() { // minutes is seconds divided by 60, rounded down mins = Math.floor(secs / 60); return mins; } function getseconds() { // take mins remaining (as seconds) away from total seconds remaining return se

Client Side Validation in ASP.NET 2.0

Looks like the next version of ASP.NET (Whidbey) will be able to do Client Side Validation for browsers other that Internet Explorer. It shows that when making suggestions on the beta of the next version of Visual Studio, they are taken seriously. Looks like the next version of .NET will be very good for web developers. XHTML output and validation that works client side with multiple web browsers. There will also be an asp:Menu control (i.e. drop down menus (File, Edit, View, Help etc) much like those in many Windows apps) that works for other browsers as well.

fireFTP - FTP in Firefox

Firefox now has an extension that is a basic FTP client, known as fireFTP . So you can use Firefox for your web and FTP needs. Use with MozEdit and the Web Developer Toolbar and you can work on and upload web pages without leaving Firefox. Edit: MozEdit and Web Developer Toolbar.

S5: A Simple Standards-Based Slide Show System (HTML/CSS/JavaScript)

S5: A Simple Standards-Based Slide Show System . This is a way of doing a slideshow using just one page and accessible (and easy to understand) markup. Can be navigated via keyboard or mouse, printer friendly (printed page can have extra information on it), and degrades gracefully for older browsers.

Defending the Fox

Defending the Fox (a site that lists sites that don't support Firefox) now is at version 2 and has a new Url: http://www.defendingthefox.com/ . Not many links on at the moment, and a few pages are still under construction (Web Standards, HTML Guide, CSS Guide, Forums). Colour scheme could be improved though, as well as the submitted sites page (which does not have page navigation or search). Has potential though.

Fade in/out transition (JavaScript/HTML/CSS)

Internet Explorer has a DirectX filter that enables you to do a fading transition on images (opaque to transparent or vice-versa), known as BlendTrans. However, filters are Windows IE only features. There is a workaround though, that enables you to do the same using JavaScript, and it is outlined here: Cross-browser BlendTrans Filter JavaScript

Google Desktop Search

Google Desktop Search is a new tool that allows you to search email (Outlook, Outlook Express), AOL Instant Messenger, Internet Explorer history (unfortunately not Firefox , but they may add it as it is mentioned in their help center) and documents on your computer (Text, Word, Excel, PowerPoint). Interesting how they can do that using just a 400k download. You can still search documents using Firefox though. Hope they add support for different products in the future (Firefox for web pages, Thunderbird for Email). If Microsoft did a tool as well, I wonder if search would just be limited to Microsoft products (while everyone else searches Microsoft and non-Microsoft software/documents)? If so, they may not dominate desktop search.

Around the World in Seven Days

Around the World in Seven Days - the 3rd Firefox browser campaign, for spreading Firefox . They want 1,000 Firefox related photos (something you have done to help spread the word - i.e. handing out flyers, distributing CD's, car stickers, posters etc) submitted after 7 days. Check out the Mozilla store for Mozilla/Firefox related things (T-Shirts, CD's, stickers) Update: Photo's needed are not computer related (you or someone you know at a desktop/laptop PC) - they are ways of spreading Firefox, in the Office, street, College etc.

Code Project Articles (ASP.NET)

ASP.NET currently does not output valid XHTML (ASP.NET 2.0/Whidbey will though). But there is a C# class (via The Code Project site) that can be used which outputs valid XHTML. It intercepts the code before it is sent to the client - so you may get a performance hit (which will probably only be a problem if you get lots of visitors to the page) There is another article on The Code Project, User Friendly ASP.NET Exception Handling that improves on the default unhandled exception handler in several ways. It enables you to email exceptions to the site administrators, log to a file, log to the event log or display to the end user (with the same colour scheme as the default one, but it provides more information).

Firefox Extensions for Web Developers

One of the best features of Firefox is that it can easily be improved by using extensions. Talked about it before in February - Firefox Extensions (for Firefox 0.8). No developer extensions (that I can find) since then (new features added to existing ones, updated due to version changes, added to Mozilla Update ), but that may simply be because the current ones do what most developers want. Here are the useful ones to web developers: Web Developer Extension , by Chris Pederick, the best one so far IE View - for those rare times when you need to open a page in Internet Explorer, or for testing purposes LiveHTTPHeaders - for viewing HTTP Headers you send/receive to/from websites EditCSS - editing CSS live on a website in your side bar (you can do this with the Web Developer Extension as well). User Agent Switcher , also by Chris Pederick. To make some sites think you are using a different browser. JavaScript Debugger , AKA Venkman - for debugging JavaScript errors. We

Ben Goodger, Firefox Developer Interview

Neowin has done an interview with Ben Goodger , concerning Firefox 1.0PR and the future. Perhaps Firefox will take a chunk out of IE's market share (even if it is only 1%/2%)?