Changes

Jump to: navigation, search

Computer Science/164/HW3

129 bytes removed, 08:07, 21 November 2009
m
images
;To produce the following
[[Image:navbar.png]]
Note that there is a lot of information here which is rather superfluous. If we want to add an element here which is not linked, the CSS becomes more involved. Furthermore, adding things like submenus is far from trivial and requires knowledge of JavaScript and avoiding a number of pitfalls to deal with different browser vendors.
This problem is worth solving because it allows web developers to save time and not have to deal with debugging browser issues. Our library will allow developers to make beautiful-looking text-based navigation bars in just a few seconds and the syntax is designed to be intuitive such that new features take very little time to learn (the content description element) while existing features will be familiar to those who have worked with this before (the formatting elements). It also improves the user experience, as the code we generate will be accessible to users with disabilities and will be designed in such a way that it degrades nicely across browser versions and vendors. Thus we are actually solving two problems at once: a development problem, in which creating well-functioning and nice-looking navigational elements is difficult, and a user interface problem, in which users are often presented with poorly-designed navigational tools.
==Part 2: Study a language that solves a similar problem and describe it in this homework==# One simple code example. Your comments must sufficiently explain the meaning of the code.# Describe the implementation. (Two paragraphs and pseudocode of the implementation.)
There are not currently any languages or libraries that solve this problem. The closest thing to it is an HTML form application that takes in a few parameters and a list of name-link pairs and spits out the HTML, CSS, and JavaScript code to draw the described navigation bar. Although this does allow users to create navigation bars quickly and easily, it has several limitations. The first is the fact that the navigation bar can only be customized using the very limited set of parameters the creators of that program allow you to specify. Our program will give users access to a much broader set of CSS attributes. Secondly, the navigation bar is inconvenient to change down the road; the customer would have to essentially create a new navigation bar from scratch, find the code of the original navigation bar, and replace it. Our program has a file for the navigation bar that can easily be modified, and since the navigation bar is generated dynamically, the changes can take effect immediately.
{ direction: same; marker: dot; }
**Module Owners | /about/owners.html</nowiki></pre>
(Similar to [[Image:mozillanav.png]])
*Design a horizontal navigation bar with drop-down menus
1,277
edits

Navigation menu