Prototype with dynamic HTML: style and script

Friday 9 May, 2008

Over a year ago I wrote a post (Dynamic HTML with Javascript) that outlined some techniques to dynamically add style sheets and scripts to an HTML page already loaded. Who uses Prototype.js can greatly simplify life by using for instance:

JavaScript:
  1. "dom:loaded" , document. observe ( "Sunday: loaded"
  2. function () (
  3. Element ( "script" , { type: "text/javascript" , src: "/js/altro.js" } ) ; var script = new Element ( "script", (type: "text / javascript" src: "/ js / altro.js"));
  4. ) [ 0 ] . insert ( script ) ; $ $ ( "Head") [0]. Insert (script);
  5. )
  6. );

After the page is loaded document.observe adds a new script Javascript! For styles that is exactly the same thing!

Related Post

Arrive GURU: seminar on Photoshop CS3 and Digital Imaging

Friday 9 May, 2008

Post opens with a new section Events & initiatives, given the numerous records that often are my proposals. Clearly identify those linked to the themes of this blog.

image "They arrive the Guru", be held in Rome in October 2008, and sees for the first time ever, the presence in Italy of Martin Evening, most expert in digital imaging, and author of numerous books on Photoshop successful, sold throughout the world.
Given the uniqueness of the event, this year the organization has devised a "tour" of 8 stages, in many Italian cities, whose participation is TOTALLY FREE.
During the various meetings the Adobe Guru Marianna Santoni, Claudio Marconato, Tiziano Fruet, and David Vasta, entertain the participants with 5 hours of in-depth seminars on various topics, from digital photography, design and Web design. There are 3 steps that will take place in the South (Naples, Bari, Catania), a known "snobbato" by events of great importance. The official website is: http://www.arrivanoiguru.com

(reported by: David Vasta)

Related Post

Google Translate updates

Friday 9 May, 2008

Just a few days ago I wrote a Post on automatic translation, addressing the question of sites and / or multi-language blog from my point of view of a developer. I have received, in fact, some interesting comments that stress the limits of current technology. In fact, systems that can translate on the fly our Web pages, like Google Translate, absolutely not produce a result comparable to the human, who - in short - trade plays in the occupation of translator. Furthermore, there is no specialization of these public systems: a scientific text translated into English and other novel translated into English or a manual technique and so on. That, with a translation "human" we know that not happening and professional translators are very specialized in certain areas.

However, as I said (in private mail as the thick) to Leonardo, there are cases where a translator, especially with the advent of the Blog, can kill time and costs by allowing the limits of machine translation systems today, at least to understand in their own language what is written on the Web.

image In these days Google Translate has updated its online translation system, add support for many, if not all, languages of the world: from China to the greek Japanese and many others. Even the interface has renewed proponedo the drop-down menu to make it easier to choose the source language and to "translate".

Related Post