Quantcast
Channel: Terkildsen's Blog » javascript
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

JavaScript – sæt cookie via jQuery

En nem måde at læse og gemme cookies på via jQuery. Download jQuery library fra https://github.com/carhartl/jquery-cookie. Kode til at skrive cookies med: $.cookie('name', 'value', { expires: 420480,...

View Article



Image may be NSFW.
Clik here to view.

Handling css :hover on iPad

As you are all well aware, there’s a mobile revolution going on right now, and this revolution has several consequences for website implementation. I encountered one of those today. I needed to...

View Article

Image may be NSFW.
Clik here to view.

Creating pure CSS-based tabs

I know! There are so many jQuery-plugins out there, that enable you to create dynamic tabs-functionality. One of the most widely used is probably jQuery UI’s tab-plugin...

View Article

Image may be NSFW.
Clik here to view.

AngularJS tips and tricks

Are you working with AngularJS? Have you tried using the “documentation”? Have you banged your head into your keyboard trying to find out how seemingly simple methods works? Yeah, I’ve been there. My...

View Article

Image may be NSFW.
Clik here to view.

CSS3 columns in Internet Explorer 7, 8 and 9

Maybe you already know that CSS3 enables texts to be rendered and flowed automatically in columns in order to obtain a newspaper-like formatting of texts. Just like so: The CSS for this is extremely...

View Article


Image may be NSFW.
Clik here to view.

AngularJS tips and tricks – broadcast online and offline status

In continuing my experiments with AngularJS, I often stumble upon new challenges, I haven’t met before. One of these challenges was to broadcast the online and offline status of the browser. I wanted...

View Article

Image may be NSFW.
Clik here to view.

Avoid the empty span-tag when using ng-include in AngularJS

Inserting HTML-templates via ng-include in AngularJS is a smart way to reuse code in your webapps. That way, you can have code in a separate file or in a separate block of code in the same file, and...

View Article

Image may be NSFW.
Clik here to view.

Executing code when all templates have been included – AngularJS

Sometimes, you want to be able to execute code when all the templates have been included in AngularJS using the ng-include attribute. Perhaps, you want to manipulate the inserted HTML… AngularJS...

View Article


Image may be NSFW.
Clik here to view.

Create a HTML5 canvas element with clickable elements

A client asked me to implement a website with different images having clickable circles on top of them. The circles would be placed randomly – and would be used to display additional information about...

View Article


Image may be NSFW.
Clik here to view.

Trigger HTML5 form validation onblur using jQuery and checkValidity

HTML5 form validation is in my view one of the nicest things in HTML5. It makes it very easy to implement form validation, and you avoid writing your own validator or implementing some custom...

View Article
Browsing all 10 articles
Browse latest View live


Latest Images