Seva at Eclipse

Seva Lapsha working on Eclipse PDT project

Archive for the 'html' Category

Prototype styled Google Analytics javascript snippet

Posted in development, html, integration, java, javascript, leisure, prototype, web on August 11th, 2008 | No Comments »

Recently I’ve created a prototype styled javascript snippet to enable google analytics on one of my sites. Save this code in google.analytics.js file and include it from the head tag of the page just after including of the prototype.js:
gaTrackerId = ’ss-ddddddd-d’; // insert your tracker id here
document.observe(’dom:loaded’, function() {
var gaJsHost = (
(’https:’ == document.location.protocol)
? ‘https://ssl.’
: [...]

[ Back to top ]

Integration of Zend Framework and Prototype Ajax

Posted in ajax, form, html, integration, javascript, php, prototype, zend framework on October 29th, 2007 | 2 Comments »

Last two days I’ve worked on implementing an example of integration of Zend Framework’s MVC and Prototype’s Ajax for HTML Forms submission and validation.
The solution consist of 2 parts:
1. There is a new View Helper to create an Ajax-enabled form.
This part mostly consists of JavaScript code, which alters default HTML Form behavior to submit the [...]

[ Back to top ]

Recent Posts

Archives

Categories

Meta