|
Ok I understand how that side works now. Thanks
I right clicked my page and saved it to a folder on my desktop and the file size of the html code is 70.4kb.
I then removed my categories menu and checked the size and this time is was 40kb.
Obviously the menu has to be condensed somehow. I have copied it from ebays menu and removed a load that were not relevant, but still it used just under half the size of the resulting HTML code that the browser gets.
My category menu is very much like ebay and opens up the sub menu when the main category is clicked. a lot of JS to perform that. Had someone code this for me some time ago. But now it seems that it is too large for what I need it to do. I think it is only good for smaller menus.
What other (methods/example site) could I use apart from having the page refresh each time the menu is clicked, so it then shows the sub categories.
I am wanting to have the site downgrade for visitors that choose to turn off JS. So looking for very little JS and if it is needed allow the page to downgrade without losing the usability of the site.
|