An Unparalleled Student Experience
Life on Campus>
Upcoming Events
Getting Involved>
First-Year Experience>
Academic Assistance>
Quick Links
- Academic Calendar
- Canvas
- Classifieds
- Course Search
- Health Portal
- IT Support
- My Finances
- My UD
- Parking
- Safety
- Transportation
- UD Barnes and Noble Bookstore
- UD ONEcard
- UDSIS
Residence Life & Housing
- Tour our residence halls
- Find graduate and off-campus housing
- Explore Living Learning Communities
Graduate Student Housing
Student Centers
- Attend Perkins Live and Trabant Now
- Join our Esports teams
- Reserve spaces
University Student Centers
Library, Museums and Press
- Browse our collections
- Find study spaces
- Visit our galleries
Library, Museums and Press
Career and Professional Services
- Attend career fairs and meetups
- Get job search and resume tips
- Land the perfect job or internship
Career Center
Upcoming Events
- UD Events Calendar
- Academic Calendar
View Full Events Calendar
View Full Academic Calendar
' + '
' + '
' + '
' + '
' + '
' } }; TabCollapse.prototype.checkState = function() { if (this.$tabs.is(':visible') && this._accordionVisible) { this.showTabs(); this._accordionVisible = false; } else if (this.$accordion.is(':visible') && !this._accordionVisible) { this.showAccordion(); this._accordionVisible = true; } }; TabCollapse.prototype.showTabs = function() { var view = this; this.$tabs.trigger($.Event('show-tabs.bs.tabcollapse')); var $panelHeadings = this.$accordion.find('.js-tabcollapse-panel-heading').detach(); $panelHeadings.each(function() { var $panelHeading = $(this); var $parentLi = $panelHeading.data('bs.tabcollapse.parentLi'); var $oldHeading = view._panelHeadingToTabHeading($panelHeading); $parentLi.removeClass('active'); if ($parentLi.parent().hasClass('dropdown-menu') && !$parentLi.siblings('li').hasClass('active')) { $parentLi.parent().parent().removeClass('active'); } if (!$oldHeading.hasClass('collapsed')) { $parentLi.addClass('active'); if ($parentLi.parent().hasClass('dropdown-menu')) { $parentLi.parent().parent().addClass('active'); } } else { $oldHeading.removeClass('collapsed'); } $parentLi.append($panelHeading); }); if (!$('li').hasClass('active')) { $('li').first().addClass('active') } var $panelBodies = this.$accordion.find('.js-tabcollapse-panel-body'); $panelBodies.each(function() { var $panelBody = $(this); var $tabPane = $panelBody.data('bs.tabcollapse.tabpane'); $tabPane.append($panelBody.contents().detach()); }); this.$accordion.html(''); if (this.options.updateLinks) { var $tabContents = this.getTabContentElement(); $tabContents.find('[data-toggle-was="tab"], [data-toggle-was="pill"]').each(function() { var $el = $(this); var href = $el.attr('href').replace(/-collapse$/g, ''); $el.attr({ 'data-toggle': $el.attr('data-toggle-was'), 'data-toggle-was': '', 'data-parent': '', href: href }); }); } this.$tabs.trigger($.Event('shown-tabs.bs.tabcollapse')); }; TabCollapse.prototype.getTabContentElement = function() { var $tabContents = $(this.options.tabContentSelector); if ($tabContents.length === 0) { $tabContents = this.$tabs.siblings('.tab-content'); } return $tabContents; }; TabCollapse.prototype.showAccordion = function() { this.$tabs.trigger($.Event('show-accordion.bs.tabcollapse')); var $headings = this.$tabs.find('li:not(.dropdown) [data-toggle="tab"], li:not(.dropdown) [data-toggle="pill"]'); var view = this; $headings.each(function() { var $heading = $(this); var $parentLi = $heading.parent(); $heading.data('bs.tabcollapse.parentLi', $parentLi); view.$accordion.append(view._createAccordionGroup(view.$accordion.attr('id'), $heading.detach())); }); if (this.options.updateLinks) { var parentId = this.$accordion.attr('id'); var $selector = this.$accordion.find('.js-tabcollapse-panel-body'); $selector.find('[data-toggle="tab"], [data-toggle="pill"]').each(function() { var $el = $(this); var href = $el.attr('href') + '-collapse'; $el.attr({ 'data-toggle-was': $el.attr('data-toggle'), 'data-toggle': 'collapse', 'data-parent': '#' + parentId, href: href }); }); } this.$tabs.trigger($.Event('shown-accordion.bs.tabcollapse')); }; TabCollapse.prototype._panelHeadingToTabHeading = function($heading) { var href = $heading.attr('href').replace(/-collapse$/g, ''); $heading.attr({ 'data-toggle': 'tab', 'href': href, 'data-parent': '' }); return $heading; }; TabCollapse.prototype._tabHeadingToPanelHeading = function($heading, groupId, parentId, active) { $heading.addClass('js-tabcollapse-panel-heading collapsed' ); $heading.attr({ 'data-toggle': 'collapse', 'data-parent': '#' + parentId, 'href': '#' + groupId }); return $heading; }; TabCollapse.prototype._initAccordion = function() { var randomString = function() { var result = ""; var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; for( var i=0; i < 5; i++ ) { result += possible.charAt(Math.floor(Math.random() * possible.length)); } return result; }; var srcId = this.$tabs.attr('id'); var accordionId = (srcId ? srcId : randomString()) + '-accordion'; this.$accordion = $('
'); this.$tabs.after(this.$accordion); this.$tabs.addClass(this.options.tabsClass); this.getTabContentElement().addClass(this.options.tabsClass); }; TabCollapse.prototype._createAccordionGroup = function(parentId, $heading) { var tabSelector = $heading.attr('data-target'); var active = $heading.data('bs.tabcollapse.parentLi').is('.active'); if (!tabSelector) { tabSelector = $heading.attr('href'); tabSelector = tabSelector && tabSelector.replace(/.*(?=#[^\s]*$)/, ''); //strip for ie7 } var $tabPane = $(tabSelector); var groupId = $tabPane.attr('id') + '-collapse'; var $panel = $(this.options.accordionTemplate($heading, groupId, parentId, active)); $panel.find('.panel-heading > .panel-title').append(this._tabHeadingToPanelHeading($heading, groupId, parentId, active)); $panel.find('.panel-body').append($tabPane.contents().detach()).data('bs.tabcollapse.tabpane', $tabPane); return $panel; }; // TABCOLLAPSE PLUGIN DEFINITION // ======================= $.fn.tabCollapse = function (option) { return this.each(function () { var $this = $(this); var data = $this.data('bs.tabcollapse'); var options = $.extend({}, TabCollapse.DEFAULTS, $this.data(), typeof option === 'object' && option); if (!data) $this.data('bs.tabcollapse', new TabCollapse(this, options)); }); }; $.fn.tabCollapse.Constructor = TabCollapse; $('.tab-component909337 .tab-component-nav').tabCollapse();// JavaScript Document $('.tab-component .nav-tabs').css('border-bottom', 'none'); } setTimeout(function() { $(".tab-link").each(function() { $(".tab-link.collapsed").find("i").removeClass("fa-minus").addClass("fa-plus"); }); $('.tab-component .collapse').on('shown.bs.collapse', function() { $(this).parent().find(".panel-heading").css({ 'background-color' : '#00539f', 'color' : '#fff' }); $(this).parent().find(".fa-plus").removeClass("fa-plus").addClass("fa-minus"); }).on('hidden.bs.collapse', function() { $(this).parent().find(".panel-heading").css({ 'background-color' : '#fff', 'color' : '#00539f' }); $(this).parent().find(".fa-minus").removeClass("fa-minus").addClass("fa-plus"); }); }, 100) } }); var hash = window.location.hash; // Check for hash and existing element with the hash ID if (hash && $(hash).length) { $('.tab-component909337 .nav-tabs li').removeClass('active'); $('.tab-component909337 .tab-content .tab-pane').removeClass('active'); $('a[href="' + hash + '"]').closest('li').addClass('active'); $(hash).addClass('active in'); $('.nav nav-tabs a[href="' + hash + '"]').tab('show'); }
What's Trending in Student Life
-
August 23, 2024 | Written by Jessica Downey
-
July 29, 2024 | Written by Jessica Downey
-
June 04, 2024 | Written by Jessica Downey
-
May 14, 2024 | Written by Amy Wilcoxon
-
May 09, 2024 | Written by Jessica Downey
Read More