In this link a person mention this hack:
Hack, but it is correct with HTML . If JS is enabled then comment start control tag is printed into page – then second start tag is ignored and ending tag closes commented content. So if JS is enabled link tag will be commented out and not downloaded at all.
My question is can i use this hack for embedding external Css if js is disabled, in my theme which i’m creating for themesforest?
problem here is that, the ul list overflowing right hand side, is not specific. It may be 2nd, 3rd or 4th ul list, according to top level links distance from window folding. i want to chk if the width of ul list which is going to appear is more than , remaining visible space in window, ul list should appear on left hand side of its parent list. how can i do this?
ps. sorry for my bad english, hope u will understand.
Hi, I have 3 level menu. I want the sub menus to be open in left direction instead of right. Because the menu is in top right corner of the website, and when submenu are displayed. They goes outside the website window and browser shows the scroll bar, which doesnt look nice.
I hope, u guys understand what i m trying to say.
Please take a look at the screenshot to get the exact idea. http://i48.tinypic.com/2sa1dv9.jpg
Problem solved by only addition of a container div. chk this: http://stackoverflow.com/questions/4627157/jquery-hover-flickering-issue
Hi, Hope u people will be fine.I have a problem with jquery hover animation. Here is my basic code:
in this demo u can see when we hover on div with id=”container”, a div with class=”nav” fades in. But the problem is that after doing this if i hover on div with class=”nav” the div fades out and in again, and if i mover cursor slightly within .nav div, it repeats this behavior repeatedly. I don’t want to this behaviour when we hover on .nav div or mover cursor within this div.
Thank, and sorry for my bad english.
@valendesigns: Hi valendesigns you rock, Its awesome. Its working fine if is activate it as a plugin. However if i directly include this plugin in my theme its giving error something like this:
Failed to open stream: Invalid argument in C:\wamp\www\wordpress\wp-content\themes\default\lib\admin\option-tree\classes\class.admin.php on line 372
@SplitV: thanks SplitV for usefull reply, as far as first problem is concerned it has been solved with your method.
About 2nd problem,being a newbie i want to ask how to apply has() function in my given jquery code to apply toggle function or in other words disable link only on those links which have some nested ul?
Hi, hope u people will be fine. I am facing a problem. I have a 3-level ul (unordered list) with the a structure like this: http://pastebin.com/nEJepwmv . After it i’m using this jquery code to apply toggle effect on this list, http://pastebin.com/brsVJnZX .
Now the problem is this …...
1) When i expand second level ul by clicking on ist level li item it expands third level ul also which is of the same class “child”. Whereas i want to expand only second level ul when i click on 1st level li item and then expand third level ul only if i click on any second level li item.
2) The jquery code given above disable all links on all li item irrespective of its level, it is good because without this toggle effect will be useless. but i want to disable links only on those li items which has further nested ul otherwise link should be working. How can i achieve this effect.
Hope u people will understand, waiting for replies ….