Stylize the last element in prototype
Here is an example of removing the last border in a list of elements.
Event.observe(window, "load", function() {
$$(".homepageContainer .upcomingEvents").last().setStyle({
border: 0
});
});
You can compare to jQuery by going hereLabels: javascript, prototype
Here is an example of removing the last border in a list of elements.
Event.observe(window, "load", function() { $$(".homepageContainer .upcomingEvents").last().setStyle({ border: 0 }); });You can compare to jQuery by going here
Labels: javascript, prototype
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home