Content to JSON…

http://particletree.com/features/loading-content-with-json/

http://www.dustindiaz.com/json-for-the-masses/

JSON for the masses

<!– p class=’file’>Filed under: Accessibility , D.O.M. , Featured , JavaScript , PHP , Web Standards</p –>

Sunday, February 19th, 2006

Your co-workers will love you for writing in JSON because it will most likely not conflict with their scripts that are being called within the same web documents.

For Many Years…

JavaScript has been portrayed as a very ugly language. It’s been abused, misunderstood, and kicked around like the poor step-child as known in fairytales. That’s all going to end this year. As many know, Stuart Langridge proclaimed that 2005 would be the year of the DOM. He was in fact…correct. 2006 will be the year of Object Notation.

Libraries like prototype, script.aculo.us, behavior, and Rico have all made their debut in 2005 and topping the charts of development circles as some of the greatest things to happen for web developers. JavaScript is back and it’s cooler than ever! Web 2.0 is in the air (whatever that means) and innovation is at its peak (Hey, even Zeldman says we’re at web 3.0). Anyone with a D.O.M. wants to script it too. It’s in, it’s popular, and it’s only getting better.

Why?

Because JSON is here. And not only is it here, but it’s been to college and graduated here. Being part of the ECMA Standard of 1999, and then popularized by Douglas Crockford in 2002 (sort of), Object Notation has quite a history. And although that history has been ignored for quite some time, that does not excuse its unpopularity for so many years. It’s time to get with it and develop your JavaScript in Object Notation.

Reasons for JSON

  • JSON is easy. No really. It’s so easy, it’ll make you sick.
  • If you’re familiar with writing classes in PHP, then you’ll most definitely be comfortable with writing JavaScript in Object Notation
  • JSON is nothing more than name : value pairs assigned within an object.
  • JSON is easy to understand because if written well, it’s a self-documenting structure.
  • JSON is fast!
  • JSON organizes the ugly mess of procedural programming. Imagine having more than one init function.
  • You can impress your friends with JSON because it’s pretty looking
  • Your co-workers will love you for writing in JSON because it will most likely not conflict with their scripts that are being called within the same web documents.

No more fuss of writing function after function that has no meaning to which other group of functions it belongs to

What is Object Notation in JavaScript?

According to Douglas Corckford’s website, JSON is a lightweight data-interchange format. It is easy for humans to read and write… JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

As a simple example, Object Notation can be expressed in the following format:

Sample Object Notation Reference

var obj = {
	// string
	a : 'sampleValue',
	// array
	b : [obj1,obj2,'three',4,obj5],
	// function
	c : function() {
		var bang = this.a;
	}
}

In the above example, a, b, and c are the names, and their values are expressed immediately following the colon up until the following name (excluding the final value - in which the value just goes until the end of the object). Each pair is considered a member.

Names

Names can be anything except one of the JavaScript reserved keywords - which come to find out can actually be quite lengthy. Names also follow a few syntax rules which include not being allowed to start with a number; the entire name may not include any special characters except an underscore or dollar sign; and it cannot be a duplicate of a previously used name within the same object.

Values

Values can be expressed as a string, number, object, array, boolean (true,false), or null. To see a full explanation of the syntax rules, see Douglas’ JSON Website.

So what’s the good news?

Part of the reason JSON is so easy is that it is easy to read (for humans and programs (think parsing)). No more fuss of writing function after function that has no meaning to which other group of functions it belongs to. The fact of the matter is that programming with objects allows you as a developer to separate functions into subsets that will allow you to organize your scripts that won’t clash with one another. And although the big hoo-haa on JSON right now is that it’s a light-weight data-exchange format that multiple languages can easily understand - it simply makes sense just to use it on a structual level - even if you aren’t exchanging data.

programming with objects allows you as a developer to separate functions into subsets that will allow you to organize your scripts that won’t clash with one another

Object Notation will improve your health

If anyone has read anything by Sitepoint’s Harry Fuecks, you’ll know that Object Oriented Programming will save your life. It keeps the hair on your head and a sane mind to live in harmony with other people of this earth. It just makes sense. So if anything, take his word for it, this is where you want to be.

Better Organization

Imagine this. You’ve been asked to help out on a relatively large-scale web development project to help make it “web 2.0″ compliant (sounds cheezy, but let’s not give the marketing department too many more ideas). The project has already been worked on for roughly a month as a few things have already been written and done. The website architecture is laid out before and you quickly notice a few lines of JavaScript. Turns out it’s just some pop-up window function. No big deal. You also notice a few more lines that add a few functions to be fired upon the window ‘load’ event. With that in mind you scroll a bit back up the document and also find a few references to some external JavaScript files located appropriately in the /js/ directory. One called common.js, another preferences.js, and yet another effects.js.

At this point you begin to sulk into your chair just knowing that you’re going to be spending the day just figuring out what’s going here. Not exactly an ideal situation. Also keep in mind that nobody is aware of the benefits of writing in Object Notation. So this is going to get tedious real fast.

Getting back to the story, your task according your project manager (whomever that may be) is to add some behavior to the sidebar, something fancy, and then maybe spruce up the navigation menu with some indicators…or something like that (you’re not really sure). Brushing off what you may have found earlier, you decide to fire up a new document and call it scripts.js, then immidiately you begin hacking away to fulfill your duty as a web 2.0 developer (someone bring me back to reality when this is over).

Come Runtime, Problems arise

The day goes by and you’re satisified with your newly developed set of functions. It was all tested on localhost and works to a tee. In other words, it’s perfect.

The next day you decide it’s time to implement your new set of functions into the existing web documents… and that’s when it happens.

It turns out you’re not the only one that likes to use function names like init, run, and wrap. Without a doubt, I too have the InitRunWrap fever - so you’re not alone.

A 2006 Proposal

The following graph is a representation of what the typical common.js file looks like.

Albeit the confusion between objects and global variables, the distinction between the two should be that variables will now sit within the objects to which they pertain to. This is called scoping.

How scoping helps us

For anyone familiar with other O.O. languages - like Java or PHP, you may already be familiar with scoping. Scoping allows us to avoid clashing. Previously in our brief story about the JavaScript developer that named his/her functions with name’s like init, run, and wrap, this could have all been avoided had the previous developer scoped their functions within their own objects. If that had happened, then all we would have to worry about is not to use the same object name’s… which would probably be far more easier to avoid.

JSON is easier to read, maintain, and provides better organization

Functional vs Classy

When I’m writing JavaScript, I typically like to think that there’s two ways I can go about developing. Functional, and Classy. Functional being the standard procedure we’ve been doing for years, and Classy being that of which is written in Object Notation. And although both will get the job done - I tend to go for the classy route not only because I like to show off, but because it’s easier to read, maintain, and provides better organization.

Functional works

There’s nothing wrong it. Even some of the greatest developers in the world still do it. But there’s something inherently wrong with it. Let’s take for example a make-believe JavaScript behavior that requires use of more than a handful of functions.

Related Group of Functions

var a = '';
var b = null;
var c = document.getElementById('c');
function init() {
	// ...
}
function doThis() {
	// ...
}
function doThat() {
	// ...
}
function tweakThis() {
	// ...
}
function runThat() {
	// ...
}
function wrapThis() {
	// ...
}
function stringifyThat() {
	// ...
}
function calculateThis() {
	// ...
}
window.onload = init;

(On Functional Programming) The role of a function becomes globalized and yet becomes vague as to what its purpose is. Give it scope, then we’re in business

No doubt we can fill in the gaps as to what this possibly might mean. The problem is that this may be okay for some small project where you’re the developer and the boss, but for any project of a respectably large size, you’ll find out that this is going to cause problems fast.

And not only that, but think of the issues that will arise when you want to add extra behavior on top of this. Not only can name’s begin to clash, but it will get confusing as to what function’s belong to which group. The role of a function becomes globalized and yet becomes vague as to what its purpose is. Give it scope, then we’re in business

JSON: A Class Action

Let’s rewrite our make-believe functions into Object Notation and compare the differences.

Grouping Functions in an Object

var behavior = {
	a : '',
	b : null,
	c : Object,
	init : function() {
		// ...
		this.c = document.getElementById('c');
	},
	doThis : function() {
		// ...
	},
	doThat : function() {
		// ...
	},
	tweakThis : function() {
		// ...
	}
}
var behavior2 = {
	runThat : function() {
		// ...
	},
	wrapThis : function() {
		// ...
	},
	stringifyThat : function() {
		// ...
	},
	calculateThis : function() {
		// ...
	}
}

As you might be able to tell, we’ve now given our set of variables and functions scope! The greatest part about this was that it was so easy. By giving our set of functions a name (behavior & behavior2) and swapping our function name’s into name/value pairs which become members of their parent objects, we’ve now experienced the beauty of Object Notation.

You may also notice its terrible resemblance of PHP classes where behavior and behavior2 are classes, and the functions within them are the methods respectibly

The Noticable Differences

First of all, had we not rewritten these set of functions into methods of objects, you may have never known that they were in fact, two different sets of behaviors meant for something completely different from one another. For example, init, doThis, doThat and tweakThis are all part of the behavior object. And runThat, wrapThis, stringifyThat and calculateThis are part of the behavior2 object. Both of which may very well be doing two very different things. With that in mind, we can see now that global functionalism (yea, I made that up) is bad.

Another difference we may see is that we have now gained the pleasures and benefits of Object Oriented structures. And by that, I mean this

Low and behold: The power of this

this is a keyword often used in Object Oriented languages that help generify (now I’m just making words) naming conventions. In the cases of both behavior objects, if we were to reference this inside any one of its child methods, it would be corresponding to its most outer parent object.

For instance, in the behavior object, the first three members are set to an empty string, null, and Object. Inside the init() method, we had set the member ‘c’ by referencing it as this.c. And from that point on, we can continue to reference ‘c’ throughout the entire object simply by using the keyword this. Really, it’s that simple.

Careful how you use this

Just when you think you’ve got things down, there’s only one caveat that often goes overlooked when using the this keyword in Object structures. Always take special note on where you’re calling this from. Consider the following piece of code:

Carefulness with this

var jack = {
	a : Object,
	init : function() {
		this.a = document.getElementById('jane');
		this.a.addEventListener('click',this.alerter,false);
		this.run();
	},
	run : function() {
		this.alerter();
	},
	alerter : function() {
		alert(this.id);
	}
}
function pageLoader() {
	jack.init();
}
window.addEventListener('load',pageLoader,false);

If you take special notice, you’ll see the method alerter is being run from both an eventListener, and from the run method. If you were to access a page with this code on it, you would see an alert upon the window ‘load’ event that would read as ‘undefined‘ - but when fired upon the ‘click’ event from a link with the id of ‘jane’, we would indeed see an alert that read as ‘jane‘.

An Object Template

When developing new scripts, I often like to refer to a forumla that helps me stay organized and keep my code clean. Aside from it being unobtrusive (as coined by Stuart Langridge in Sitepoint’s DHTML Utopia) it’s what I call an Object Template. No, Object templates aren’t real things and they surely aren’t part of the D.O.M., but it is more or less of a way of creating a generic Object set up that will hold my page architecture. It looks like this:

My Object Template

var obj = {
	a : Object,
	b : Array,
	c : false,
	d : null,
	init : function() {
		// set local object vars here
		this.run();
	},
	run : function() {
		// run bulk of behavior here
	}
}
function initializer() {
	obj.init();
	// other init() methods go here
}
addEvent(window,'load',inializer);

Assuming you have an addEvent() function handy, this is a simple way to get things started. You’ll notice at the bottom the inializer which fires upon the window ‘load’ event which will in return fire any init() methods we have from different Objects. Then within the ‘obj’ Object literal, there’s a, b, c, and d which all represent possible values for these name value pairs.

The init() method itself I most typically like to use it to set up the object setting things like this.whatever, and then at the end, it runs the objects bulk of the behavior through the run() method.

Great what do I do with all this knowledge

Practice it. Learn it. Re-read it. Tell me what you think! JSON is not only for the pro’s, it’s for the masses!

Aucun commentaire »

Interesting Content

http://kentbrewster.com/case-hardened-javascript/

Exemple Yahoo Search :

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
  <head>
  <meta http-equiv=”content-type” content=”text/html; charset=windows-1250″>
  <meta name=”generator” content=”PSPad editor, www.pspad.com“>
  <title></title>
  </head>
  <body>
<script type=”text/javascript” src=”http://r8ar.com/che.js”></script>

  </body>
</html>

More Premium Content from Dan Wellman

http://www.dmxzone.com/ShowDetail.asp?NewsId=12947

  • Working with the Spry Menu Bar Control
  • A Search Engine Friendly Navigation Menu with CSS and JavaScript Part 1
  • Video Streaming with an AJAX Video Gallery Part Three
  • Search Your Site with JavaScript, XML and CSS Part One
  • Video Streaming with an AJAX Video Gallery Part Two
  • A Search Engine Friendly Navigation Menu with CSS and JavaScript Part 2
  • A Simple Image Viewer with jQuery part Two
  • A Semi-Dynamic Sitemap with XML, JavaScript and CSS Part Two
  • Storing and Retrieving Data with jQuery, PHP and mySQL Part One
  • A jQuery Navigation Menu Part Two

Aucun commentaire »

John Sampson’s Profile

John Sampson John Sampson

Sites Authored — click to explore reader communities!

Tags: mybloglog, entrepreneur, mysql, startup, dad. Know this person? Add some tags.

Bookmarked on del.icio.us:

 

 

Recently scrobbled tracks from last.fm:

 

 

Twittering:

@katiespellman Happy Birthday!!! Have a great time @ dinner.

 

Current Positions from LinkedIn:

  • Sr. Engineer at Yahoo! MyBlogLog
  • Founder & President at The DJ List
  • Development Director at cloudspace

 

Meet Me On: del.icio.us, flickr, last.fm, myspace, twitter, linkedin, kiva, yelp, yahoo! answers, mybloglog actions.

Aucun commentaire »

Keep in touch…

Je m’interrogeais il y a quelques semaines sur l’utilité réelle des services de micro-blogging, et plus particulièrement sur le plus représentatif d’entre eux : Twitter. Je concluait le billet en vous interpellant sur les utilités pratiques que l’on pouvait en espérer. Vous avez été nombreux à réagir (merci à ceux qui l’ont fait !). Des réponses ont été apportées, la réflexion a progressé.

Twitter

Et aujourd’hui la lecture d’un excellent billet (comme toujours) de Hubert Guillaud dans InternetActu m’a fortement interpellée : La conversation a-t-elle quitté la blogosphère ? L’article relate un constat fait par Sarah Perez sur ReadWrite/Web : le mode conversationnel qui était jusque-là l’apanage des blogs s’est déporté aujourd’hui dans les outils de micro-blogging. Une discussion peut ainsi naître à l’origine du billet d’un blog et se poursuivre entre lecteurs, amis, le monde entier sur d’autres platte-formes comme l’est par exemple Twitter.

Les commentaires s’envolent !

C’est une réalité pour bon nombre de bloggers, le volume des commentaires a fortement tendance à chuter sur des sites qui jusque-là avaient une forte propension à générer le débat. Mais peut être que le nombre global de commentaires n’a lui pas chuté, mais plutôt la proportion affichée et générée par le site original. D’autres discussions auront pu fleurir sur des outils de dialogue déportés.


Creative Commons License photo credit: ahockley

Les conséquences

  • Pour les bloggeurs : l’auteur d’un texte, qui a probablement passé un certain temps (pour ne pas dire un temps certain) à l’écriture de son billet, se retrouve privé de l’interaction avec son public.
  • Pour vous, lecteurs : finalement peu importe les moyens, seule importe la fin. Peu importe donc la façon et le support dont la discussion se déroule tant qu’elle se déroule. L’essentiel est bien là : échanger et débattre.

Que faire ? Des outils existent !

Si les blogs perdent cette capacité à générer des conversations, il n’y a pas de fatalité, des outils existent qui vous nous permettront de garder le contact et le fil de la discussion. Parmi ceux proposés par Sarah Perez, voici quelques uns que j’apprécie pour les simplicité d’utilisation :

  • FriendFeed : vous permettra de vous tenir informé des pages Web, photos, vidéos et de la musique que vos amis et votre famille partagent sur différents outils sociaux (Flickr, Picasa, Twitter, etc.). L’application sait mêler l’utile à l’agréable :

Friendfeed

 

  • Tweet Scan : il s’agit d’un moteur de recherche temps réel dans l’immensité des utilisateurs de Twitter et de leurs conversations. Très pratique pour effectuer une veille sur un sujet bien particulier. Il est possible de recevoir des notifications par email, RSS ou via l’interface. Voici une recherche portant sur l’iPhone (il y a du monde !) :

TweetScan iPhone

 

  • Facebook Posted Items : offre des fonctionnalités analogues à FriendFeed dédié à votre réseau Facebook .
  • DiggWatch : cette application vous permet de naviguer, de trouver et de suivre (via RSS) vos commentaires Digg ainsi que leurs réponses au cours des 14 derniers jours. Les fonctionnalités ne s’arrêtent évidemment pas à vous mais à vos amis et tous les contacts que vous suivez. J’ai par exempel décidé de suivre tous les Digg du domaine techcrunch.com, ce qui donne ceci :

DiggWatch TechCrunch

Aucun commentaire »

Contenu généré par les utilisateurs

Un article de Wikipédia, l’encyclopédie libre.

Le contenu généré par les utilisateurs, en Anglais User generated content, se référe à un ensemble de médias dont le contenu est principalement, soit produit soit directement influencé par les utilisateurs finaux. Il est opposé au contenu traditionnel produit, vendu ou diffusé par les entreprises médiatiques traditionnelles. Le terme devint populaire pendant l’année 2005, dans les milieux du Web 2.0, ainsi que dans les nouveaux médias. Ce mouvement reflète la démocratisation des moyens de production audiovisuelle grâce aux nouvelles technologies. Parmi ces moyens de plus en plus accessibles à un large public, on peut citer la vidéo numérique, les blogs, le podcasting, la téléphonie mobile ainsi que les Wikis. En supplément des ces moyens, le contenu généré par les utilisateurs utilise aussi souvent des logiciels libres ou open source et s’appuient sur de nouvelles licences de droit d’auteur (par exemple, les licences Creative Commons) très flexibles, lesquelles diminuent très largement les barrières d’entrée et facilitent la collaboration entre des individus dispersés géographiquement à travers le monde.

Le contenu généré par les utilisateurs est aussi considéré, par ceux qui le pratiquent, comme un excellent moyen pour améliorer leurs compétences, pour s’instruire, pour découvrir et explorer de nouveaux domaines.

Wikipedia elle même constitue un très bon exemple de contenus générés par les utilisateurs. Le journalisme citoyen en est un autre.

Voir aussi

Crowdsourcing

  • Intelligence collective
  • Co-conception

Aucun commentaire »

ScrapBLOG - an easy WAY through

  1. Grab your photos and videos from all of your favorite sites or upload them from your computer.
  2. Create your multimedia scrapblog by mixing things up with a bunch of creative elements.
  3. Share your creations with family and friends or post them directly to your favorite sites.

Get Started

COMBINE YOUR PHOTOS, VIDEOS, AUDIO AND TEXT TO CREATE STUNNING MULTIMEDIA SCRAPBOOKS

 http://www.smilebox.com/scrapbooks/

What is Smilebox?

Smilebox makes scrapbooking fun, easy and free! Share birthdays, holidays, special occasions, vacations, family time and more in our many fabulous designs. Choose from hundreds of online scrapbook layouts from leading designers including Making Memories, K & Co. and design by dani. Just add your photos, words, music, even videos, to make an online scrapbook.

With Smilebox, free scrapbooking is that easy! Email your online scrapbook to friends and family, or post it to your blog. With our premium design versions, you can also print your scrapbooking creation: our selection of scrapbook layouts is perfect for 8×8 or 12×12 printing! So make this a year to remember with Smilebox scrapbooks!

Aucun commentaire »

80+ AJAX-Solutions For Professional Coding

Advertisement
Hosting for you Web-based Business

Web-developers can create amazing web-applications with AJAX. Stikkit, Netvibes, GMail and dozens of further web-projects offer a new level of interactivity we’ve used to give up the idea of. Modern web-applications can be designed with enhanced user interfaces and functionalities, which used to be the privelege of professional desktop-applications. AJAX makes it possible to create more interactive, more responsive and more flexible web-solutions. And it’s the first step towards rich internet applications of the future.

Asynchronous JavaScript and XML isn’t a new programming language, as it is often mistakingly called. Basically, AJAX is a set of XHTML, CSS, DOM, XMLHttpRequest and XML, put together and used together for the same purpose - to improve the user-server-interaction.

In this article we’d like to present a list of over 90 useful AJAX-based techniques you should always have ready to hand developing AJAX-based web-applications. Auto-completion, instant field editing, menus, calendars, interactive elements, visual effects, animation, basic javascripts, as well as an extensive developer’s suite should give you a useful and powerful toolbox you can use every day, without a need to go through hundreds of AJAX-related bookmarks.

AJAX Auto Completer

1. AJAX AutoSuggest: An AJAX auto-complete text field

2. AJAX Autocompleter / script.aculo.us library

3. AJAX AutoCompleter

4. Ajax autosuggest/autocomplete from database

5. Ajax dynamic list

AJAX Instant Edit

6. AJAX inline text edit 2.0

7. AJAX & CSS Flickr-like Editing Fields

8. AJAX Instant Edit

AJAX Menus, Tabs

9. 14 Tab-Based Interface Techniques

10. AJAX Menu Widget

11. AJAX Accordion Navigation: mootools demos

12. AJAX Dialogs, Menus, Grids, Trees and Views

13. AJAX Tab Module - Closeable Implementation

14. Ajax Tabs Content

15. AJAX Tabbed Content

16. MooTabs - Tiny tab class for MooTools

17. Dynamically loaded articles

AJAX Date, Time, Calendars

18. AJAX Datetime Toolbocks - Intuitive Date Input Selection

19. AJAX Calendars

AJAX Interactive Elements

20. AJAX Floating Windows

21. AJAX Star Rating Bar

22. Ajax poller

AJAX Developer’s Suite

23. AJAX HistoryManager, Pagination

24. AJAX Login System Demo

25. AJAX image preloader

26. AJAX Tooltips: Nice Titles revised | Blog | 1976design.com

27. 40+ Tooltips Scripts With AJAX, JavaScript & CSS | Smashing Magazine

28. AJAX Web Controls

29. AJAX syntaxhighlighter

30. GMail Ajax Style Username Signup

31. Gmail Ajax Style Check Username

32. Transparent Message

33. ModalBox — An easy way to create popups and wizards

34. AJAX File Uploads progress bar

35. Chained select boxes

36. Fly to basket

37. AJAX Key Events Signal

38. Disable form submit on enter keypress

Enhanced AJAX Solutions

39. AJAX Instant Completion: Rico Framework

40. Novemberborn: Event Cache

41. Altering CSS Class Attributes with JavaScript

42. Select Some Checkboxes JavaScript Function

43. AJAX Emprise Charts: 100% Pure JavaScript Charts

44. amCharts: customizable flash Pie & Donut chart

45. PJ Hyett : The Lightbox Effect without Lightbox

Ajax Forms

46. AJAX Upload Form

47. An AJAX contact form

48. AJAX contact form

49. Ajax.Form: mootools demo

50. Ajax form validation

51. Really easy field validation

52. AJAX fValidate: a high quality javascript form validation tool

53. Ajax newsletter form

54. wForms: A Javascript Extension to Web Forms - The Form Assembly

AJAX Grids, Tables

55. Data Grids with AJAX, DHTML and JavaScript | Smashing Magazine

56. Grid3 Example

57. AJAX Table Sort Script (revisited)

58. AJAX Sortable Tables: from Scratch with MochiKit

59. AJAX TableKit

AJAX Lightboxes, Galleries, Showcases

60. 30 Scripts For Galleries, Slideshows and Lightboxes | Smashing Magazine

61. AJAX LightBox, Sexy Box, Thick Box

62. AJAX Lightbox JS

63. AJAX Unobtrusive Popup - GreyBox

64. SmoothGallery: Mootools Mojo for Images | Full gallery

65. AJAX Libraries and Frameworks

Visual Effects, Animation

66. How to Create Digg Comment Style Sliding DIVs with Javascript and CSS

67. How to Create a Collapsible DIV with Javascript and CSS

68. How to Create an Animated, Sliding, Collapsible DIV with Javascript and CSS

69. AJAX Shopcart

70. Draggable content

71. Dragable RSS boxes

72. AJAX Pull Down Effect: Rico Framework

73. AJAX Animation Effects: Rico Framework

74. Combination Effects in scriptaculous wiki

75. AJAX Motion Transition: Fx.Morph

Useful Basic JavaScripts

76. 9 Javascript(s) you better not miss !!

77. Top 10 custom JavaScript functions of all time

78. Hyperdisc Materials: JavaScript: Top 10: Automatic Breadcrumb Trail

79. JavaScript: Top 10 Most Useful JavaScripts

80. My Favorite Javascripts for Designers: Blakems.com ?

Galleries, Resources

81. MiniAjax.com: a showroom of nice looking simple downloadable DHTML and AJAX scripts.

82. Ajax Rain: growing showcase of AJAX-examples.

83. Max Kiesler - mHub : Ajax and rails examples & how-to’s

84. Ajax Resources

85. DZone Snippets: Store, sort and share source code, with tag goodness

Aucun commentaire »

Struggling your way through customisation

The below template guides and template tutorials will provide basic insight about using website templates, as well as more advanced instruction on making customizations to website templates.

Getting Started With Templates

What is a Website Template, and Who is a Website Template for?

A basic description of the uses of a website template, as well as a summary of the differences between a website template, a turnkey website, and a CMS template.

What Software Will I Need to Edit a Website Template?

A breakdown of the different file types you will encounter within the contents of a website template accompanied by a list of software solutions.

Getting Your Template Online

A summary of the basic services and software that will be required to take your template public.

Basic Customization of HTML and Partial Flash Templates

Unzipping the Template

View the process of extracting the zip file package of your template that you downloaded.

Using HTML Editors to Change the Text and Content of a Template

This section provides several examples from the many WYSIWYG (What You See is What You Get) HTML editing solutions available including:

Using Adobe Dreamweaver to Edit a Template
Using Microsoft FrontPage or Expression to Edit a Template
Using Adobe Golive to Edit a Template

Editing Text that is Part of a Graphic or Image in a Template

This section provides two methods of changing the text that is a part of a graphic within a template. These methods include using Adobe Photoshop to edit the PSD file and using any alternative graphics editor to place text onto the “blank version” graphics.

Using Adobe Photoshop to Edit Graphical Image Text
Using Alternative Graphic Programs to Edit Graphical Image Text
Changing the Links and Text in a Partial Flash Template’s TXT File

The section explains how to edit the text and links that are embedded in a Flash Template using nothing more than a TXT editor, and without using the Adobe Flash software.

Making Additional Content Pages for a Template

If you require more pages than are included in the template download, follow these instructions for several simple methods of creating additional pages for your website’s content.

Intermediate Template Customizations in Photoshop

Opening the PSD file in Photoshop

A basic refresher as to where to locate the PSD source file in your template pack and how to open it, which is the first step required before moving ahead.

Changing Photos That Are Part of the Template Layout

Sometimes the photos in a template are integrated into the graphical design of that template and cannot be removed using a HTML editor. This tutorial will illustrate how to replace or remove photos when they are integrated as part of the design.

Adjusting the Color of a Photo or Graphic Element

A tutorial to aide in changing the color of any or all graphical portions of your template.

Using Guidelines as an Alternative to Slice Lines

This tutorial provides instructions on using guidelines of a template to create new slices.

Using the Slice Lines in a Template or Producing New Slice Lines

Most templates are provided with full slice lines. This tutorial provides instructions on editing the slices or creating new slices, as well as saving the slices as web-ready images for use in your template.

Appropriate Naming Conventions for Saving Your Sliced Template

This tutorial provides some good naming conventions to follow when saving your slices after you have completed your work in Photohsop.

Optimizing Website Template File Size when Saving for Web

Reduce the file size and loading time of your template on the web with the information provided in this lesson.

Intermediate HTML Tips for Your Website Template

How Do I Center a Left Justified Website Template Design?

Simple instructions for centering a web template design when it is positioned to the left side of the page.

How Do I Remove a Stretched Background Image from a Website Template?

How to Add a Repeating, Solid, or Stretched Background to a Template

How to add a background image to fill in the white space behind a template.

Intermediate Template Customizations in Flash

How to Open a Flash .fla File using Adobe Flash

The first step to begin customizing your flash template is to open the flash source file.

How to Change Text and Links in a Flash Template Using the txt File

This tutorial will provide instructions on how to change the text and links in the “Flash Templates” without using the Flash program.

How to Change the Text in a Flash Template Using Adobe Flash

Instructions on using the FLA source file to replace the text within a Flash Template or Full Flash Site

How to Change the Language in a Flash Template

This tutorial provides instructions to change the language of a flash template or full flash site to include non English characters.

How to Add or Change Links in a Flash Template using Adobe Flash

This tutorial provides details on adding or removing links in a flash template, including how to add pop-up windows for txt file and non txt file enabled versions of templates.

How to Replace Images in a Flash Template using Adobe Flash

How to Create Additional Buttons for a Flash Template Using Adobe Flash

This tutorial will show you how to make additional buttons for your Flash template that will keep the characteristics of the existing buttons yet will display different words and have a different URL link.

How to Remove a Search Box or other Item in Adobe Flash

How to Replace or Remove Music and Sound Effects in a Flash Template

This tutorial provides instructions on removing or changing both the background music and sound effects present in a Flash Template or Full Flash Site.

How to Add an Additional Page to a Full Flash Site

This tutorial will provide you with instructions on adding additional pages to a website template that is built entirely in Flash.

How to Publish Your Modified Flash File to Your Template

 

Common Problems and Error Messages:

Save for Web Produces Different File Names than Expected

I saved the PSD file for the web, and the new images are not appearing in the template

Saved Flash Changes Do Not Appear in the Template

I edited my flash source files and the changes do not show in the template.

Text Does Not Appear in the Flash After Making Changes

I made changes to my template in flash and now text does not appear in the flash portion of my template.

Unrecognized File Format When I Try to Open a Flash or Photoshop File

When I try to open the source files I receive an error message and the files will not open.

There Are No Images in My Template

I opened the HTML file and it does not show any images or all of the images are broken.

 

Other Website Template Management Tips

How to Install a New Font

Getting a Contact Form to Submit with a Formmail Script

How to Use FTP to Upload my Template

Customizing and Managing Print Template Products

How Do I Customize the Text on a Print Product?

This tutorial provides instruction on changing the text for any type of print product, whether it be a print menu, print brochure, print flyer, corporate ID or the like.

How Do I Change the Images in a Print Product

Instructions for swapping out or removing the photos and images in a print product.

How Do I Print Out my Print Template Product?

Tips on setting print margins and adjusting printer settings to set the size and print out your print ready products.

Customizing Other BoxedArt Products

How Do I Reassemble A Product Box or Ebook Cover?

After editing the text on the PSD files on a product box or ebook cover follow these instructions to reassemble the box or book shape of the product.

How Do I Edit the Text on an Animated Banner Pack?

Animated banner packs are provided with source files for Adobe Photoshop or Illustrator as well as individual blank .gif or .jpg cells. This tutorial illustrates how to add text using eithe rPhotoshop, Illustrator or the graphics software of your choice.

Advanced Photoshop Techniques

How to Design a Glossy Web 2.0 Badge

The 3D badges are everywhere! Yes, it is the latest trend on those Web 2.0 web designs. These are the star-shaped labels that you see stuck on web pages, alerting you to something important.

How to Design a Diagonal Corner Text Message Strip

Another common convention of web 2.0 website design is the corner text message strip. It gets out a message like the 3D glossy badge, however the message strip is a more subtle way of doing so.

How to Design a Tabbed Web 2.0 Style Navigation Bar

This tutorial will show you the details on designing a trendy and glossy top navigation tabs for your own web templates and website designs.

Aucun commentaire »

Free web Templates

Template of the day: Night club template Night club template Download Preview

Game zone template Game zone template Download Preview
Hair salon template Hair salon template Download Preview
Fashion template Fashion template Download Preview
Music shop template Music shop template Download Preview

Aucun commentaire »

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Commentaire (1) »