Menus are great, but don't work. Are these only for use with a certain product?
September 12, 2018 at 22:55 #8341
I’ve even tried the menu in a plain HTML page, with no other content, same (non-)results.
I see references here to JQuery. My site is a plain-vanilla site on a shared hosting plan. I write code using Notepad and Notepad++. Are these scripts only for use with a certain hosting service or something?
I’m not expecting debugging, but it will help to know if I’m chasing down a blind alley.September 12, 2018 at 23:40 #8342
UPDATE: When in doubt read the instructions. (What I had thought was this site’s main page turned out not to be.) I have downloaded and expanded the smartmenus-1.1.0 file, but have NO idea what do do with it. Do I simply upload the files and folders to my server and then the code works? Or do I have to use them in combination with a site design program?
I’ve uploaded the files (probably more of them than needed) to my server’s root folder, and I see results, but the menu is still broken. Sorry, although I’ve written in HTML, CSS and PHP for many years, and I understand about including files and libraries, I’m not a professional programmer, and the very concept of this JSCRIPT stuff is new to me. I suspect the problem is in what code I’m using (or not using) to access the external files.September 13, 2018 at 16:24 #8343
FURTHER UPDATE: I discovered that some files didn’t get moved from my SmartMenus download folder to the project folder, or not from there to the server. Partly that was because they had varying dates, so FileZilla buried them among my other files, but mainly it’s because of confusion as to what files are needed. In addition to having to correctly install the jquery file(s), the two files mentioned in the code need to be installed, of course. I’ll try installing every file I can find, into the site’s root folder and report back. After installing some of them, the menu has improved. It’s now a proper menu, except that the dropdowns do not appear on hover.
Further complicating my understanding is that the demo (which works fine) has bootstrap… files in its root folder, but I see no such files in the distribution file I downloaded (except in the demo folder).
While I’m at it, although I realize that your core readers are experienced programmers so probably won’t be confused, it would help us novices a lot if your quickstart instructons were a bit more explicit. For example,
“The script is initialized like any other jQuery plugin:”
Most helpful would be a specific list, in one place of which files must be on the server, and where to find them. My inclination, if I were you, would be to put them all in one download folder, in whatever tree structure will be needed, and include a Readme.txt file that explains this. I’m afraid your “quick setup” page does not explain it all, and if the Options must be understood, it is hardly “quick.”
Pressing on. Will let you know when it works. Hopefully I will remember how.September 17, 2018 at 19:50 #8345
Success! First, I resorted to using the code from your demo page, replacing your content with mine. That worked, except that your demo page had a different version of the menu, and my further adaptation didn’t work — no drop downs.
Thanks. Now for the tweaking.
- You must be logged in to reply to this topic.