|
Allwebco Design Corporation - Add-On |
Home |
|
[ Allwebco Design ] [ Allwebco Hosting ] |
jQuery Floating Menu This script is provided free for any type of website project. Support is not included. Note: Always make backup files and test after each edit before you go to another edit. You can always delete your backups later. View support for this addon STEP 1.) Copy Files Copy the "floating-j-menu" folder into your website folder. Files should stay inside this folder. Copy the "help-floating-menu.html" into your website folder. Open the "help-floating-menu.html" and go to the next step. STEP 2.) Test Open the "help-floating-menu.html" (this page) in your website folder. You should see the floating menu on the left side of this page. If you scroll, the menu should move with the page. If it's not working, re-do the step above. STEP 3.) Add </head> Code Select, copy and paste the following 3 lines of code into the "head" of your existing webpage(s) that you want the floating menu on. Put the code just before the </head> near the top of the page. Make backups of your webpages before you start. Important: The first line below is the jQuery library file. If your HTML pages already have a similar line in the </head> section, do not add this line (the version number may vary) and only add the 2nd and 3rd line. Check each page you add the menu to and do not use duplicate jQuery library file lines. Note: This menu works with other versions like "jquery-1.8.2.min.js". STEP 4.) Add Menu Select, copy and paste the following line of code into your existing webpage(s). This code should go near the bottom of your HTML page. Add this just above the footer section of your webpages or just after the text content in your pages. The exact placement is not important. STEP 5.) Test Test the webpage you added the floating menu to in a web browser. The menu should be visible and float down as your scroll down on the page. STEP 6.) Edit CSS Menu Location Edit the "floating-j-menu.css" in the "floating-j-menu" folder.
STEP 7.) Edit Icons & Links Edit the "floating-j-menu.js" in the "floating-j-menu" folder. Do not edit the other 2 .js files.
OPTIONS COLORS: | More details Edit the "floating-j-menu.css" to change the background color or add a border. ICONS HIDING ON MOBILE: Media queries code is included at the bottom of the "floating-j-menu.css". The breakpoint is set at 482 pixels. At this point the floating menu will hide. You can change the 482 to any number to set your own breakpoint. Edit the 482 in 4 total places. Optionally change the display: none; to display: block; to unhide the menu. ADDING MORE ICONS: See the note in the "floating-j-menu.js" to copy and paste the last button line to add a new button. Edit the new button with your icon image and link. MORE OPTIONS: See floating jQuery menu. TROUBLESHOOTING If you do the steps above and floating menu is not working:
Best of luck with your new add-on and your website! ~Allwebco Design~ COPYRIGHT © Allwebco Design Corporation Unauthorized use or sale of this script is strictly prohibited by law. You are authorized to use this on any Allwebco template, website or any template from another company for business or personal use. You are also authorized to modify all included files. View terms of use. |