Ah,
The timeline is loaded from 'xml/timeline.xml'
It seemed reasonable to me that a relative path to the
icons should start at the path to the main html file,
datavis_demo.html, but the path
icons/green_circle.png
gets interpreted as
xml/icons/green_circle.png
Is this as it is supposed to be or is this a bug?
-Michael
On Sep 18, 12:06 pm, LarryK <[EMAIL PROTECTED]> wrote:
> Hi Michael,
>
> Most probably the url references for the icons aren't where the icons
> really are.
>
> Best way to solve the problem is to
> a) Use firefox browser
> b) Install firebug debugger into it
> c) Open your html page with the timeline
> d) open the debugger and click the 'Net' tab. You may need to enable
> it, then reload the page
> e) The Net tab will show you the pages your html file tried to
> download but couldn't. Look for your icon files in the list. They'll
> probably be in red indicating that the url in the event file was
> wrong. (Or that the icon file was not available where it was supposed
> to be.)
>
> Good luck,
>
> Larry
>
> On Sep 18, 10:09 am, Michael Friendly <[EMAIL PROTECTED]>
> wrote:
>
> > Hi
> > I want to use different colored icons for events of different type in
> > a timeline. I coded this in the icon=""
> > property of each event, like
>
> > <event start="-0550" title="1st world map?" icon="icons/red-
> > circle.png" >
> > Anaximander of Miletus (c.610BC-546BC)-- Turkey. The first world map?
> > (No extant copies, but described in books II and IV of Herodotus'
> > ``Histories'' \cite{Robinson:1968}
> > </event>
> > <event start="-0366" end="-335" isDuration="true" title="1st route
> > map" icon="icons/red-circle.png" >
> > Unknown -- Italy. The first route map (``carte routière''),
> > showing the whole of the Roman world, a map from Vienna, through
> > Italy, to Carthage; painted on parchment, 34 cm. high, by 7 m. in
> > length. (Named the table of Peutinger, after a 16th century German
> > collector.)
> > </event>
> > <event start="-0240" title="Diameter of earth measured" icon="icons/
> > blue-circle.png" >
> > Eratosthenes (276BC-194BC)-- Libya. Calculation of the diameter of
> > the earth by measuring noontime shadows at sites 800 km. apart
> > </event>
>
> > But, in my test timeline,
> > athttp://euclid.psych.yorku.ca/SCS/Gallery/milestone/Private/timeline/d...
>
> > There are *no* icons, unless the icon=".." property is missing.
> > What's wrong here?
>
> > thanks
> > -Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---