Ravi, FYI, if you append ?bundle=false to the reference to exhibit-api.js, then you get the unbundled, unobfuscated version of the code, and you would see those abbreviated E,H,C variable names anymore, but more understandable names.
David chandu wrote: > Hi David, > > Thanks for the reply and very sorry for the much delayed response from > me. > > Info at the thread given by you is helpful in continuing the thing I'm > trying to do. > But before that I should learn how to open a bubble in tabular and > thumbnail views. > > As I mentioned earlier I learned that Exhibit.UI.showItemInPopup > (E,H,C._uiContext); in exhibit-bundle.js is opening the bubble in > tabular and thumbnail views but I do not know the input arguments to > showItemInPopup() method except that E is the unique id of the item. > > It would be of great help If you could help me with the input values > of H and C. > > Regards, > Ravi. > > On Jun 12, 9:41 am, David Huynh <[email protected]> wrote: > >> chandu wrote: >> >>> Hi, >>> >>> Any help on this would be greatly appreciated. >>> >>> Let me try to explain the scenario in detail. >>> >>> I need to give previous/next links in the bubble and when clicked on >>> any of the links if previous/next exists then that record's bubble >>> should be popped up. >>> I'm able to do this in timeline in the following way. >>> >>> I got all the items into any array using the following statement >>> >>> exhibit.getDefaultCollection().getRestrictedItems().toArray(); >>> >>> and finding the present item's id in this array to get the next or >>> previous item. After getting the previous/next item id I'm using the >>> following statement to open a new bubble. >>> >>> timeline_obj.getBand(0).showBubbleForEvent(nextPrevItemId); >>> >>> Luckily, the above statement closes the previous bubble and opens up >>> the new bubble. >>> >>> I need to do the same in Thumbnail view and Tabular view also. >>> >>> I found that Exhibit.UI.showItemInPopup(E,H,C._uiContext); in exhibit- >>> bundle.js opens the bubble from tabular view, where E is the item id. >>> But I'm not sure what are H and C. >>> >>> Please help. >>> >>> Thanks in advance, >>> Ravi. >>> >> Ravi, >> >> This sounds just like this thread >> >> http://groups.google.com/group/simile-widgets/browse_thread/thread/99... >> >> Would my suggested solution work for you? >> >> David >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
