Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#3659 closed enhancement (wontfix)

ui.tabs - add a spinner_placeholder option

Reported by: J5 Owned by: klaus.hartl
Priority: minor Milestone:
Component: ui.tabs Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


Here is a patch for adding a spinner_placeholder option. The spinner_placeholder option can be a string or a jquery object.

If it is a jquery object that object is replaced by the spinner during loads. This allows the developer to place the spinner in a stationary location (sort of how the browser spinner works).

If the spinner_placeholder option is a string it gets evaluated as a child of the tab list item.

I need this functionality but if you think it can be done differently I'm willing to rewrite.




<li><a href="" title="home"><span class="spinner_placeholder"/>jQuery Home</a></li> <li><a href="" title="about"><span class="spinner_placeholder"/>Jquery About</a></li>



<script type="text/javascript">

fcom_sub_tabs = $("#content-nav > ul").tabs({

spinner: $('<img/>').addClass('tab_spinner').attr(


src:'images/spinner-graphics.gif', height: '16', width: '16',


spinner_placeholder: '.spinner_placeholder'



Attachments (1) (1.5 KB) - added by J5 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by J5

comment:1 Changed 14 years ago by klaus.hartl

Owner: set to klaus.hartl
Status: newassigned

comment:2 Changed 14 years ago by klaus.hartl

Resolution: wontfix
Status: assignedclosed

No need for an option here.

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.