I've always been amazed at the amount of helpful people here, so I decided to ask a question of my own! I searched for a solid 15 minutes (all the way back to 2003) and didn't find anything that answered this question. Some got close, but when I tried them myself, I couldn't get it to work in the fasion I'm after. (I also checked the FAQs.)
What I want to do seems like it should be rather simple, I just don't know enough code to do it. (I'm not a n00b when it comes to Javascript/CSS/HTML; however I'm certainly not a programmer!) I have a javascript menu that works perfectly. (Tigra Menu Gold v2.6) If you're not familiar with it, check it out here:
I have it setup so that it works within a TD cell. (That way it centers with the page and such.) When I was using the free version, it simply overlayed the javascript menu wherever you asked it to. By doing this, I could have a regular HTML menu behind it in case someone didn't have javascript enabled. It worked well. With the new version, it becomes an object on the page and inserts itself into the HTML page. So now if I have a HTML menu, it goes above it, below it, beside it, etc - not OVERTOP of it.
What I'm trying to do is find a javascript that will hide that HTML menu. Reason: I figured if the user had javascript enabled, this magical javascript would hide the plain old HTML menu and the Tigra Menu would display as usual. However, if they had javascript disabled, nothing would happen - the script to hide the HTML menu wouldn't run and the Tigra Menu wouldn't run. Make sense? (I hope.)
The regular menu is nothing fancy. CSS takes care of all formatting... the HTML is just your basic stuff like:
I'm looking for a javascript (container?) that would *NOT* allow the code to be written if executed, or simply let the code be if javascript isn't enabled/run. If anyone would like more info or examples of the current state, let me know and I'll whip something up to post. Thanks in advance for your excellent help! I appreciate the time and effort.
--
Peace. ~G
What I want to do seems like it should be rather simple, I just don't know enough code to do it. (I'm not a n00b when it comes to Javascript/CSS/HTML; however I'm certainly not a programmer!) I have a javascript menu that works perfectly. (Tigra Menu Gold v2.6) If you're not familiar with it, check it out here:
I have it setup so that it works within a TD cell. (That way it centers with the page and such.) When I was using the free version, it simply overlayed the javascript menu wherever you asked it to. By doing this, I could have a regular HTML menu behind it in case someone didn't have javascript enabled. It worked well. With the new version, it becomes an object on the page and inserts itself into the HTML page. So now if I have a HTML menu, it goes above it, below it, beside it, etc - not OVERTOP of it.
What I'm trying to do is find a javascript that will hide that HTML menu. Reason: I figured if the user had javascript enabled, this magical javascript would hide the plain old HTML menu and the Tigra Menu would display as usual. However, if they had javascript disabled, nothing would happen - the script to hide the HTML menu wouldn't run and the Tigra Menu wouldn't run. Make sense? (I hope.)
The regular menu is nothing fancy. CSS takes care of all formatting... the HTML is just your basic stuff like:
Code:
<a href="home.html">Home</a> | <a href="contact.html">Contact us</a> | <a href="stuff.html">More stuff</a>
I'm looking for a javascript (container?) that would *NOT* allow the code to be written if executed, or simply let the code be if javascript isn't enabled/run. If anyone would like more info or examples of the current state, let me know and I'll whip something up to post. Thanks in advance for your excellent help! I appreciate the time and effort.
--
Peace. ~G