prototype - delete table rows

July 1, 2008 | In WebTechnology | No Comments

I set up some demos from various sources. They use these JavaScript functions and call various prototype based javascript.

function function1() {
document.all.myT.deleteRow(2);
}
function test(){
var d = $('myDiv');
alert(d.innerHTML);
d.hide();
d.show();
d.addClassName('active');
}

function function2(idname){
var d = $(idname);
alert(d.innerHTML);
d.hide();
d.addClassName('active');
}

using prototype-1.6.0.2.js from http://prototypejs.org/assets/2008/1/25/prototype-1.6.0.2.js

joomla iframes how

June 1, 2008 | In MySQL, WebTechnology | No Comments

To use iframes in joomla 1.5, check out the wrapper module (which may not be enabled on your install, depending..). It allows iframe to be displayed. Select Position: User2 to show the wrapper iframe in the content area of rhuk_milkyway.

Extensions > Modules > Wrapper

HTH!

toggle checkboxes javascript using prototype

April 14, 2008 | In Other Tech, WebTechnology | No Comments

Toggle All Check Boxes using prototype javascript library.


function toggleCheckBoxes(formName) {
// toggle Check Boxes using Prototype Library
var form=$(formName);
var i=form.getElements('checkbox');
i.each(function(item) {
if (item.checked)
item.checked=false
else {item.checked=true }
}

);
}

Next Page »

Powered by WordPress RSS XMLRSS Feed - Syndicate this Site and comments feed
linux GNUpowered by Apache tomcatMySQL ABPHP - The Language the Web Runs on

^Top^ Gare CalhounGare CalhounGare CalhounGare CalhounGare Calhoun