jquery-ui

jquery-ui dialog: set dialog properties in HTML/CSS?

Hi everyone, This is a trivial question, but: do you know if it is possible to define the properties of a Jquery-UI dialog in the HTML/CSS of the corresponding DIV? The docs just show how to do it in Javascript. Thanks for any help l ...

Get all the dates in a week of the selected date in jquery date picker?

I am creating a task list with number of hours worked to be entered against each task along each day of the week. So if a user clicks on a particular week dates then I need to get all the days' dates into hidden fields. Then I will use them to identify the which hours entry is against which date and insert them into the database. So for ...

Add .click() to dynamically created tab

Hey I'm attempting to add a .click() to a tab that I add dynamically. Code so far: var newtabid = "#privChatArea" + chatmessage.SenderID; $("#tabs").tabs("add", newtabid, "<span style=\"color: red;\">" + chatmessage.SenderNick + "</span>"); I can't seem to figure out how to reference the Tab-button, as the only element I am actuall...

ASP LinkButton inside of JQueryUI Dialog closes it - how do I prevent that?

Hello all, On my website I have it setup where when someone clicks on one of my items, a modal JQuery dialog box pops up. Works great (thanks to Stackoverflow help)! So now I dynamically create linkbuttons and imagebuttons inside the dialog, depending on what was clicked on. When I created said buttons (all server side), this is what I ...

How to use multiple jQuery UI Themes in a Zend Framework application?

I am currently using the ui-lightness theme in my Zend Framework application but I would like to use both for different things. I'm currently registering the ui-lightness theme with this line in my bootstrap: $view->headLink()->appendStylesheet($view->baseUrl().'/js/jquery/css/ui-lightness/jquery-ui-1.7.2.custom.css'); How can I add a...

Please recommend a good JQuery rich text editor

What is a good JQuery rich text editing field? ...

JQuery Checkboxes Group check

All, I have the following code. How can I fix it so that the category checkbox for each category is checked only if all the items under that are checked? Thanks <html> <head> <script src="http://www.google.com/jsapi"&gt;&lt;/script&gt; <script> google.load("jquery", "1.3.2"); google.load("jqueryui", "1.7.2"); </script> <script lang...

JQuery UI Dialog Buttons - Show after AJAX response

Hi, I have the following code to launch a dilog, do ajax and populate it with the response. How can I modify the code to make sure the "OK" button is displayed only after successful ajax response? Thanks function saveChangesDialog(btnToClick,formToPost,formAction,dialogtitleText) { $(document).ready(function() { ...

[JQUERY] Triggering a draggable on mousedown.

Hi guys, This is my problem i'm trying to create a event to trigger a draggable. Here is what i already tried. <div id="ecard-canvas"> <div id="ecard-border"></div> <img id="ecard-image" src="images/content/girl.jpg" alt="chick"/> </div> and the JS. $('#ecard-image').draggable(); $('#ecard-border').mousedown( function(event...

Jquery accordion is working on my computer but not on server

Hi, I'm having problems with jquery accordion together with jquery slider. The jquery slider is nested inside the accordion. On my computer this works fabulously (even though IE gives some problems). I uploaded on the server and it forms up the accordion links but these do not open when u click on them!!. any ideas? link Username:Te...

Jquery UI Slider - Assigning a name to values

I need to assign names to the values of a Jquery UI slider is this possible? Here's the code so far: <script type="text/javascript"> $(function() { $("#slider_style").slider({ value:2, min: 1, max: 3, step: 1, slide: function(event, ui) { $("#style...

Embedded PDF always appearing over Absolutely positioned elements

We have a page where a PDF is embedded, and are trying to pop drop-down menus, jQuery UI dialogs, etc. over the PDF document which is currently displayed. The problem is that the PDF is ALWAYS taking the 'front' position, so any elements dynamically created appear behind it. This was a common problem with Flash back in the days of DHTML...

jQuery: How can I reproduce the slide-out effect of the Accordion, without jQuery UI?

I'm just learning jQuery, figuring out what's possible, finding my way around. I'd like to have a div "slide out" like an accordion, but I don't want to pay the cost of the jQuery UI download, and also I want to allow multiple divs to be open at the same time. How does it work? How is the slide-out effect of the accordion done, insi...

Jquery drag and drop

Hi I am new to jQuery and trying work on a proof of concept. I have posted the example code here and my requirement is as follows. I have 2 droppables dog/sheep and I want to drop them on the shirt. I drop the sheep/dog on the shirt but as soon as drop it goes to the down-left position of the div. I tried doing $('[id$="apparel"]').ap...

jQuery UI Drag & Drop

I tried using the solution posted here: http://stackoverflow.com/questions/811037/jquery-draggable-and-overflow-issue, but I can't seem to get it to work for myself. I have a container div (div#container) which wraps around all of my draggable divs. The div#container has its overflow set to auto. I've used the scroll option and set it to...

jQuery UI Dialog, adding elements next to a button

One of the nice things about the jQuery UI Dialog is that it has an option for Buttons, which automatically positions them correctly. I just wonder: Can I somehow place elements next to the buttons? I have a little Ajax-Loader gif that I would like to display in the lower left corner of the dialog, while the buttons stay at the lower rig...

resize div zoom in zoom out using pure javascript or jquery

hi i have a page displaying a swf game within a div container i need to add a zoom in zoom out slider to this page so user can resize the swf file using a slider an example like this page slider : like this page http://www.agame.com/game/Snowflake-Puzzle.html any help please Thanks on advance ...

jQuery ui.draggable - changing the current dragged object (in fullCalendar)

Hello, I've just discovered the fullCalendar jQuery plugin which does pretty much everything I need for the appointment scheduling service I'm building. However, I've hit a small problem. There are "event" elements within fullCalendar agendaDay view which are draggable, however they are locked to the tds of available timeslots. I want...

How do I get rid of 'scroll bar' click event affecting my page? (IE Problem)

Okay, here's my problem. Say I have an input box on left side divs and hidden text on right side div. Whenever a user focus on the input box (in other word, click on that box), then the corresponding hidden text is displayed. And whenever the use clicks somewhere else in the window, then the text disappears. I have the following code and...

Weird behavior of jQuery UI Explode in Internet Explorer

I'm trying to show an background-image after a user clicks on a box. (I know I'm a bit lazy on the CSS) <script type="text/javascript"> $(document).ready(function() { var options = {}; $(".toggler1").click(function() { $("#effect1").effect("explode",options,1000); $(".toggler1").html("<div id='effect1b' style='floa...