Not Solved Expander
#12
Not Solved
(2011-01-27, 04:02 AM)steven1022 Wrote:
(2010-12-08, 11:05 PM)- G33K - Wrote: Assuming you're using templates:

The image:
<img src="{$theme['imgdir']}/{$expcolimage}" id="UNIQUEID_img" class="expander" alt="" title="" />

The div/table to hide/show:
<div id="UNIQUEID_e">

Notes:
- The image must have the expander class
- UNIQUEID must be completely unique and not used elsewhere on the page
- $expcolimage must be defined in your code based on whether its collapsed or expanded, otherwise it will not work or will show incorrect image for the collapse/expand. If you can't do that then just use collapse.gif but keep in mind that the image might become incorrect if page is refreshed.


How would one go about defining in your code to use expcolimage?

I have tried both methods in this thread has anyone ever successfully made a custom box that worked and saved the collapse?

I have tried both methods in this thread has anyone ever successfully made a custom box that worked and saved the collapse?

It does work if used correctly. Maybe you can post your code here (or in PM) so we can look at how you're using it and give you pointers.
Reply


Messages In This Thread
Expander - by ~Rs - 2010-12-06, 04:31 PM
RE: Expander - by Firestryke31 - 2010-12-06, 06:12 PM
RE: Expander - by ~Rs - 2010-12-06, 08:42 PM
RE: Expander - by Firestryke31 - 2010-12-07, 06:25 PM
RE: Expander - by ~Rs - 2010-12-08, 05:57 PM
RE: Expander - by Firestryke31 - 2010-12-08, 07:03 PM
RE: Expander - by ~Rs - 2010-12-08, 07:26 PM
RE: Expander - by Firestryke31 - 2010-12-08, 10:25 PM
RE: Expander - by - G33K - - 2010-12-08, 11:05 PM
RE: Expander - by ~Rs - 2010-12-08, 11:26 PM
RE: Expander - by steven1022 - 2011-01-27, 04:02 AM
RE: Expander - by - G33K - - 2011-01-27, 09:57 AM
RE: Expander - by steven1022 - 2011-01-29, 11:02 PM
RE: Expander - by - G33K - - 2011-01-31, 11:27 AM
RE: Expander - by steven1022 - 2011-01-31, 07:33 PM
RE: Expander - by - G33K - - 2011-02-01, 12:50 AM
RE: Expander - by steven1022 - 2011-02-01, 11:51 PM
RE: Expander - by Shadowsword - 2011-02-24, 07:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)