Indexhibit

Login:

Created by:
Daniel Eatock &
Jeffery Vaska

Built with Indexhibit

2 questions: slideshow with nav thumbnails/collapsible text

 

Indexhibit version: 2.0
Thread is not resolved.

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

Hello, I just installed Indexhibit 2 and the Slideshow Beta exhibit. I have a couple questions, expanding on a thread (indexhibit.org/forum/thread/17612/) someone posted earlier.

1. I also like the use of slideshow as here:
matteomusci.com/…

and am wondering how one gets the navigation to appear as thumbnails of the images below the slideshow itself as in the example above?

My second question is.... I also like the use of collapsible/expandable text here:
hratcharbach.com/syfl/over-the-cliff/

It says that this site is doing this using visual index and permalinks. However, I still can't figure out how it makes the text expand and collapse.

Any help in these areas will be much appreciated. Thank you !

arsondpi
GREECE
1 year(s) ago
Permalink Post

1. just wait for the slideshow format! It's coming and it's got lots of goodies that come with it... ;-)

2. Just activate the Indexpand plugin from Admin->Plugins->Enable and then check the Options.

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

Thank you - I'll wait for the slideshow format then... ! it sounds good :>

I activated the Indexpand plugin... This affects the menu area only though, I notice. Is there any way to activate the expand/collapse feature on a block of text that is part of an exhibit?

I realize this may be more complicated than a simple adjustment, but thank you if you are able to suggest anything...!

I appreciate it :)

arsondpi
GREECE
1 year(s) ago
Permalink Post

you can use js to toggle text with a button I guess. Although you could also and attach a script and take advantage of the Indexpand plugin.

lanourrice
FRANCE
1 year(s) ago
Permalink Post

hello,

have the same preocupation and exploring the web to find some clues I found this page (thanks to Pauline Curtis for sharing !) which may be useful :
pcurtis.com/…

Next step is find out how to link this js with the block of text you want to expand. Here again P Curtis gives indications you may adapt.

arsondpi
GREECE
1 year(s) ago
Permalink Post

Ok. First you need to do some research: google.gr/

Then you have to customize the formats that you're using, add a toggle button (a switch) and wrap the text in a div.
Hope this gives you a headstart.

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

I think I figured it out... !

In case someone else is interested, here is what I did:

I went & took coding script from here:
papermashup.com/simple-jquery-showhide-div/

on how to make a collapsible div using jquery. I placed the javascript code in the head section of the index.php for the default template.

I placed the code for the css styling in style.css. I adjusted div width, etc.

Then I placed the code for the html for the div - the part where you input your actual text - in the text box of the exhibit edit screen itself.

So far, it is working... :) Thanks for the tips on this thread, everyone!

xikki
CROATIA
1 year(s) ago
Permalink Post

hi
used the code fourmac suggested, and it basically works fine, but it messes with the indexpand plugin. if i put the javascript code in my index.php, the indexpand doesn't work anymore. anyone has any suggestions on how to fix that?

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

unfortunately, i am having the same problem as xikki above - just realized.

it seems to also affect the functionality inside other exhibits - i.e. trying to run slideshow or grow on visual index; they won't work correctly. i would welcome any insights on how to adjust this...

thanks !

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

ok - i may've found a solution, but i have no idea why this works...

  1. i took the javascript code that i had placed in the index.php file, and i moved it to go BEFORE the script in the head section that says <last:page:meta />. 

for whatever reasons, that made the indexpand plugin and other exhibit features functional again....

i notice that the collapsible div text block works better with some exhibit formats than others... in documenta and horizontal, the text block gets overlapped by the exhibit images. i am guessing there is some way to adjust margin or float to help with this... but it still works nicely for instance with other exhibit formats like slideshow, visual index, and over-and-over.

fourmac
UNITED STATES
1 year(s) ago
Permalink Post

oops - did not mean to format that entire line above as code...

 

This thread has been closed, thank you.