Saturday, May 19, 2012

Test of awld.js

I am trying to install awld.js on this blog. If it worked this link to Wikipedia will have a popup if you hover over it: http://en.wikipedia.org/wiki/African_red_slip.

Here's a link to Pleiades: http://pleiades.stoa.org/places/648772

I may delete this post after publication.

...

It seems to be working but I need to do some work to isolate the awld.js css from the blogger css. That counts as a detail.

Still playing... Corinth.

5 comments:

John Muccigrosso said...

Pop-up shows a scroll bar for me, but I can't get to it, as moving the cursor off the link makes the pop-up go away!

John Muccigrosso said...

Ooh, if I carefully mouse up across the little arrow on the pop-up, I can prevent its disappearance.

Sebastian Heath said...

Yeah, it's hard to get right. By which I mean that 1) right now it's hard as a user to get the popup to stay popped as you move the mouse into it, and 2) it's hard as a developer to tweak the thing so it's usable without getting in the way. In an earlier version, it was a pain to get rid of the popups. Probably some form of user choice about how they should behave is best. That's on the list...

John Muccigrosso said...

Another little thing: the page that comes up in Pleiades when you search for a site has some stuff after the ID #:

http://pleiades.stoa.org/places/413380/?searchterm=vicus%20martis*

for example. This confuses awld, though it does throw up something.

Sebastian Heath said...

John, Yes, I need to tighten up the pattern for Pleiades URIs that awld.js recognizes. The canonical Pleiades URI for "Vicus Martis" is http://pleiades.stoa.org/places/413380 (no trailing slash). Getting highly technical (though with imprecise language) you'll see that there is the intrusion of the RDF '#this" version into the html page, but I go with the URI given in the Suggested Citation.
To the extent that awld.js is trying to encourage "good linking", I think I'll set it up to ignore URIs with the '?searchTerm...' chars. But it seems harsh to ignore links with the trailing slash, though I'm tempted to do that as well.