Look at the bottom of the ../api/scripts/source.js file.
Look for a function called fillInfoBubble
Have a look at how it handles the image link code.
You can override this code by putting this in your script after you
have loaded the timeline-api.js
Timeline.DefaultEventSource.Event.prototype.fillInfoBubble =
function(elmt, theme, labeller) {
// put your bubble code here
}
You can also embed HTML code directly into the description which is a
quicker and nastier way to do it.
You'll need to escape all the <> tag ends as < and >
On Dec 14 2008, 2:11 am, Eric Pugh <[email protected]>
wrote:
> Hi,
>
> I am using the ex:src-content to pull in various images for my
> timeline. I am passing as part of the json data the height and width
> of the images, how can I get those parameters into my timeline?
>
> I thought maybe something like:
>
> <img ex:src-content=".imageURL" ex:height-content=".imageHeight"
> ex:width-content=".imageWidth"/>
>
> Most of my images are 200 x 200, but some are much bigger and I need
> to use a 50% width/height in some places...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---