This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Adding PHP script messes up menu system.
Started 10 years ago by jwr18 | 5 posts |
-
Not quite sure this is happening when I add the PHP script it causes my menu system to display wrong. Not quite sure what's happening or if even you can help. An example can be seen here www.renterlaw.com/contact1.php
there is also a large blue box at the bottom of the form as if the background is bleeding through.
Any suggestions on these two issues would be greatly appreciated. Thank you so much for a wonderful piece of software.
James
Posted 10 years ago # -
Most likely your menu problem is because you are loading jquery twice (you one time and then machform). When you reload jQuery it will re-define window.$ and window.jQuery, clearing all previously loaded plugins.
Posted 10 years ago # -
I removed jquery from the header not sure if I was supposed to do that. Didn't do anything. Menu system is still not formatted correctly. Wondering if it could be something in the CSS on the form conflict in with the CSS of the webpage. I'm just not knowledgeable enough to troubleshoot.
Posted 10 years ago # -
Loading jquery twice is causing your problem. I really can't give you the long explanation here but it is best practice that your menu function even without JavaScript enabled. On your page, if you disable JavaScript, your menu will fail even without machform loaded. On your test page you removed loading of jquery in the head section and you also removed dropotron-1.0.js and init.js. Without those files your menu will not function.
Posted 10 years ago # -
I greatly appreciate your input. I will look more into the JavaScript. That narrows it down so that I can try different things.
JamesPosted 10 years ago #
Reply
You must log in to post.