You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do this, but it gives an error because of the DIV and it cannot find the anchor tag. Any way to change the trigger so it's triggered by the anchor tag inside of the div? I actually need this structure because I'll be adding a lot of other content inside the DIV and I need a second nested element to offset it (the LI in this case).
Thanks,
Boyan
The text was updated successfully, but these errors were encountered:
however I'm guessing that you have found that the defaultTab just plain won't work right. The tab needs to be the top level li as far as easytabs is concerned. It works fine if you visit a page with a hash for the tab you wan't but not if you use a plain URL. The easiest way I found to work around that is to give the div just above the anchor tag a class of "default" and make that the defaultTab: when calling easytabs. If you can't do that I'm at a bit of a loss since the usual "li:first-child" (or in our case "div:first-child") won't work due to the way the defaultTab is assigned if one does not exist.
That is, if I have guessed correctly at what you are trying to accomplish. Just call easytabs with something like,
Hello,
Is it possible to set the plugin so it works with the following structure of the tabs:
I'm trying to do this, but it gives an error because of the DIV and it cannot find the anchor tag. Any way to change the trigger so it's triggered by the anchor tag inside of the div? I actually need this structure because I'll be adding a lot of other content inside the DIV and I need a second nested element to offset it (the LI in this case).
Thanks,
Boyan
The text was updated successfully, but these errors were encountered: