jquery-ui-tabs

jQuery UI Tabs - Rounded Tab Corners in IE

余生颓废 提交于 2019-12-11 00:24:48
问题 I'm trying to switch from AjaxControlToolkit to jQuery UI tabs for a fairly simple tab element. I'm 99% there with CSS and theming, but I'm running into a wall attempting to get rounded corners on the tabs in IE. jQuery UI provides the styles needed for rounded tabs in better browsers, but it might be a deal-breaker if we can't get them in IE. I would really hate to have to keep using the Toolkit, and would also prefer not to bring in a different plugin to do the tabs (although this is an

jQueryUI tabs and Firefox: getBBox broken?

馋奶兔 提交于 2019-12-10 22:29:16
问题 Just developed a front-end almost entirely in FF 3.6. It works perfectly in IE9 (even with lots of SVG), Opera, and Webkit, but is completely broken in FF9. I've spent the entire day debugging it, and it looks like getBBox has broken somewhere along the line. There are possibly two separate issues, both related to getting a bounding box on a group containing multiple text elements, with rotated text, or text spread over multiple lines. Anyone else seen this? I've got to say I'm really, really

Having trouble deselecting all jquery tabs

*爱你&永不变心* 提交于 2019-12-10 16:03:41
问题 I set up some jQuery tabs to start off with no tabs selected like this: $('#tabs').tabs( { selected: -1 } ); Then I also have a separate link that when pressed needs to deselect all the tabs. $("#deselectButton").click(function(){ $('#tabs').tabs( 'select' , -1 ) }); or $("#deselectButton").click(function(){ $('#tabs').tabs( 'selected' , -1 ) }); The deselectButton click does deselect the tabs content, however the tabs title remains active with the class 'ui-tabs-selected ui-state-active'.

How to insert JavaScript upon showing a jQuery ui tab?

随声附和 提交于 2019-12-10 14:14:19
问题 I want to run a JavaScript function on my page, but only when a tab is shown. Actually have two questions. I am not using ajax tabs, so would I put my JavaScript in the 'load' or 'show' callback, if I only want the code to run once the tab is shown? Depending on the answer above, what would my code look like to accomplish the following: I want to have it like this when tab 1 is shown/loaded -->insert JavaScript here when tab2 is shown/loaded -->insert different JavaScript here when tab3 is

Can I remove the entire style of jQuery UI tabs without breaking the styles of other UI components? [closed]

醉酒当歌 提交于 2019-12-10 12:54:45
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 months ago . I want to fully customize jQuery UI tabs without breaking the styles of jQuery UI date picker? Is that doable or should I do a custom work and not use jQuery UI tabs? 回答1: $("#mytabs").tabs() <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="mytabs"> <ul class=

Javascript Scroll Menu - MouseOver Selection not working correctly on first contact

流过昼夜 提交于 2019-12-10 12:19:55
问题 I am currently working with a tab menu which cycles through automatically. Once I mouseover one of the tabs the "rotation" should stop on the selected tab and when I mouseout it should continue rotating from the selected tab item. $(document).ready(function() { $("#featured > ul").tabs({ fx: { opacity: "toggle"} }).tabs("rotate", 1000, true); $("#featured > ul").mouseover(function() { $(this).tabs({ event: 'mouseover', fx: { opacity: "toggle"} }).tabs("rotate", 0); }) $("#featured > ul")

Opening JQuery tabs with URL, and adding a hash to URL on tab click

淺唱寂寞╮ 提交于 2019-12-09 05:59:44
问题 I'm working on a web application, and I am using the JQuery UI Tabs plugin to separate the data. If I mouse over each one of the tabs, on the lower left of the screen I can see the URL of that tab (ex: testPage.com/#tab1 or testPage.com/#tab2) Now, if I type in one of those addresses into the URL bar, I do not go to the tab related to the hash in the URL, but instead I go to the first tab in the application. My question is: How would I go about anchoring a specific tab to a URL? So if someone

Jquery UI - reload selected tab?

て烟熏妆下的殇ゞ 提交于 2019-12-09 04:46:38
问题 Is there a way to reload the selected tab I know there is the .load() function. But it wants a tab index and I don't seem to see a way to grab the selected tabs id. 回答1: Update: In jQuery 1.9, the selected option is renamed to active . See attomman's answer. To get the currently selected index, use the tabs('option','selected') function. E.g, if you have a button #button (and the #tabs element is made into tabs) where you want to get the index, do the following: $("#button").click(function()

Tabs not redirecting in jQuery UI tabs

限于喜欢 提交于 2019-12-08 13:33:26
问题 please help with rails 3 form in jquery ui tab. This is the view(:controller => "pages", :action => "board") and form in the jquery tabs(form is in 2nd tab) <div id="tabs"> <ul> <li><a href="#tabs-1">Information:</a></li> <li><a href="#tabs-2">Form:</a></li> </ul> <div id="tabs-1"> <p>info</p> </div> <div id="tabs-2"> <% if @message.errors.any? %> <% @message.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> <% end %> <%= form_tag(:controller => "messages", :action =>

.next() and .prev() in ul li responsive view

瘦欲@ 提交于 2019-12-08 11:44:26
问题 I have a tab panel and I want to put a next and prev in responsive view. Like this http://www.jqueryscript.net/demo/Mobile-friendly-Responsive-Navigation-Plugin-Swipe-Navigation/ (resize your browser) I tried to do this but I have no luck. I couldn't work my script correctly. I also tried the script from the link above, but still not working. How to do this? or How to fix my current code? Or there's an easy way to do this? Please help me. My code <ul class="tabs swipenavigation js