MENUS
Once you have learned to create 1 HTML page - you want a way to create links/Menu for the other pages. W3schools.com has lots of great tutorials. They can be found in the top-navigation HowTO under MENU on the Left-Nav.
https://www.w3schools.com/howto
Responsive TopNav - Horizontal navigation becomes ||| 3 bar when screen narrows https://www.w3schools.com/howto/howto_js_topnav_responsive.asp
which does not have a dropdown
if we combine it with the dropdown example https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp that isn't responsive
We get a Responsive TopNav with Dropdown:
Responsive Header - Puts logo and menu on the same horizontal bar https://www.w3schools.com/howto/howto_css_responsive_header.asp as the screen narrows then menu becomes vertical
But don't stop there - scroll down the Left-Navigation for tons of other HowTo's
Menu's can create redundant code
use PHP Includes to solve this
.php file
<!-- By renaming this file to .php instead of .html you can run PHP code -->
<?php include 'menu-JilMac.html'; ?>
<!-- The new menu-Jilmac.html file can be created by using the EXACT lines of code in the program to reduce redundancy -->
<!-- <div class="sidenav">
<ul>
<li><a href="Homes.html">Homes</a></li>
<li><a href="Furniture.html">Furniture</a></li>
<li><a href="deck.html">Deck/Patio</a></li>
<li><a href="">Siding</a></li>
<li><a href="Event+Map.html">Reviews</a></li>
<li><a href="reviewus.html">Review Us</a></li>
</ul>
</div>
-->
menu-JilMac.html
<div class="sidenav">
<ul>
<li><a href="Homes.html">Homes</a></li>
<li><a href="Furniture.html">Furniture</a></li>
<li><a href="deck.html">Deck/Patio</a></li>
<li><a href="">Siding</a></li>
<li><a href="Event+Map.html">Reviews</a></li>
<li><a href="reviewus.html">Review Us</a></li>
</ul>
JilMac reviews & demonstrates several types of Menus that students can use to set up their Web-Page (this is a CIS-1151 Web Dev Refresher)
from JilMac's Web Dev Assign03 Training (now using FLEX class Assignments JilMac explains Menus
These are the Menus from the video: http://jam08260.classweb.ccv.edu/WebDev/Menu/ This ZIP file contains the Menu used in the Adv-WebDev class: http://jam08260.classweb.ccv.edu/AdvWD/Assign02/AdvWebDev-Menu.zip
You can use any of the Menu systems demonstrated or another for your index page. I want you to organize the assignments on a separate page each. The LINK to this page - is all you need to post to Canvas. Unless you have a question or comment. I want all your work to reside on your WebSite. Canvas is for the school - once the class is OVER - you no longer have access to your work. With a website you will have access as long as you are at CCV, plus you can easily zip and download the site. Put your work for Assign01 on an Assig01 page, put your work for Assign02 on an Assign02 page on ClassWeb. And each Assignment after this. This is taking everything you learned from Web Development and moving it to Adv Web Development. Plus you will be adding new PHP & MySQL knowledge. It will take time - be patient with yourself. If you get stuck CALL - we can walk through it together. The faster you learn to ASK questions and APPLY the answer - the faster you progress.
Do these PHP Tutorials: Select 3 code examples for your Before & After examples to upload to ClassWeb & display on your Assign02 webpage
Helpful HINT about ELFileManager: Your can change the THEME in the ELFileManager that may make it work better on Mac Computers (Hint from a Student). Or even Windows. CONFIG button top left chose a different theme ie Moono theme and refresh our page I was able to delete files using an icon on the windows tool bar without right clicking. Then I could set it back to the default theme. Right clicking was making additional copies of files so there ended up being a mess of files in the folders on the sentora server instead of the few that we need for an assignment. It has been overly annoying and this solved it.
it is a great way to get consensus on a Website before you do all the coding
https://artjoker.net/blog/why-is-wireframing-mobile-apps-important
On Google Sites - you can Turn ON the Mobility function
Edit your site in Google > More > Manage Site > scroll down and Check
Mobile Automatically adjust site to mobile phones
Michael's Research
Responsive web Design, Reactive Design, Progressive Enhancement and Mobile First
Over the past years cell phone technology has advanced into smart phones (wireless mini computers) and because we now have faster browsers, advances in programming technologies, smarter and faster operating systems, mobile devices now dominate how people get information today. Tablets (wireless network portable computers) and smart phones, depending on the company, come with different screen sizes. web designers and developers seeking a way to provide an optimal viewing experience no matter the devices screen size have developed a design approach aimed at such. Ethan Marcotte coined the term responsive web design in his book Responsive Web Design.
Responsive Web Design may be referred to as Adaptive, Reactive or Receptive Design. These terms all refer to the way websites display on different size screens. The term Reactive implies that the website reacts to something. In this case, when reactive design is applied to a website, it will react to the screen it’s being viewed upon and change the way the site looks in order to improve the user’s experience and usability.
A web site design using RWD (responsive web design) will have a fluid layout , flexible images and CSS3 media queries targeting specific mobile devices and tablets screen sizes, applying CSS rules accordingly.
Testing web pages can be done on the devices , but accessing all the variety of mobile devices and tablets on the market today is not practical.Testing tools and techniques make it possible to see a web page on different size screens:
1.Resize the browser while writing the CSS.
2.Use free internet browser based tools
3.Down load emulators and simulators for the devices and mobile browsers.
Although Responsive web design is an effective way to use one site design across a variety of devices, it present some limitations. For instance, it relies on CSS, and many mobile devices aren't compatible with CSS media queries, it can slow down load speeds because it does not remove code that may not be needed and downloads full images before resizing for the screen.
Progressive Enhancement
Is not a new approach, it was created 10 years ago by Steve Champeon. The idea is content should be accessible to all devices and browsers. Even browsers capable of accessing basic pages will get a simplified experience, devices and browsers that are more robust will display a more enhanced page. This is done by using the layer model.
Structure = HTML
Style = css
Behavior = Java Scrip
The HTML handles the content,with semantically structured tags and elements. CSS controls the design of the page allowing accurate placement and style of elements.The behavior is controlled by JavaScript or other advanced technologies. Functionality or enhancements to the presentation and behavior of the page, using modern technologies make the web accessible to all browsers enhancing the viewers experience according to the browsers environment.