Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Friday, 27 May 2011

Returning Javascript array keys - numeric array

While creating rather simple JavaScript widget today, based on Date object I faced a tiny and small problem; As you all know Date objects prototype function getMonth(), returns a numeric representation of month. It means January = 0 and December of course is 11.
But lets take a simple example - You are building a drop down selection calendar, with 3 selection boxes; Year, Month and Day.
So, your month's will be not numbers but strings. Problem, how to map this with getMonth() numeric representation? Here is a

Wednesday, 19 January 2011

Spanning headings in HTML anchor tag

Hi,

Yesterday doing some staff on just to be launched DevFactory project I struggled with problem, how to get in "<a>" tag headings and paragraphs.

After couple of minutes - easy;

Ok staring with a
<a>
<!--The the idea is to span the paragraphs and headings so-->
<span>
<!--then adding--> <p>Your cool text<p/>
<h2>Super heading</h2>
</span>
</a>


Easy and great, happy html"ing".

Thursday, 22 July 2010

Schrader Design website

My Last web site creations - as always screenshots. Codes upon request.
From Schrader Design

From Schrader Design

Saturday, 15 May 2010

Eisner Design website

Ok,
I am posting this as my portfolio entry. It is my this weeks CSS creation.
From Eisner Design
Some hack that I made with CSS3 + CSS3 DOM last child property,

Sunday, 2 May 2010

Change Drupal icon to your logo.

Hi,
I,ve been using DRUPAL for a long time, and since I use this platform, and of course I search around for other websites build on Drupal.
You know this small .ico file which represent small icon on your browsers, I call that command line, small text are when you type in your favourite web sites address.
In most cases developers making custom Drupal themes are sing, I far as I guess

Wednesday, 28 April 2010

Wikitube design - PSD to HTML and CSS.

Hi,
Today`s post is about my personal portfolio and one of my first projects, project I am really proud of - great job and good CSS and html rendering. OK, almost forgot a little JavaScript for popping up panels... Below screen shots.
From Wikitube
and