Tagged: andy
-
AuthorPosts
-
March 23, 2016 at 9:52 pm #602800
Hello,
I’d like to link the content of an accordion tab from other part of the page. If I enter the id as an anchor, clicking on the anchor scrolls to the supposed position of the tab, but it is hidden. How can I manage to both open the accordion and scroll to that position by clicking a link?
Thanks in advance :)
March 24, 2016 at 5:32 pm #603271Hey borkosavic!
You can refer to this post – http://kriesi.at/documentation/enfold/custom-tab-and-toggle-ids-for-prettier-url-hashes/ and enable custom ID field for your element and add your link to your tab as following
yourdomain.com/your-page/#your-tabCheers!
YigitMarch 29, 2016 at 6:26 pm #604728There is some kind of problem, if i link it externally (from other page) it works fine, but when I click the link on the same page – it doesnt
March 30, 2016 at 7:46 pm #605405Hi!
You are using an old version of the theme, so please upgrade to Enfold 3.5.1 and let us know if you still need help afterwards.
Also try to deactivate all plugins, to check if one is causing this.
Regards,
AndyApril 1, 2016 at 2:03 am #606424I think I found out the problem… but still no solution :)
Turned off all plugins – no luck
Updated theme – update overridden solution to previous question I asked, but clicking the link did open the accordion and scroll to its content. After changing that line of code, tooltips still didn’t show so I searched and came up with this topic. When I changed those 2 lines of code – tooltips started working, but clicking the link stopped toggling the accordion open and scrolling to content.Is it possible to have both? :)
April 1, 2016 at 9:39 am #606556Hey!
Right click and view the source of the according tab you can view 2 ID’sdata-fake-id=”#toggle-id-24″andid=”toggle-id-34-container”Take the one that say’s ID and link it to the end of the according link as mentioned below and it will automatically open and scroll to the link. Please check private content for the link…Sorry my bad the above works only when the according is already open.
When the according is closed it won’t have the active class and the content won’t be visible to the browser to scroll to the correct position.
To achieve this you need a lot of custom jQuery which will do the following
1. Check the #ID’s on every link that is clicked
2. Check if #ID exist in according tabs
3. Scroll to position and trigger a click on parent tab of the #IDThis may look simple but you need a lot of customisation and it takes a lot of time to achieve this we recommend to hire a freelancer to do this job.
We couldn’t find any issues with hotspot tooltip open on click.
Best regards,
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
-
AuthorPosts
- You must be logged in to reply to this topic.