Advanced Search
Search Results
15 total results found
I am trying to develop an application using AJAX. Where do I find out more information?
You can find a quick AJAX primer at:http://mi6.ais.ucla.edu/devbriefs/ajax-primer
Javascript
Javascript, also known as ECMAscript, is used to make web browsers perform certain actions before returning to the web server. It depends on web browsers behaving the same. This was problematic for a long time, but is getting much better. Here are a few Javas...
How do I force an image to reload on a web page?
It’s easy to make an image reload just by refreshing a page in your browser. Reloading just the image without forcing the whole page to refresh is a little trickier.This is a useful technique to use if you have a rotating image that you would like to cycle eve...
Web Development Standards - Best Practices
For better or for worse, everyone developing web sites at UCLA abides by different rules. For those of us who build for public consumption, what are the best practices — considerate of time and maintenance limitations — to get a little closer to building bette...
How to get rounded corners on web pages
The traditional way to get pretty-looking corners for all your tables (and divs, and menus, and whatnot) used to involve setting a background image to the table or other element. While simple, this is a very inflexible solution. It is completely dependent on t...
The Document Object Model (DOM) and what it's good for
If you develop for the web, you may have heard the term “Document Object Model” or “DOM” thrown around. You might have even used it without realizing it. The DOM is an object structure that represents web pages. It’s primary use is in Javascript, though it can...
What are Favelets / How can I modify my browser on the fly?
Favelets, or bookmarklets, are a quick and easy way to add functionality to your browsing experience. Favelets (as I will refer to them from here on) are bookmarks (i.e. favorites) for your browsers, but instead of storing a web or ftp address as a URL they st...
In a web application, how can I flash an image after a user presses a button?
We needed the ability to display an image for only a quarter of a second. This can be done using javascript. After the tag, add these functionsfunction displayImage(){document.images[0].src = 'flashedImage.jpg'var t = setTimeout("hideImage()",250)}function ...
The advantages of Javascript
IntroductionJavascript is a browser-interpreted language that was created to access all elements of HTML and the browser. The processing is done entirely by the client-side browser which makes it very useful tool to handle processing which would have otherwis...
Which Javascript framework should I use?
So you’re tasked with creating a new web site or enhancing an old one and you need to provide some nice UI components or a RIA, the question is, what to use? We have faced this question at the Digital Libraries, and found the best approach for us is to define ...
jQuery Tutorial
Learn the basic building blocks of jQuery in a two hour combination of videos, and interactive console challenges. – http://try.jquery.com/Please list any other useful jQuery Tutorials you know of.
Diagramming in Markdown
Markdown is often used for writing documentation, but it doesn’t provide supports for diagrams. Now, something called mermaid does. It can generate diagrams and flowcharts from text in a similar manner to markdown. Mermaid DemoThere is also a project called vi...
How to use the Javascript template in Moodles Database Activity Module
There is a javascript template located in the Moodle Database Activity Module so instructors can recognize when students click buttons or hover over textareas, and other such basic functionality. In the jstemp.jpg, you can see several examples of working java...
Linking database information through JavaScript template in Moodle Database Activity Module
Say you have two databases in your Moodle site, and you want to send data from one database to the other one to fill in a form. An easy way to do this is by sending the required data through the url and utilizing JavaScript. Sample 1 In Sample 1, lets say ...
jQuery and JavaScript Coding: Examples and Best Practices
When used correctly, jQuery can help you make your website more interactive, interesting and exciting. This article will share some best practices and examples for using the popular Javascript framework to create unobtrusive, accessible DOM scripting effects. ...