Thursday, July 10, 2014

Simple Marquee With Start and Stop Controls

Update: This is not working in chrome(I might work on it..)
I have been looking through this topic for two days and something came to my mind.
By the collective knowledge of the plugins ( and non plugins ) I came across, I learned one thing.Nothing's perfect for me.
Many of them required plugins for this function ( some of them offered additional features like smooth scrolling.. blah.. blah.. blah ).

So, I tried to make something simple and here it is.


I have used setAttribute('scrollamount', 0, 0); for this ( which works flawlessly with Firefox, Chrome, IE with JS support ).

DEMO                                           Download

Till next post, happy designing. 

Tuesday, February 25, 2014

Simple way to use Google fonts in a web page

Used resources: Google fonts, Chrome.
In one of my previous posts , I've explained how to add fonts to photoshop without installing them in the system.
As a web designer, one should take good care of typography in the designs. This is because, the whole internet serves as one big information industry and nothing (not icons, pics, clip arts..) can explain something as neat as a word.
Never fear about what we can do to make content look better. We can start with fonts.
In the case of fonts used in web pages, minimal ones like Open Sans, Sans-sherif, Arial were the dominating families.
To use these fonts, we should get our hands-on a little HTML,CSS and Google fonts.
Google fonts is an online repository, from which we can link and use a huge variety of fonts.

I am going to explain the process of using Open-sans in a simple web page.
First go to the Google fonts page for Open-sans .


Then, we should select the variants (different weights) we want. And then click on the text that says "Collection(1 Font Family)" and copy the tag under "Add this code to your website"

Paste the tag in the HTML file within <head> </head> tags.

Then copy the font-family text and paste it in the CSS property of any (I've used in <h1> and <p>)
tag.

Now, the font styles will be applied for the contents of those tags.


You can use my HTML file for further reference:

DEMO                        DOWNLOAD

Till next post, happy designing. 

Tuesday, February 18, 2014

Add fonts to Adobe (collection) Photoshop without installing fonts

Used resources: Windows XP, Adobe Photoshop CS5, Google Fonts

There are some times, when we really need a different style in a particular text in Photoshop alone.
Thanks to Steve Jobs for making typography an important design factor.

I am a designer. I like minimal fonts like Segoe UI and Open sans.
But Open Sans is not available in the Windows OS by default. We have to install it.
You can do it by opening fonts folder by Run>Fonts and then drag & drop the fonts (font files have .ttf or .otf as extensions. You can download a huge collection from web. Just search google) into it to install.
But, what if we want the font to appear in Photoshop alone (without installing)?
There's a folder, in which the Adobe looks for User installed fonts:(default installation)
C:\Program Files\Common Files\Adobe\Fonts\



If you want many styles in a single font, place the fonts inside a folder like this:


Then copy that folder to the Adobe fonts folder mentioned above.

Now, the font will appear in Photoshop with styles next to it:


Thanks for reading. follow@saravanapriyanm