[VUFIND-426] Javascript-based tabs on record view Created: 28/Jul/11  Updated: 06/Apr/16  Resolved: 30/Sep/15

Status: Resolved
Project: VuFind®
Components: Record
Affects versions: None
Fix versions: 3.0

Type: Improvement Priority: Trivial
Reporter: Demian Katz Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: AJAX
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File jstabs-blueprint.patch    

 Description   
Currently, clicking tabs on the record view causes a full-page reload. We should maintain this functionality for the benefit of non-Javascript users, but it would be nice to add a Javascript-based tab refresh for more convenient behavior in browsers that support it.

 Comments   
Comment by Demian Katz [ 02/Sep/11 ]
The attached patch (developed by Tuan Nguyen) adds Javascript tabs to the blueprint theme. Comments are welcome.
Comment by Demian Katz [ 12/Sep/11 ]
The patch has been updated (again thanks to Tuan) -- now the title updates along with the tab switching. Work still needs to be done for better non-JS functionality.
Comment by Eoghan Ó Carragáin [ 13/Sep/11 ]
This looks great. Is it possible to update the URL in the address bar (e.g. http://mydomain.com/Record/123540#Description), so that users can copy & paste the URL and be brought to the correct tab when they follow the copied link again later?

Thanks!
Eoghan
Comment by Chris Hallberg [ 25/Sep/13 ]
You can't change the URL bar before a # symbol. You can change that last part though, so #Description could be changed to #Holdings. Is that enough to redirect correctly?
Comment by Demian Katz [ 26/Sep/13 ]
At the moment, putting the tab name in as an anchor won't do anything -- we would need to add code to process that.
Comment by Chris Hallberg [ 30/Sep/15 ]
https://github.com/vufind-org/vufind/commit/188c0524f54ce30e25fbe41517962009bc134b89
Generated at Thu Apr 25 01:39:15 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100251-rev:2d0d695520e7095763476433152508933e579798.