Results 1 to 3 of 3

Thread: disclosure triangles

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default disclosure triangles

    Anyone have code for creating hiding/revealing divs using disclosure triangles?

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are a number of javascripts for doing that (displaying/not displaying content). I don't think it can be done using only css. The use of disclosure triangles, if I understand what you mean by that, would simply involve adapting one of these scripts that uses indicators (many use the plus (+) and minus (-) symbols) to use these triangles. If there isn't a character available for them that will work well in HTML, you can use images instead. If using images, best to preload them.

    Here is a script that might adapt well:

    http://www.dynamicdrive.com/dynamici...chcontent2.htm

    Here is another:

    http://www.dynamicdrive.com/dynamici...tchcontent.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thanks

    Thanks for the links; I suppose I'll use javascript then. It seems like it's almost possible w/CSS, but I couldn't figure out how to get everything to work.

    Thanks again

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
  •