improvements to the embed code

15 views
Skip to first unread message

Jason Priem

unread,
Jul 27, 2012, 2:24:47 AM7/27/12
to total-...@googlegroups.com
Hey all, 
Thanks to some really useful feedback (and code!) from Mark Wood, we've made several improvements to the embed widget:
  • Better encapsulation: Doesn't conflict with any jQuery you've got on your page already, and keeps js variables tidily within its own scope. CSS selectors are namespaced and don't interfere with CSS already on you page.
  • Fixed bug causing url ids to fail. 
  • Embed code is much smaller--just three lines. The change should be backwards-compatible with the earlier embed code (although we're still developing actively, so that's not guaranteed until we do the big Bruce release in Sept.) 
As always, let us know if you have any questions or comments. We're thrilled to see the community that's quickly growing around ti, and happy to be involved any way we can.
j

--
Jason Priem
UNC Royster Scholar
School of Information and Library Science
University of North Carolina at Chapel Hill

Hilmar Lapp

unread,
Jul 27, 2012, 1:12:37 PM7/27/12
to total-...@googlegroups.com
Do you have any plans for making a Wordpress-compatible widget? It looks like I can't use this in a Wordpress blog because it strips out the <script/> tag.

-hilmar
-- 
===========================================================
: Hilmar Lapp  -:- Durham, NC -:- informatics.nescent.org :
===========================================================



Jason Priem

unread,
Jul 27, 2012, 2:12:20 PM7/27/12
to total-...@googlegroups.com
We hadn't so far. Adding it to the list, though; thanks.
j
Reply all
Reply to author
Forward
0 new messages