BizzyBee’s BizzyThoughts

Think Outside The Hive - About Notes and Web
 
 

Archive for the 'Webdesign' Category

In the first part of this article I talked about why you should consider the Spry framework as a valid alternative for input validation in the browser. Now I’ll demonstrate how it works in Dreamweaver and in the next article, how to transfer the validation to Domino Designer (I decided to split up the article in different parts for the Dreamweaver side and for the Domino Designer side).

Adding the input validation to a form in Dreamweaver CS3

Spry demo

I invite you to start the beetorial to the left. In less than 5 minutes it shows you how to add input validation to a form in Dreamweaver CS3 (although it took more than 5 hours to build it :-)). I recommend running it in full screen (press <F11> in most browsers).

It’s not only intended for Notes developers, but is also useful for anybody that wants to learn about input validation in Dreamweaver CS3.

In the beemo I start with a form I already prepared (it’s loosely based on a form I found in The Art & Science Of CSS, a very inspiring Sitepoint book about practical and visually stunning CSS techniques.

I add validation to fields for name, email, date and checkboxes and I show how it looks like in the browser.

Bare in mind that the validation messages look a bit boring at the moment, but in a future part I will demonstrate how easy it is to create validation eyecandy.

posted by Martin Vereecken Feb 24, 2008  10:02 AM
read (6 comments)

Adobe Spry Ajax framework

I know there’s Dojo. I know there’s Prototype. jQuery. There are a lot of JavaScript libraries available, and most of them have objects dealing with input validation. I saw Rocky’s session about Dojo on LotuSphere. An inspiring session that got me started delving into it, but I found myself a bit disappointed about how it looks. There are 3 themes available that change the look and feel a bit, but they all look rather ugly to me. Creating a theme of your own, so they tell, is a huge work (and that’s why there are only 3 themes).

While thinking about alternatives, I started looking at Spry, the Adobe’s framework embedded in Dreamweaver CS3. Spry can do much more than input validation, but for now I’m only interested in this part. It’s available for free, but if you want the ease-of-use you will need Dreamweaver CS3.

In this first article about Spry, I want to show you why it can be important to you if you are a Dreamweaver user. It’s just a warming-up to get your attention actually :-).

In a second article I’ll start with a Dreamweaver prototype form and Spry it up and in a third article, I’ll transfer it to a Notes webform. If there’s enough interest, a fourth article could be about Sprying up an existing Notes webform.

Read the rest of this entry »

posted by Martin Vereecken Feb 19, 2008  10:02 PM
read (5 comments)

Web 2.0 mirror effect example created in Fireworks

Everybody has seen this mirror effect in modern webdesign. Maybe you have an overdose by now, but I want to show how simple it is to create such effect in Fireworks. In this tutorial movie I demonstrate how to create such mirror effect in approx. 1 minute.

posted by Martin Vereecken Feb 07, 2008  09:02 PM
read (9 comments)
    I normally (like in: it depends on the project/wishes of the client/company standards) try to test in/support the following browsers:

  • Firefox 2.x (this is my default, because of supported standards and web development possibilities)
  • Internet Explorer 7
  • Internet Explorer 6
  • Safari (if I can plug in my Mac)

But if you’re a poor little self employed person like myself, you can’t afford to have x machines to make all these test possible.

If you installed IE7 on XP, it installs on top of IE6, so normally you can’t test for IE6 any longer without the need of a virtual/another machine.

But there’s a neat program that deals with this, so don’t worry!

Read the rest of this entry »

posted by Martin Vereecken Jan 30, 2008  01:01 PM
read (12 comments)

Hide-whens work on a per-line or per-cell basis for showing/hiding content. But what if there are different chunks of content you want to show/hide on the same line, depending on the conditions? For example:

  • buttons on a form or page, some of them you want to hide sometimes;
  • different status images;
  • pieces of text.

Sure, you can find ways with table cells, computed text or computed images. But there’s another way, at least on the web. In the client, I thought I could get it to work in Notes 6.5 earlier, but when I tested in Notes 7 and 8 today, it won’t give me what I want.

Here’s an example situation: imagine I want to show these 3 images.

3 images all visible, no hide-whens applied

Read the rest of this entry »

posted by Martin Vereecken Jan 14, 2008  12:01 PM
read (11 comments)

Remember the action bar icons I selected? I first packed them as a zipfile, then I created an icon library database , and to make things even more simple for you, here’s a reference card of all the icons. There’s no reason left now not to use them ;-).

Read the rest of this entry »

posted by Martin Vereecken Nov 28, 2007  10:11 PM
read (4 comments)

UPDATE: this is a reference card showing all the icons.

Icon Library - a Notes database

Remember the 180 action bar icons in 25 categories?

I now imported them in a Notes database as image resources:

Icon library Notes database

Read the rest of this entry »

posted by Martin Vereecken Nov 22, 2007  03:11 PM
read (7 comments)

In this article I posted a solution to collapse/expand all sections on a Domino web page. However, there was one issue with it: it doesn’t work in Firefox, because Domino renders different html for sections in non-IE browsers.

In non-IE environments, expanding a section means that a request is send to the server to retrieve the section data. This is silly, because the code for this to happen clientside shouldn’t be that different from the IE javascript.

This post is about how to create collapse/expand sections that work in all browsers (as long as JavaScript is enabled). It’s an alternative for this solution, for people who are wanting to put a little more effort in it.

Let’s start with a demonstration before explanation.

Expand/collapse sections demo page

A little warning: the little twisty icons don’t show up in my demo page, because I cannot put the default Domino twisties where they should belong. This shouldn’t be a concern for you: if you copy/paste the source of that page in a Domino page and mark the page as html, this should work for you.

Read the rest of this entry »

posted by Martin Vereecken Nov 08, 2007  09:11 AM
read (6 comments)

UPDATE: if you’re ready to put a little more effort in the implementation, this cross-browser solution is more suitable.

A post on Notes.Net inspired me today: somebody asked how you can expand/collapse all sections in a document on the web with the click of a button.

This is the code I came up with. Throw it in the JS Header of the page and call it with a button (here I used 2 separate functions for the expand and collapse, but it can’t be that hard to make it one button if desired).

Read the rest of this entry »

posted by Martin Vereecken Nov 06, 2007  02:11 PM
read (5 comments)

My very first article here was about how to create good looking charts from your data.

I found a tool that produces even better looking results in the browser. Take a look at this:

Pie 3D chart

Read the rest of this entry »

posted by Martin Vereecken Nov 05, 2007  02:11 PM
read (3 comments)

UPDATE 1: the icons are now bundled in a Notes database.

UPDATE 2: this is a reference card showing all the icons.

A while ago I was looking for pretty icons to use in my Notes action bars. I found the as excellent as cheap (0€/0$) Famfamfam icons from Mark James (apparently Famfamfam is a man).

While this library is of unknown quality, to me it has 2 limitations to make them usable in Notes:

  • The icons are in png format (not supported by Notes Designer) instead of gifs.
  • The library has 1000 icons, not all of them evenly useful. It makes it hard to find the right icon for your needs.

That’s why I decided to make a selection of the icons that appear the most useful to me and put them into different categories. Then I converted them to gifs while respecting the original transparency of the pngs.

This is an example of how they look like in a form:

Action bar icons for Lotus Notes
Read the rest of this entry »

posted by Martin Vereecken Oct 25, 2007  12:10 PM
read (10 comments)

The green triangles in Notes views is a typical Notes thing. Nothing wrong with that… especially for history classes. In 2007, we want to customize these.

Take a look at the picture before and after the twisty makeover:

Customized twisties in viewsNormal twisties in views

Read the rest of this entry »

posted by Martin Vereecken Oct 18, 2007  11:10 AM
read (11 comments)

Years ago I had to connect to SAP from within a Notes web application. I used the Lotus Connector for SAP solutions for it, but I wasn’t really happy with it.

One reason was that the “in between” code was written by another person and I didn’t quite understand what was going on. It was more or less a black box and I was loosing days figuring out what went wrong if reading or writing data didn’t work.

Read the rest of this entry »

posted by Martin Vereecken Oct 10, 2007  08:10 AM
read (3 comments)

UPDATE: I found a tool that produces even better looking results and included a demo database for it. Check out this article.

How many times somebody asked if it is possible to pour some results into a fancy looking chart? Ok, you could create it in some graphic tool or Microsoft Excel, then paste it into your document. But what if you want to use dynamic data, perhaps as a result of some inquiry? As a result of a form that was filled out?

What do you do? Use JavaScript for it? Let some gnomes draw it for you? An applet that takes minutes to load something your son of 5 could have done better?

Or do they look like this?

XML/SWF Chart example

Read the rest of this entry »

posted by Martin Vereecken Aug 30, 2006  10:08 PM
read (3 comments)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...