Change the function carrousel to accept parameters with the names of the elements. Replace all references to '#slidesContainer', '#slideInner', '#slideshow', etc with the passed parameters.
You can position your elements to overlap. Don't nest them because your javascript events would bubble up and you would end up having both elements handle the onclick. You can do something like this....
The way I would do it is create another table which references your course table and user table. That way you can assign a start date for a given user. Maybe something like the following.
I have an odd problem I can't seem to find a solution for. I have two ValidationTextBox elements in a form, username and password. In the onBlur() function of username I call the validator function....
function showCheckBoxDiv(divName, box) {
div = document.getElementById(divName);
vis = (box.checked) ? "block" : "none";
// Here we check to see if we are hiding the input
if(vis ==...
I really liked Prototype because the syntax was easy to understand and there was quite a bit of documentation. These days I am using Dojo. The Dojo library is extensive. The initial learning curve is...
Float them. You can't set a width on inline elements. You can set position though. If you keep them block elements you can float them and set the width.
Frameworks are created to speed up development time. You obviously need to have a firm understanding of the language before you attempt to use one. You contribute absolutely nothing to the...
I have used jquery, prototype, yui, and dojo. My favorites are jquery and prototype and I always end up going back to them. I tend to prefer the syntax of prototype. Dojo is a pain in the ass (and...
Sure. Create your image for your four corners and repeatable images for the top, bottom and sides. Just make these images a few pixels tall/wide so you can repeat them and let them expand to size of...
It is the onblur event that is doing it. If you don't want that to happen then you could change showpic() function to check the other elements and change their size when one is clicked.