ckportfolio.com - AJAX-based Microsite: HTML Menu

AJAX-based Microsite: HTML Menu

HTML Menu

Take a further look at the index.html page, and create a new menu that links to the three pages we created on Cyberduck:

See how these hyperlinks behave, when you open up this file on your browser (ex. http://ocad.ckprototype.com/public/[YOUR FOLDER NAME]/index.html). Upon clicking the first hyperlink, you will be presented with a barren-looking page:

This is not the website behaviour we want. Instead of redirecting the user to this particular page upon click, we instead want to direct the browser to download the content of this file and present it within the current index.html page. This is an example of overriding browser functionality to perform an "AJAX" call using JavaScript / jQuery.

Screencast Recording

https://drive.google.com/open?id=1cJN1ti9KeL4B3S0zAje1AzRT3_AY70Vc

Fin