This is my XML example. When you click the button, it loads the XML document, looks for each
I think this is a good example because it is simple but clearly shows XML data being dynamically loaded into a page.
I like this example as it has a nice design, is quite simple and makes something fun. The burger is just data and boxes but it looks pretty cool at the end of it all.
Unfortunately, the remote site no longer exists so this example does not work.
I feel this is a good example as, not only does it work, but it shows that data can interact with Canvas.
Snippets of code from other websites have been linked to in code comments.
- Burger King Restaurants Launch Whopper Wi-Fi | AT&T (no date). Available at: http://about.att.com/story/burger_king_restaurants_launch_whopper_wifi.html (Accessed: 24 March 2015).
- doginabathtub, bhrossman, Tryxster, RedSquaree, UltimateOreo, heavyfuel, AutoModerator, Jobeanie123, malkovichjohn, TheOneInTheHat, skepticalDragon, Ghost_Shadow, ksaxton92, Phoenixfight, Kinkzoz, ryzellon, kbean826, deterredhumbrubric, zenCbot, JillH1995 and Quiwundi (no date) Burger King’s WiFi symbol is a burger • /r/mildlyinteresting. reddit. Available at: http://www.reddit.com/r/mildlyinteresting/comments/2tgc5a/burger_kings_wifi_symbol_is_a_burger/ (Accessed: 24 March 2015).
- Way, J. (no date) ‘Quick Tip: Use jQuery to Retrieve Data From an XML File - Tuts+ Code Tutorial’. Code Tuts+. Available at: http://code.tutsplus.com/tutorials/quick-tip-use-jquery-to-retrieve-data-from-an-xml-file--net-390 (Accessed: 24 March 2015).
- (no date a). HTML Image Color Picker. Available at: http://imagecolorpicker.com/ (Accessed: 24 March 2015).
- (no date b). Available at: https://css-tricks.com/absolute-positioning-inside-relative-positioning/ (Accessed: 24 March 2015).