Landing : Athabascau University

Unit 6 - Using Libraries - JQuery

Using Libraries

My ideas of using JQuery

I have 3 files that help to add the items to the shopping cart. I will use JQuery to write a single file that deals with all items and the items added depend on the page the user is in, As each item is shown on a different page.

My second use of JQuery would be for the main navigation menu. I have 2 classes used for those links, black and currentpagemenu, in the last units I have been giving the links class names in the HTML file. Now, I want to remove the class attribute from the HTML file and let JQuery assign the classes to those links depending on the current page the user is on.

Finally, the third use of JQuery will be rewriting the file "/javascript/jquery/mycart/mycartjquery.js" with JQuery. I want to do this for two reasons. First, with Jquery the code will be shorter and easy to maintain. Second, I need to practice writing JQuery and to do this I need a file that already exists so that I can compare the functionality of the JQuery file.


These comments are moderated. Your comment will not be visible unless accepted by the content owner.

Only simple HTML formatting is allowed and any hyperlinks will be stripped away. If you need to include a URL then please simply type it so that users can copy and paste it if needed.



Group members: this is the place for your learning diary. Use this to post your zipped-up site at least once each unit, and your reflections as often as you wish (at least once per unit). Please write your reflections directly in the post, not as attached files. Where you do need to attach documents, such as for unit 1 designs, use PDF, PNG or JPG formats. You can attach files using the 'Embed content' link in the editor.

QUICK COURSE LINKS:  Add blog post - Read latest group postsFAQs: Course process : Site design : HTML : CSS : JavaScript : JQuery : AJAX : Misc