can I use a navigation link to open/close content?
-
I’m trying to use this plugin to display varied content on a page. I want to display one div or section of a page upon a navigation link click. I want to mimic a new page, but with the same header and a slider that remains constant. I’ve got the following code to work on my site as a test (see code below). I have “collapse all other content…” set to “yes” so only one div or section displays at a time.
What I’d like to do is somehow hook this functionality up with my navigation on another part of the page so when one uses the navigation links it changes the content of the page. Ideally, I’d like to use images for that navigation.
Any help with this would be greatly appreciated!
[peekaboo name=”top” onhide=”link to top” start=”visible”]
[peekaboo_content name=”top” start=”visible”]
content of top section
[/peekaboo_content][peekaboo name=”middle” onhide=”link to middle” start=”hidden”]
[peekaboo_content name=”middle”]
content of middle section
[/peekaboo_content][peekaboo name=”bottom” onhide=”link to bottom” start=”hidden”]
[peekaboo_content name=”bottom”]
content of bottom section
[/peekaboo_content]
- The topic ‘can I use a navigation link to open/close content?’ is closed to new replies.