Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

Forget about the old days where you had to use a crank every now and then to start a car. I really do not want to judge - there was a time when the car battery was not yet invented and thus could not run an electrical starter which was not yet invented either. Therefore using a crank to start a car's motor was the best solution you could get.



The same holds true for image maps within KM.

Huh?? Did I loose you? You do not know what an image map is? OK, let's have a short break right now and have a look at one.





One
Two
Three





Image maps are so sexy and so cute, so fancy and so incredible intuitive that for KM they were a "must have" from the very beginning. But due to many reasons they could not be supported the straight way. One had to put a little salt here and a little pepper there until it showed up at the right place. Not to mention the need for a restart of the servlet engine. Read more about this in the great web log Have you tried creating an image map for navigating a KM repository? by Joy Hirayama. As you can get from there it was quite some effort but it was always worth the effort: people get crazy with image maps soon after video killed the radio star ...




Now for the next generation:
With NW 04/SPS10 now it is possible to have image maps for arbitrary folders just the "straight HTML" way mentioned before.


    • What makes such an image map now work properly within KM?
How can I display my HTML <b>insteadof an arbitrary folder within the KM?
How can I image-map-navigate to a KM folder instead of towards websites One , Two or Three ?

For those already familiar with the configuration of "HTML Collection Renderer for the KM Flexible User Interface" I just give a brief update on what is new with SPS10.


Imagine you have a folder "Numbers" with some subfolders "One", "Two" and "Three" where "Numbers" contains two more files "index.html" and "/wp-content/uploads/2004/11/123_39250.jpg" just for the sake of simpleness:


    1. Numbers

      index.html

      123.jpg

        1. One
        2. Two
        3. Three

Further imagine you already have a "Layout Set" which uses a "HTML Collection Renderer" and takes "index.html" as its source. This Layout Set is already "assigned" to our folder "Numbers".

Our goal now is to let a click on either the links "One", "Two" or "Three" or the numbers 1, 2 or 3 within the picture open the respective folder One, Two or Three.
The index.html to achieve this might look as follows:







For all those who are not yet familiar with HTML Collection Renderers I recommend reading "How to Configure the HTML Collection Renderer for the KM flexible user interface" here within SDN before (you might need to search for it if the link may no longer work).
</p>
2 Comments