Advertisement:

Author Topic: Click to expend  (Read 8806 times)

Offline Tom

  • Full Member
  • ***
  • Posts: 568
  • Gender: Male
    • Pogo Cheats
Click to expend
« on: September 10, 2003, 05:41:00 PM »
What would the html be to have it so you can click text and have it expand and have more text, then click again so it goes back? (Or even not just text, it can be pictures too.) I believe I have seen things like this done before and have always wondered how it was done.


Thanks  :)

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:Click to expend
« Reply #1 on: September 10, 2003, 05:43:02 PM »
that wouldn't be HTML, more like PHP or javascript... i'll give you a link in a couple of minutes, it's somewhere in my favorites ;-)

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:Click to expend
« Reply #2 on: September 10, 2003, 05:47:14 PM »
here it is... http://www.siteexperts.com/tips/techniques/ts02/index.htm

there's also a link to the javascript version, but i use the PHP version, because it is easier to modify (IMO).

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,142
  • Gender: Male
Re:Click to expend
« Reply #3 on: September 10, 2003, 06:49:37 PM »
Kind of like the additional options?

-[Unknown]

Offline Tom

  • Full Member
  • ***
  • Posts: 568
  • Gender: Male
    • Pogo Cheats
Re:Click to expend
« Reply #4 on: September 10, 2003, 09:22:12 PM »
Kind of like the additional options?

-[Unknown]

Yes, something similar to that would be very good. Thanks Seph|roth, but I'm looking more for something to have it so you click the thing for a semi-long description of the product, not exactly what you linked to.

[Edit: I found what I was looking for. http://javascriptkit.com/script/cut148.shtml  :) ]
« Last Edit: September 10, 2003, 10:16:23 PM by Tom »

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:Click to expend
« Reply #5 on: September 11, 2003, 02:50:09 AM »
Kind of like the additional options?

-[Unknown]

Yes, something similar to that would be very good. Thanks Seph|roth, but I'm looking more for something to have it so you click the thing for a semi-long description of the product, not exactly what you linked to.

[Edit: I found what I was looking for. http://javascriptkit.com/script/cut148.shtml  :) ]
Tom, that one is actually very nice! very easy and you can basically use it for any selector as fas as i can see (tho the script only says it's for headers :P).