Thursday, January 04, 2007

Social Software



List of Social Softwares
http://en.wikipedia.org/wiki/List_of_social_software

Introduction-to-the-Read-Write-Web

Wednesday, January 03, 2007

Misc things @ JavaScript

Ok/Cancel box:

if (confirm('Like cookies?')) { document.write('you like cookies!') }

The buttons on a confirm box cannot be changed, nor can you specify a
default button

Session object
The Session object is a host object (i.e. not native) that is made
available to JavaScript code processed on the server in an ASP
pre-processing page.

under ASP I believe the Session object's
properties are accessed using ' ( ) ' notation, so in an ASP page,
Session("UserID") = "" is valid.

The ASP Session object cannot be acessed by code running on the client. It is only available to that JavaScript which
runs on the server **before** the ASP page is sent to the client.

An Iframe is a frame, so to get to the page that holds the Iframe you need
'parent'. From the popupwindow to the first window, use the word 'opener'.
So you need parent.opener...
But JS will only communicate between all these windowobjects if they all
reside in the same domain.

Sunday, December 31, 2006

Frames @ HTML

With frames, you can display more than one Web page in the same browser window.
With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.

The disadvantages of using frames are:
The web developer must keep track of more HTML documents
It is difficult to print the entire page

The Frameset Tag
The <.frameset> tag defines how to divide the window into frames
Each frameset defines a set of rows or columns
The values of the rows/columns indicate the amount of screen area each row/column will occupy

The Frame Tag
The frame tag defines what HTML document to put into each frame

In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 55% of the width of the browser window and third column to remaining 20%. The HTML document "aframe.htm" is put into the first column, the HTML document "bframe.htm" is put into the second column and the HTML document "cframe.html" into the third column:
<.frameset cols="25%,55%,20%">
<.frame src="aframe.htm">
<.frame src="bframe.htm">
<.frame src="cframe.htm">



If a frame has visible borders, the user can resize it by dragging the border. To prevent a user from doing this, you can add noresize="noresize" to the <.frame> tag.

Add the <.noframes> tag for browsers that do not support frames.

You can't use the <.body> tags together with the <.frameset> tags! However, if you add a <.noframes> tag containing some text for browsers that do not support frames, you will have to enclose the text in <.body> tags!