jquery-tabs

jQuery-Validation-Engine wrong position popup on field hidden (jquery tabs)

心已入冬 提交于 2019-12-11 06:06:36
问题 I use jQuery-Validation-Engine for validate a form, but I've a problem .... I've a form in a div divided into tabs and I set the validationEngine like this: $(".test").validationEngine({validateNonVisibleFields: true}); On submit works fine both on fields in the active tab in the non-active .... but popup error of the fields in non-active tab is not aligned to the corresponding field. The _calculatePosition function seems that ignore the real coordinates of the field-hidden to check... Any

Programmatically change tab using tabify jquery plugin

拟墨画扇 提交于 2019-12-11 05:28:59
问题 I am using tabify http://unwrongest.com/projects/tabify to show tabs. I am struggling to figure out how to change the tab programmatically. Here is one working example: http://jsfiddle.net/S78Bt/ $(document).ready(function(){ $('#menu').tabify(); }); Although I know that using JQuery UI tabs I can acheive this behavior, but due to some unavoidable circumstances I need to use tabify. 回答1: The project you are using seems dead, it hasn't received updates lately, it does not have documentation. I

jQuery UI Tabs - Anchor to Internal Links

≯℡__Kan透↙ 提交于 2019-12-11 03:37:13
问题 I'm having trouble using jQuery UI (v1.11+) Tabs with internal anchor links. My code is as follows: Javascript: $(document).ready(function () { $("#tabs").tabs(); }); HTML: <div id="tabs"> <ul class="tabs-list"> <li> <a href="#tabs-1"> <div class="tab"> Tab 1 </div> </a> </li> <li> <a href="#tabs-2"> <div class="tab"> Tab 2 </div> </a> </li> </ul> <div id="tabs-1"> <div><a href="#">Text for tab 1</a></div> </div> </div> <div id="tabs-2"> <a href="#"> Text for Tab 2</a> </div> </div> I am

jQuery UI Tabs - how can I disable top menu?

家住魔仙堡 提交于 2019-12-10 22:52:54
问题 I'm trying to disable top menu on jQuery UI Tabs - so the tabs would be operated with next/prev buttons only. Disable option form the doc does not seams to work as expected. Please see my example here: Live Demo jQuery code: $(document).ready( function() { $(function() { var $tabs = $('#tabs').tabs(); $(".ui-tabs-panel").each(function(i){ var totalSize = $(".ui-tabs-panel").size() - 1; if (i != totalSize) { next = i + 2; $(this).append("<a href='#' class='next-tab mover' rel='" + next + "'

Google Charts With Tabs - Chart Area Incorrect

旧巷老猫 提交于 2019-12-10 18:05:43
问题 Although this may seem a common problem but i was not able to find a solution to this particular problem.. I am trying to create 2 pie charts using GOOGLE CHARTING API.. The 1st Pie chart which is in the 1st TAB (default selected) shows the accurate width and height but the 2nd pie chart in the hidden tab does not show appropriate width.. Here is the fiddle... In the Fiddle we can see the chart area in the hidden tab is less than the chart area in the active tab although the code for both the

jQuery tabs with MVC4 content

女生的网名这么多〃 提交于 2019-12-10 14:31:57
问题 I'm trying to get some MVC4 views to display in jQuery tabs. Here's my code: <div id="tabs"> <ul> <li><a href="#appone">App One</a></li> <li><a href="#apptwo">App Two</a></li> </ul> <div id="appone"> @{ Html.RenderPartial("~/Views/AppOne/Index.cshtml"); } </div> <div id="apptwo"> @{ Html.RenderPartial("~/Views/AppTwo/Index.cshtml"); } </div> </div> The problem is that the first tab content displays just fine- but the second is empty. It seems the partial view is not rendered. Is there a way

jQuery, multiple tab groups on one page

做~自己de王妃 提交于 2019-12-10 05:54:46
问题 I am using a nice simple tab example from Soh Tanaka.http://www.sohtanaka.com/web-design/simple-tabs-w-css-jquery I am trying to put multiple tab groups on the same page yet use the same classes for each tab group. I am making the content for the tabs dynamically, so making new classes for each tab group is out of the question. How do I use the same classes, same jQuery for the different tab groups? I know there is the .each() method available in jQuery, but I am having trouble trying to

jQuery TABS is not working under new ASP .NET MVC4 project

一世执手 提交于 2019-12-07 11:54:00
问题 What I did is I have create new ASP .NET MVC4 project. I have used http://jqueryui.com/tabs/ example code So I have got this: _Layout.schtml <head> <meta charset="utf-8" /> <title>@ViewBag.Title - My ASP.NET MVC Application</title> <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <meta name="viewport" content="width=device-width" /> @* @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr")*@ <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1

Microsoft JScript runtime error: no such method 'select' for tabs widget instance

无人久伴 提交于 2019-12-06 17:14:03
问题 I need select specific tab functionality for the jquery tabs on clicking on the html buttons. I am using jquery.1.9.1.js and jquery-ui-1.10.2.custom.js file. I have implemented below code but does not work for me. <script language="javascript" type="text/javascript"> $("#ui-tabs").tabs(); function SelectTab() { // bind click event to link $('#ui-tabs').tabs('select', 2); // switch to third tab return false; } </script> <div id="ui-tabs"> <ul> <li><a href="#tabs-1">Nunc tincidunt</a></li> <li>

Google Map API V3 on hidden div (jquery-ui tabs)

三世轮回 提交于 2019-12-06 08:54:33
问题 I know this problem is ancient, but I can't seem to find a clear instruction for it. The gist of the problem is the Google Map wouldn't load completely (partly shown) when it's loaded on a hidden (display:none) divs, e.g. jQuery tabs, etc. API V3 wouldn't accept checkResize() any more, the 'left:-1000px' is not an elegant solution. I've heard delaying constructing the map, and reload the map when click the tabs, but please help me on the exact codes. 回答1: Why do you say "left:-1000px' is not