[jQuery] How to get the float direction of an element?

2009-12-18 Thread ximo wallas
Hi there, does anybody knows how to get the float direction of an element? If I do this: $(this).attr('style') I will get all the styles, but I just want to get right or left... Can anybody bring me some light?

Re: [jQuery] How to get the float direction of an element?

2009-12-18 Thread Dhruva Sagar
$(this).css('float') Thanks Regards, Dhruva Sagar. On Fri, Dec 18, 2009 at 3:21 PM, ximo wallas igguan...@yahoo.com wrote: Hi there, does anybody knows how to get the float direction of an element? If I do this: $(this).attr('style') I will get all the styles, but I just want to get

[jQuery] Help with droppable

2009-12-18 Thread Alex Beston
Hi there, I'm trying to create some words which can be dragged and dropped into a container (called droppable). I've tried to dynamically create some divs each containing a word, and they can be dragged okay, but when I try to drop, it isnt recognised. I notice that if I have a static div in

Re: [jQuery] AJAX and the Content-Type response header

2009-12-18 Thread Xi Shen
i am afraid you have no way to parse the Content-Type in your javascript. because it the the header of the response, and you can only get the body (the content) of the response. actually, for a ajax to be able to work correctly, you MUST guarantee the request you send with ajax can get what you

[jQuery] Re: AJAX and the Content-Type response header

2009-12-18 Thread MrM
Thanks for your reply, David. i am afraid you have no way to parse the Content-Type in your javascript. because it the the header of the response, and you can only get the body (the content) of the response. This is not true. The XMLHttpRequest object has a getResponseHeader function, which

Re: [jQuery] Help with draggable / droppable

2009-12-18 Thread Richard D. Worth
Worked ok for me: http://jsbin.com/anure source: http://jsbin.com/anure/edit If you need any more help, note that there's a separate list for jQuery UI: http://groups.google.com/group/jquery-ui - Richard On Thu, Dec 17, 2009 at 1:14 PM, Alex Beston alex.bes...@gmail.com wrote: Hi there,

[jQuery] creating frames

2009-12-18 Thread Paamayim
Hi, I need to create frames in the same page I'm by clicking a link. I tried this but I doesn't work, all remains blank: --- index.html --- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

Re: [jQuery] Help with droppable

2009-12-18 Thread Richard D. Worth
Answered here http://groups.google.com/group/jquery-en/browse_thread/thread/6baa555a340b3ec4 - Richard On Fri, Dec 18, 2009 at 5:28 AM, Alex Beston alex.bes...@gmail.com wrote: Hi there, I'm trying to create some words which can be dragged and dropped into a container (called droppable).

[jQuery] Jquery Datepicker UI

2009-12-18 Thread Mauricio Vargas
Hi, I'm using the Datepicker that comes with the jQuery UI. I would like to keep some dates, in this calendar, checked. I'm bringing some dates in the format 12-31-2009 from my mySql, and i would like to put those dates in the datepicker, and show them selected. Do someone knows how to do this?

[jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-18 Thread discern
On a similar note, are the up and down arrows always the same keyCode?

[jQuery] Why doesn't this render the page correctly?

2009-12-18 Thread davec
I am trying to dynamically change the colspan attribute on a group of cells using the code below: script type=text/javascript $(document).ready(function() { $('#plusSign').click(function(){ $('.ba_toggle').toggle(); if($('#plusSign').attr('src')=='../Images/

[jQuery] Re: $.ajax POST on ff3.5 and Chrome

2009-12-18 Thread Anton Koval'
So, i've figured out why that happens: in case of ff and chrome that is just some security policy, which forbids to do post on remote host. Solution is quite simple - place controller and hmtl page with your scripts on same host, and after that parameter url in $.ajax post will transformed to

[jQuery] Traversing down

2009-12-18 Thread Pedram
I would like to have Traverse Down and It self Traversing function in jQUery how can I make that as you all know we have Closest which is traversing up and includes it self... this is what I have $(event.target).find(' a:not(.active)'); the problem occurs when the event.target is the actual link

[jQuery] jQuery attaching actions to links with different class

2009-12-18 Thread imot3k
Hi, I'm making a website for a garage. In the cars section I generate the cars list thru PHP. In the table there is a link to the details of the car. There is also a picture which can be clicked to go the details. So it would look something like this: td rowspan=3 width=13\a class=info6

[jQuery] Need help with image slideshow effect

2009-12-18 Thread dec0y
I'm trying to do a simple image slideshow similar to what you see here: http://www.okadirect.com/ When the image changes, I want there to be that sort of flash effect that fades out to reveal the image. Looking around on the jquery website, I found this

[jQuery] Tab Switcher problem

2009-12-18 Thread William
Hi everyone, I am trying to get the demo no jquery, where the Tabs automatically switch without changing URL's. Here is the link to the demo I am trying to recreate. http://jqueryui.com/demos/tabs/ Here is the url to the page where I am trying to recreate the demo on

[jQuery] jQuery in e107 plugin?

2009-12-18 Thread Harsányi János
I have two e107 plug ins which are using jQuery. The first one uses jQuery UI too. The problem is that the second plug in re-defines the jQuery without the UI extension, and the first plug in is not able to work properly. Is there any way to load jQuery only if it has not been added yet? (I have

[jQuery] Lessons learned with sliding menus and lightbox

2009-12-18 Thread Dubsies
I just wrapped up a project and thought I'd share some solutions to problems I encountered since they seem to be fairly common. To give an overview, I was working on a landing page where I used lightbox to display samples of application screenshots as well as a menu in the right column that had

[jQuery] onclick and jquery in the Outlook browser

2009-12-18 Thread gorfbox
Hi folks, I'm having a dickens of a time with something that should be easy. When using $(body).append to place an anchor containing an onClick statement in the html body, the code is executed and the anchor is shown, but the onclick doesn't work. Strangely enough, if an anchor with an onClick is

[jQuery] Need help with image slideshow effect

2009-12-18 Thread dec0y
I'm trying to do a simple image slideshow similar to what you see here: http://www.okadirect.com/ When the image changes, I want there to be that sort of flash effect that fades out to reveal the image. Looking around on the jquery website, I found this

[jQuery] Re: Need help with image slideshow effect

2009-12-18 Thread dec0y
Sorry for the double post, just forgot to add the code.

[jQuery] Re: Tab Switcher problem

2009-12-18 Thread MorningZ
both ui.base.css and ui.theme.css throw 404 not found... using a tool like Firebug (http://www.getfirebug.com) makes this a 2 second job to discover :-) On Dec 18, 9:32 am, William utopicstud...@gmail.com wrote: Hi everyone, I am trying to get the demo no jquery, where the Tabs

[jQuery] Make sub menu delay before disapper

2009-12-18 Thread Marco Barbosa
Hi all! So I have this simple sub menu with Jquery. The problem is that the child menu is like 2px below the parent, so when the submenu appears I have to be very fast to mouseover it or else it will disapper. The sub menu is absolute positioned and I can't change that right now. So how can I

[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-18 Thread Scott Sauyet
On Dec 18, 3:47 am, gorfbox gorf...@gmx.de wrote: I'm having a dickens of a time with something that should be easy. When using $(body).append to place an anchor containing an onClick statement in the html body, the code is executed and the anchor is shown, but the onclick doesn't work.

[jQuery] Re: Sliding menu elements from under the header

2009-12-18 Thread Bine Gorjanc
Noone knows anything? On 11 dec., 18:16, Bine Gorjanc gorj...@gmail.com wrote: So i want to make a menu which has links that (atleast seemingly) slide from under the header when hovering on their footer and retreat back up on mouseout. At first i though it was easy.. i defined menu element

[jQuery] Re: How to edit a portion of text

2009-12-18 Thread caruso_g
The code isn't really semantic, which makes it difficult to get to the excerpt text. If you can't differentiate the excerpt from the content following by extra spans then there isn't a good way to catch your excerpt. I know, but sadly I have no control on it, it's just like WordPress put out

Re: [jQuery] Re: jquery.color.js no longer maintained?

2009-12-18 Thread John Arrowwood
Yep, that's the one! On Thu, Dec 17, 2009 at 8:43 PM, Dave Methvin dave.meth...@gmail.comwrote: To be sure, you're talking about this plugin? http://plugins.jquery.com/project/color The plugins site is due to get a redesign for the jQuery 1.4 in January and I think that will help some of

[jQuery] Re: validate - error messages keep piling up

2009-12-18 Thread Mark Livingstone
Works now :) Had to create a special class that combined all three classes. On Dec 17, 5:36 pm, Mark Livingstone namematters...@msn.com wrote: OK, thanks. I will try and report back. On Dec 16, 12:22 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You have three classes specified

[jQuery] autocomplete: extra fields

2009-12-18 Thread Simon Matthews
I have a number of fields in a grid which are all using auto complete. I want the extraParams function to be able to work out which field I am in so that I can return a differently filtered list. I don't seem to have access to the input variable? Any clues? Thanks Simon

[jQuery] Validate Form - how to do NotEqualTo

2009-12-18 Thread jc_2009
I'm using Jörn Zaefferer's Jquery Form Validation which is great. However, I needed one extra method/function. I have some fields which initially have values (e.g. see below) input type=text name=First Name id=First Name value=Enter Name Here * / So for the validation if the Input First Name's

[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-18 Thread lelando
Why not just use the .click() method of jQuery instead? Like this: $(document).ready(function(){ $(body).append($('a').click({alert('test');return false}).text (Dynamic)) ; }); On Dec 18, 12:47 am, gorfbox gorf...@gmx.de wrote: Hi

[jQuery] Jquery using Modal Window with user input

2009-12-18 Thread tinypond
What I am trying to do is the following: I have a webpage with some input fields, before the user can save the information to a database. I have the requirement to make the existing page dim and call up a modal window asking the user whey they made changes. This modal window would have a textbox

Re: [jQuery] Jquery using Modal Window with user input

2009-12-18 Thread Richard D. Worth
You can use the jQuery UI Dialog with the modal option set to true. Here's an example: http://jqueryui.com/demos/dialog/#modal-form - Richard On Fri, Dec 18, 2009 at 10:12 PM, tinypond lawre...@tinypond.com wrote: What I am trying to do is the following: I have a webpage with some input

[jQuery] Re: Traversing down

2009-12-18 Thread Pedram
hey Guys I wrote the plugin pretty nice I have an example http://pedramtech.com/Development/jqueryPlugins/ $.fn.ClosestChildren = function(expr) { var $t = $(this); return $t.is(expr) ? $t : $t.find(expr).eq(0);