Results 1 to 2 of 2

Thread: Switch Content Script

  1. #1
    Join Date
    May 2005
    Location
    Toronto
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content Script

    Switch Content Script

    I've used this script mainly for the Legend menu (on the right side) so far. And it works great.

    Now I'm trying to build in the poetry section.

    Where the Legend menu switches the content into-- I'd like to have my alphabet index (Aa - Zz) constantly be shown, except when someone hits another content switch (say they hit the Legend's c.f.a.q. link). Which then switches out the alphabet index for the new content, but when they hit clear, to revert back to the alphabet index.

    How is this possible?

    Working Draft of my problem.

    I've tried adding
    Code:
    onload="expandcontent(this, 'swpoe0')"
    but it won't work... any suggestions or help, appreatiated.

    Basically I want the 'swpoe0' to be the default shown.
    Last edited by Crea; 05-27-2005 at 02:28 PM.

  2. #2
    Join Date
    May 2005
    Location
    Toronto
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    grrr... i knew it would be a simple answer..

    Should have worn my glasses 'cause I forgot about adding style="display:block" to the id sc and class contentswitch.

    So... nevermind.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •