jquery-ui

JQuery UI .show('slide') not animating correctly

I am trying to make a div that slides out nicely when you mouse over a "trigger". It is appearing in full, then quickly disappearing and sliding out again. I can't seem to figure out the reason for this behavior. If needed I can put a sample up in a bit. Test case is up here. This is happening on all major browsers except IE6. HTML: ...

Need currently selected tab ID for jquery tabs

I know I can get the index of the currently selected tab but can I somehow get to the ID (the equivalent of the ui.panel.id if this were triggered by an tab event...but it's not) of the currently selected tab? I'd prefer not to use the index because ordering of the tabs might change. I prefer not to use the style markups as those may c...

JQuery datepicker language problem

Hello I'm using the jquery datepicker from jqueryui.com and I have a problem changing the calendar to swedish, I have this code: <script type="text/javascript"> $(function() { $.datepicker.setDefaults($.datepicker.regional['sv']); $("#StartDate").datepicker(); $('#StartDate').datepicker('option', 'dateFo...

JQuery UI datepicker not working when binded to a class

Hi, I've got this code: <html> <head> <link type="text/css" href="css/blitzer/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript"> $(function() { $...

jquery ui tab with points

Any idea how i can get rid of the three dots that appear on this default jquery ui tab. I'm thinking its something to do with the css sheet, but i'm unsure which element to modify. Has anybody else seen this? The code (all regular enough) <div id="tabs"> <ul> <li><a href="#info">Info</a></li> <li><a href="#map">Map</a><...

Using an accordion in a view in codeigniter

Hi, I am currently building a website in codeigniter that is based around the idea of being a one page, site, I currently have a main view that looks like this, <?php $this->load->view('template/main_menu.php'); $this->load->view('template/left-content.php'); $this->load->view('template/right-content.php'); ?> In the ri...

How to style different hover colors for jquery dialog buttons

I won't to give a different hover colors to my jquery dialog buttons. For example when the user will hover over the "Ok" button the hover color will be blue and when he hovers over the cancel button the hover color will be gray. Can anyone tell me how can I do it? ...

jQuery UI Dialog adding unwanted inline styles to images

I am using JQUery UI to for the front end of a rails app I am developing. I am using jQuery dialog windows for displaying some tabbed data and inside one of these tabs I want to render some images. The rendering of the images works fine if I view the page without Javascript, however for some reason when putting it all in a dialog windo...

jquery ui datepicker

what does navigationAsDateFormat do? also, I have changeMonth and changeYear enabled, how can I make it so that when you change the month and year using those dropdowns, the input field is automatically updated (e.g., updates without having to click on a new day) ...

The DOM, Jquery and Accordions

Hello, I have a page the makes an AJAX request, and returns some data from the database, once it is retruned I am trying to append it to a div and make an accordion, however all I am getting is the data back and no accordion here is my source code once the AJAX has run.(snippet) <script type="text/javascript"> $(document).ready(f...

How to pass a parameters to this jquery?

i dont have a clue how i should rewrite this jquery so i can pass parameters into it. i want to pass an id into the function so i place it like, $(".dialog" + id). i am goin to trigger it with a <a> $(document).ready(function() { $(".btnCheck").live("click", function(evt) { evt.preventDefault(); ...

Making table with resizable columns and selectable rows with jQuery UI

NOTE: My original question was whether I should use <div>s or <table>s for this task. I have found an answer myself: <div>s are more than twice as slower on Firefox and Chrome if you have ~2000 rows. So you must use <table>s for this. I decided to reedit my question to show how to do it (table with resizable columns and selectable rows u...

How do I load content in JQuery Accordion via AJAX

I have a jquery accordion that loads a lot of data. This accordion is generated by querying a database. My question - is there a way to not load the content until a specific element of the accordion has been clicked? Basically, I'd like to replicate the functionality of the jquery tab ajax content load to the accordion. ...

Own jQuery template

Hello, how could I create my own jQuery UI template? For example for the the accordion I want to have another HTML markup structure, how could I do that? ...

Multiple jQuery UIProgress bars

Hello, I'm trying to display multiple, "static" jQuery Progress Bars on a single page, all with different different values.... Anyhow, say I have this bit of code: $(function() { $(".progressbar").progressbar({value: 37}); }) Is there a way to use the same class for multiple "instances" of the progress bar? And is it possible to pass...

how to not reload ajax content using jquery ui tabs?

I am adding another tab to jquery ui tabs with ajax, since there does not appear to be a direct way to do so. i am running into an issue where the tabs are refreshing each time you click on them (reloading from the server). i only want the content to load once, when the tab is created. ...

Sorting a tables first column after using jQuery UI's sortable?

I got a table which uses jQuery UI's sortable. The first column contains the order number of each row. How do I automatically sort the numbers (in ascending order) in the first column when I sort the rows? This means that only the numbers in the first column will be sorted. Thanks in advance! ...

jQuery UI Dialog - Ajax in PHP

I have an HTML form in a PHP file like the attached snippet: When I hit the "Save Details" button, I want the page to load a jQuery UI modal dialog. That dialog will execute a controller action (ex:savedetails) through Ajax. Essentially, the controller action will get all the POST details in "frmEmployees" and saves the changes to a dat...

ASP.NET MVC AjaxActionLink OnComplete and OnSuccess property and Jquery

Hi, I'm trying to create a dialog box in my ASP.NET application with an AJAX ActionLink. The Ajax ActionLink inserts a partial view into a div in the current view. I've called a function OnComplete (and I've tried OnSuccess, too) that calls the dialog function for JQuery UI, like so: function() loaddialog { $("ContainerwithInsertedPa...

Styling regular form elements with jQueryUI

Hi. I'm using jQueryUI on my site, as well as http://www.filamentgroup.com/lab/jquery%5Fui%5Fselectmenu%5Fan%5Faria%5Faccessible%5Fplugin%5Ffor%5Fstyling%5Fa%5Fhtml%5Fselect/ as replacement for select elements. But I have a problem to style other form elements, text and textarea. Have anybody idea how to do this right way? ...