code

Remove FireFox focus ring from links on your site

Dragan Eror's picture

If you use Firefox web browser then you know about annoying dotted border around links when you click on them.
You can easy fix that thing if you carefully follow next few steps.

  1. Open new tab or new window in your Firefox

  2. In address bar type next

    about:config

    and pres enter

  3. You will see warining page. Something like this

Generic Syntax Highlighter - GeSHi

Dragan Eror's picture

Yesterday I found great Generic Syntax Highlighter class.
Searching more I found 'geshifilter' Drupal module for GeSHi class, after I was implement it into this Drupal site.

With GeSHi you can make your code examples more readable for users!

You can see examples of GeSHi below!

JavaScript DIV's Width & Height info

Dragan Eror's picture

Most useful tool for web designers...
How many time you've had a problem because you didn't know what is the DIV's width or height

onclick="alert('Width = ' + offsetWidth + 'px' + '\n' + 'Height = ' + offsetHeight + 'px')"