From | Richmond,Ian |
Date | Thu, 13 May 2004 17:17:07 -0400 |
Subject | [greenstone-users] switching between small and large images in PagedImgPlug |
I am using Greenstone 2.50 with pagedImgPlug
I have been trying to make the second suggested Document Text format example in the pagedImagePlug work, but have had no success; it reloads with the same srcicon image. Here is the original from the PagedImgPlug.pm: # format DocumentText "<center><table width=537><tr><td><a href=/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-sjboddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small>Switch to small version.</a></td></tr><tr><td><a href=/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-sjboddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small title=Switch to small version>[srcicon]</a>'full',<a href='/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-sjboddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small' title='Switch to small version'>[srcicon]</a>,<a href='/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-sjboddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=full' title='Switch to fullsize version'>[screenicon]</a>)</td></tr></table></center> I have "fixed" the 2nd title="Switch to fullsize version' to:title='Switch to fullsize version' and added a closing ) to the second If statement. All I get is the "Switch to small version" showing no matter how many times I click on it.
I am not even quite sure which macro I am referring to with the preferences variable.
|