WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] script.aculo.us toggle in page (2 posts)

  1. thefikus
    Member
    Posted 6 years ago #

    I want to have a list of my projects and activities tand when they are clicked on I want a description to appear below (moving all the other information on the page lower). My research led me to attempting to use the script-aculo.us toggle and appear feature on a page and so far have been unsuccessful. Here is the code I am using to call the scripts:

    <a href="javascript:Effect.toggle('hidden_div','appear');"><strong>Upper Great Lakes Improv Festival</strong></a>
    <p id="hidden_div" style="display: none"> I served as the honorary chairperson of the 2006 U.G.L.I. fest. </p>

    I have script.aculo.us and prototype installed. Any other way to do this that could be recommended or any errors in my code?

    I read in the codex that to use javascript in a post or page you need to tweak the code, but I don't know how to go about doing that with this. Any ideas?

    Thanks in advance for any advice, suggestions or best of all solutions.

  2. thefikus
    Member
    Posted 6 years ago #

    The problem was with my theme.

Topic Closed

This topic has been closed to new replies.

About this Topic