Posts Tagged ‘text javascript

pushState is a nifty way to manipulate browser history state without having to mess with the #hash value. You can use this to change the full path portion of the URL: PLAIN TEXT JAVASCRIPT: var stateObj = { foo: “bar” }; history.pushState(stateObj, “page 2″, “bar.html”);   This would change the URL bar to http://example.com/bar.html without [...]

The Yahoo! YUI is an incredibly feature-rich JavaScript library with a LOT of functionality but getting your head around all of those features can be tough. The YUI team wants to help developers get up and running more quickly and announced yesterday the release of SimpleYUI; a basic and more streamlined version of the YUI [...]

Ryan Seddon, aka the CSS Ninja, has a nice blog post up where he reverse engineers the new feature in Gmail where you can drag attachments from an email on to your desktop. Note that the feature only currently works in Chrome. Ryan begins with the following code: PLAIN TEXT JAVASCRIPT: var file = document.getElementById(“dragout”); [...]

Canonicalizing URLs is a very important  aspect of Search Engine Optimization but also of Social Media Marketing. This morning, when checking my feeds, I noticed an example that I thought could help you understand the what and the why of it. What I noticed was this: Smashing Magazine had put out one of their usually [...]

Thomas Fuchs has some good performance things to say reflows and rendering. A video of wikipedia gives you an idea of how much happens when a basic page is rendered: The advice? The important thing is to always remember that reflowing and rendering HTML is the single most expensive operation browsers do. If your page [...]


About this blog

This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.