Nevermind.  I fixed it.  For anyone who's curious about how I fixed it. 
I had a glass of coffee and smacked the stupid off my face.  I guess in
Exhibit 2.0 it required that the items on the timeline have the ex:start
in there.  I don't know if 1.0 was like this.  But just making sure that
my JSON file has the entry being used fixed it.  Leaving it empty (
"date-original" : "", ) left the items that I didn't want plotted out of
exhibit.

Apologizes for my daft inability to function today :)

+dk

Derek Kinsman
The Idea Company

New Media Designer

http://www.ideacompany.ca/
http://boring.ambitiouslemon.com/
http://nincompoopery.ambitiouslemon.com/

1 416 371 5652



derek | idea company wrote:
> I'm getting "Error adding action {select Timeline view} to history
> TypeError: label has no properties message=label has no properties" in
> my timeline, whilst the rest of exhibit works.  Actually I'm running to
> exhibits side by side both of which are using the same the same html coding.
>
> <!-- Timeline Template w/View -->
>         <div style="width: 400px;" ex:role="view"
>             ex:viewClass="Timeline"
>             ex:start=".date-original"
>             ex:marker=".type-discipline"
>           ex:topBandUnit="month"
>             ex:topBandPixelsPerUnit="400"
>             ex:bottomBandUnit="decade"
>             ex:bottomBandPixelsPerUnit="400"
>             ex:bubbleWidth="200"
>             ex:bubbleHeight="250"
>           ex:configuration="timelineConfig">
>             <div ex:role="exhibit-lens" class="nobelist-timeline-lens">
>                 <a ex:if-exists=".image-zoom" ex:href-content=".image-zoom" 
> target="_blank"><img ex:src-content=".image-thumbnail" /></a>
>                 <div>
>               <span ex:content=".label"></span><br />
>               <span ex:content=".creator"></span><br />
>                 <span ex:content=".type-discipline" 
> class="discipline"></span>, <span ex:content=".date-start"></span><br />
>               <a ex:if-exists=".discussion" ex:href-content=".discussion" 
> target="_blank">View discussion.</a>
>                 </div>
>             </div>
>         </div>
>
> Is producing the error while
>
> <!-- Timeline Template w/View -->
>         <div style="width: 400px;" ex:role="view"
>             ex:viewClass="Timeline"
>             ex:start=".date-original"
>             ex:marker=".type-discipline"
>           ex:topBandUnit="month"
>             ex:topBandPixelsPerUnit="400"
>             ex:bottomBandUnit="decade"
>             ex:bottomBandPixelsPerUnit="400"
>             ex:bubbleWidth="200"
>             ex:bubbleHeight="250"
>           ex:configuration="timelineConfig">
>             <div ex:role="exhibit-lens" class="nobelist-timeline-lens">
>                 <a ex:if-exists=".image-zoom" ex:href-content=".image-zoom" 
> target="_blank"><img ex:src-content=".image-thumbnail" /></a>
>                 <div>
>               <span ex:content=".label"></span><br />
>               <span ex:content=".creator"></span><br />
>                 <span ex:content=".type-discipline" 
> class="discipline"></span>, <span ex:content=".date-original"></span><br />
>               <a ex:if-exists=".image-pdf" 
> ex:href-content=".image-pdf">Download PDF.</a> <a ex:if-exists=".discussion" 
> ex:href-content=".discussion" target="_blank">View discussion.</a>
>                 </div>
>             </div>
>         </div>
>
> is not producing any errors.  I'm not sure if it's because some of my
> data has no "date-original" field (for the purpose of hiding it from the
> timeline).  It will work if i start with an item in the facet browser
> selected but it won't display all the entries.  Actually it won't
> display at all if I have everything viewable and click timeline.  But if
> one is selected and I move into timeline it will display those results
> however when clicking that one result off and allowing exhibit to
> display all the data it errors again.
>
> You can see the broken one at
> http://designr.sheridanc.on.ca/projects.php and the not broken one at
> http://designr.sheridanc.on.ca/documents.php
>
> Thanks.
> +dk
>
>   
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to