Hi Jeff,

I did mean

    <div><span ex:if-exists=".related">See
       <b ex:content=".related"></b>
    </span></div>

(although I made a mistake and wrote </a> instead of </b>). If you try 
that, you'd be able to click on each link and get a pop up showing that 
item. But is that what you meant by "bad link"? I admit not entirely 
understanding what you mean.

Here is another possible solution to try:

    <div><span ex:if-exists=".related">See
       <b ex:content=".related"><a ex:href-subcontent="#{{value}}" 
target="_blank" ex:content="value"></a></b>
    </span></div>

David

Jeff Spitzer wrote:
> David,
>
> I think you meant
>
>     <div><span ex:if-exists=".related">See
>        <a ex:content=".related"><b ex:content=".related"> </b></a>
>     </span></div>
>
> which is just to use
>         ex:content
> instead of
>         ex:href-content
> (which is what I had).
>
> Indeed, that got rid of the problem of the word "and" being a bad 
> link, but now the links themselves are breaking. Properties that are 
> not under ".related" for a particular label are showing up, and the 
> word "and" is showing up unpredictably.
>
> Take a look at 
> http://jeffrey.spitzer.net/exhibit/jhexhibitbrokenlinks.html
>
> I modified the code as you suggested in the tabular view but not in 
> tile view.
> Select the facets type:period, importance:2, and Period:Biblical, and 
> flip back and forth between tabular and tile and you'll see that 
> tabular doesn't have "and" as a bad link, but it has all kinds of 
> incorrect links. The correct links are in tile-view.
>
> Jeff
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to