On 06/14/2010 05:53 PM, Paul Gazda wrote: > Bummer. Our problem is this. We have a directory list of people in > focused (maximized) mode, and if you click on an entry, it expands that > entry within the list to show detail, and uses an anchor in the clicked > url to put the clicked entry at top of page when it renders. This works > fine in an IChannel, but I can only think of a kludge to accomplish this > in a portlet. Is there a legitimate way for a portlet in focused mode to > do it?
I think the easiest solution is Steve's - a little javascript might solve your problem. Here's a code sample: <ul> <li id="item_1" onClick="window.location='#item_1'"> One </li> <li id="item_2" onClick="window.location='#item_2'"> Two </li> <li id="item_3" onClick="window.location='#item_3'"> Three </li> <li id="item_4" onClick="window.location='#item_4'"> Four </li> <li id="item_5" onClick="window.location='#item_5'"> Five </li> </ul> If you construct your list element IDs with a bit of java/jsp/whatever, it's easy enough to use the same element ID in the window.location instruction. Since you already have a javascript function that expands the region to show extra detail, you could just add the window.location instruction to that existing code. - Aaron -- Aaron Brown ([email protected] | 785-864-0462) University of Kansas Information Services System Design Enterprise System Integration Developer
smime.p7s
Description: S/MIME Cryptographic Signature
