rss

3D Flash Image Viewer: TiltViewer

1

Category : Design, Flash

 

TiltViewer is a free 3D Flash image viewer application with an impressive interface.

The application responds to the mouse movements and creates a full 3D effect with new image sets falling, old ones disappearing, zooming an image and flipping it to see the details.

Tiltviewer
Tiltviewer

Tiltviewer

Images can be added to the gallery from a XML file or a flickr account.

Reblog this post [with Zemanta]
  • Share/Bookmark

Nice to visit Websites

Category : Design, General

General Resources

PHP Resources

 

Reblog this post [with Zemanta]
  • Share/Bookmark

Blockquote vs. Q vs. Cite

Category : CSS, Design, General

According to HTML specifications, there are three elements which are supposed to semantically mark up quotations, namely <blockquote>, <q> and <cite>. Although all intended to markup quotes, they should be used in different contexts. So when should you use what? HTML Dog provides a nice and compact overview of these elements:

<blockquote>

blockquote is a large quotation. The content of a blockquote
element must include block-level elements such as headings, lists, paragraphs
or div’s. This element can also have an optional attribute cite
that specifies the location (in the form of a URI) where the quote has come from. Example:

<blockquote cite=”http://www.htmldog.com/reference/htmltags/blockquote/”>

   <p>A large quotation. The content of a blockquote element must
      include block-level elements such as headings, lists, paragraphs
      or div’s.</p>
   <p>cite can be used to specify the location (in the form of a URI)
 where the quote has come from.</p>

</blockquote>

<q>

q is a small quotation. The content of this element is an in-line quote. Modern browsers know how to interpret <q> which is why you can style quotations using this HTML-elements via CSS. Example:

<p>Bob said <q>sexy pyjamas</q> but Chris said <q>a kimono</q></p>

Although <q> is almost never used, it has some useful properties. For instance, you can specify the appearance of quotes within the <q>-element via CSS. That’s reasonable as different languages use different quotation marks for the same purpose. For instance, these ones:

Q {}
Q { quotes: '»' '«'   }
Q { quotes: '„' '“' }

Modern browsers support this way of styling. Of course, Internet Explorer (even in its 8th version) doesn’t support it although it knows <q> pretty well. In particular, since some problems with encoding of quotes can appear sometimes it’s useful to provide numeric values (see below).

According to standards you can even specify the appearance of quotation marks depending on the browser’s language of the user. This is how a W3C-example looks like:

:lang(fr) > Q { quotes: '« ' ' »' }
:lang(de) > Q { quotes: '»'   '«' '2039' '203A' }

As pretty as they may be, pull quotes have inherent problems in the way they are placed in the middle of HTML content. To a visual, CSS enabled browser all might seem hunky-dory, but to those browsers that are not CSS-abled and fall back on the plain HTML or to screen readers for visually impaired users, the pull quotes will appear slap bang in the middle of the main content. A quote suddenly appearing between two paragraphs is clearly out of place and will confusingly break the flow.

If you are using pull-quotes, it is wise to provide a little extra information for users who would stumble on this problem. In the XHTML you can provide a message, hidden from view with CSS that reads something like “Start of pull-quote” before the quote and then “end quote” after it. You could even have a link similar to the “skip navigation” link, which would offer the user the ability to skip the pull-quote and continue to the main content.

<cite>

cite defines an in-line citation or reference to another source. Example:

<p>And <cite>Bob</cite> said <q>No, I think it’s a banana</q>.</p>

Summing up: for large quotes use blockquote, for small quotes use q and for references to another sources cite should be used. In practice, usually only blockquote and q are used.

  • Share/Bookmark

Amit Yadav is Digg proof thanks to caching by WP Super Cache