Re: [jQuery] Feliz Navidad

2009-12-24 Thread Octavian Râsnita
Próspero ano y felicidad! :-) Octavian - Original Message - From: "webmaster-uajms" To: "/Intoxicado-coder:~$" ; ; "Derek Henninger" ; ; ; ; ; "jose luis mujica balderrama" ; "José Rubén Martinez Martínez" ; ; ; ; "nandito_970" ; "ormg770" ; "pavel franco" ; ; ; "Rogert Castill

[jQuery] [ask]problem with ajax

2009-12-24 Thread PUTRA PRIMA
hai jquery user ^^ i have a problem with ajax, here is the problem : i have a list of table/data with edit and delete link in file, data.php and i load data.php in my dashboard file named it dashboard.php so this dashboard.php load file data.php result like this : nameaddress

RE: [jQuery] Feliz Navidad

2009-12-24 Thread Rick Faircloth
And to you! :o) From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of webmaster-uajms Sent: Thursday, December 24, 2009 10:46 PM To: /Intoxicado-coder:~$; albert.a...@gmail.com; Derek Henninger; etorre...@uajms.edu.bo; j...@xasamail.com; jm.neut...@filzmail.com; jm.n

[jQuery] Feliz Navidad

2009-12-24 Thread webmaster-uajms
Feliz Navidad :)

[jQuery] Re: Superfish - Background Color on Sub-Menus

2009-12-24 Thread slflinders
Is there a way to make the sub-menu items have a solid background when they don't have the focus? Thanks! On Dec 22, 5:29 am, slflinders wrote: > Thank you. This gets me very close to what I want. The only problem > now is that when I hover over the top level menu item, the sub-menu > items appe

[jQuery] Re: Attaching an event to a non-existing element?

2009-12-24 Thread Šime Vidas
> 3. I have set this response as the content of an empty div. > > That select element appears well, but maybe it doesn't appear as a DOM > member, so that's why I can't attach an event handler to it. If you place HTML code inside an element that is in the DOM tree (like the empty DIV in your exa

[jQuery] Re: Sub menu - long line of text

2009-12-24 Thread Šime Vidas
Well, show us the code - HTML and CSS I can hardly help you based on the information you provided above...

Re: [jQuery] Re: Attaching an event to a non-existing element?

2009-12-24 Thread Octavian Râsnita
From: "Sime Vidas" Second, I haven't heard the term "combo box" in relation to HTML you mean a SELECT element, right? Yes. To answer your question, I don't see why you couldn't attach the event handler after the AJAX response 1. You get the AJAX response 2. You create the combo box

[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread turnavies
ah look at that, img is an inline element :D standards ftw! On 24 dec, 23:10, turnavies wrote: > Thanks for your replies! > FF is happy now, although it's not fully standards-compliant (I still > have an img inside my label), but the code is a lot cleaner and it > works on the major browsers (hav

[jQuery] Re: Attaching an event to a non-existing element?

2009-12-24 Thread Šime Vidas
First, in your code above you set a value to the window.location property... I believe, the value type must be string so this would be valid: window.location = "http://www.google.com/";; Second, I haven't heard the term "combo box" in relation to HTML you mean a SELECT element, right? To an

[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread turnavies
Thanks for your replies! FF is happy now, although it's not fully standards-compliant (I still have an img inside my label), but the code is a lot cleaner and it works on the major browsers (haven't tested IE though :D) Nice diagram! Thomas

[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread Šime Vidas
Yea, that happens if you don't follow the standard some browser will break your code :) For a comprehensive overview of propper HTML nesting rules, consult my diagram: http://vidasp.net/HTMLstructure.htm

[jQuery] Re: SimpleModal overlay does not cover entire screen

2009-12-24 Thread JavaEsse
Oh, and I also set the height and width for the body tag to 100. On Dec 24, 11:43 am, brian wrote: > Your CSS is my first guess. I'm thinking that you've given your BODY > (or HTML) element a set width and margins. Try using a wrapper element > instead to create the content area. > > On Thu, Dec

[jQuery] Re: SimpleModal overlay does not cover entire screen

2009-12-24 Thread JavaEsse
Brian, thanks for the tip. Looks like it worked. I explicitly set the margin and padding for the html and body tags to 0. Then I added a wrapper element and set the padding there. Thank you! On Dec 24, 11:43 am, brian wrote: > Your CSS is my first guess. I'm thinking that you've given your BO

Re: [jQuery] click(function{ problem with Firefox

2009-12-24 Thread Leonardo K
The firefox doesn`t allow you to have a div inside a label. Checkout the firebug and see how the firefox close de label tag before your div. So your label will be empty. On Thu, Dec 24, 2009 at 14:12, turnavies wrote: > Hi, > > I'm working on a login system in CodeIgniter, where you select your >

Re: [jQuery] Re: jQuery Cycle Multiple Pagers

2009-12-24 Thread Charlie
 for the arrows you can create absolute positioned containers over top of the slides that fadeIn, show or whatever when hover over slide. use the "next" and "prev" options to assign selector to your arrows within the overlay containers $("mySlideContainer").cycle({     //other options alread

[jQuery] Re: jQuery Cycle Multiple Pagers

2009-12-24 Thread Mike Alsup
Two pagers, one slideshow: http://jquery.malsup.com/cycle/pager-two.html Mike On Dec 24, 8:54 am, pmAgony wrote: > Update, I was able to successfully complete #2 and #3.  My challenge > right now is being able to get two synchronized pagers on the same > cycle. > > If anyone can chime in to ass

[jQuery] click(function{ problem with Firefox

2009-12-24 Thread turnavies
Hi, I'm working on a login system in CodeIgniter, where you select your avatar and enter your password to login. I've accomplished this by attaching labels containing the avatar to hidden radio buttons. If you click on one of the avatars, the following jQuery script, that I call on document.ready

[jQuery] DataTables plugin

2009-12-24 Thread romsok
Hi, I apologize, but I am rather new to AJAX and JQuery so my questions will probably be basic. I am using DataTables plugin, which I am trying to initialize from a JavaScript function which is called when an AJAX call returns. here is the code: [code] function initMyDataTable() { $('#my

Re: [jQuery] Re: Attaching an event to a non-existing element?

2009-12-24 Thread Octavian Râşniţă
From: "MorningZ" .live() to the rescue http://docs.jquery.com/Events/live#typefn Thank you, but here is what I read about it: Possible event values: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup Currently not supported: blur, focus, mouseente

Re: [jQuery] Re: AJAX request

2009-12-24 Thread Octavian Râsnita
Thanks for your help. Now it works fine. I have also added your idea for checking if it is the same string and I also make the AJAX request only if there are more than 2 chars. The content requested by AJAX prints a combo box and I want to load a certain URL when an element from that combo bo

Re: [jQuery] Jquery + ie7 spans

2009-12-24 Thread brian
Does it work if the span does not have linebreak before it? On Wed, Dec 23, 2009 at 6:05 AM, Alex Mcauley wrote: > Morning and happy holidays!.. > > I am having some trouble with jQuery and IE7 quirks (suprise > suprise).. > > Basically i wrote a script that truncates some text and when "More > D

Re: [jQuery] SimpleModal overlay does not cover entire screen

2009-12-24 Thread brian
Your CSS is my first guess. I'm thinking that you've given your BODY (or HTML) element a set width and margins. Try using a wrapper element instead to create the content area. On Thu, Dec 24, 2009 at 8:36 AM, JavaEsse wrote: > Hello, > > I am using SimpleModal 1.3.3.  In IE6, the overlay does not

Re: [jQuery] toLowerCase method works in Google Chrome but not IE

2009-12-24 Thread brian
The first thing I would do is inspect cookieMood. Obviously, it exists, or the code wouldn't reach that line. But, perhaps it isn't a string, as you expect. On Wed, Dec 23, 2009 at 9:50 PM, ArnieML wrote: > Hi, > > Code snippet is as follows: > > function setStartMood(cookiemood) { > >          

Re: [jQuery] window.parent.document.getElementById('msgAlert').innerHTML

2009-12-24 Thread brian
Try this: $('#msgAlert').html() On Tue, Dec 22, 2009 at 9:13 PM, ajijogja wrote: > hi... im aji > n im newbie in jQ > . > . > i want to know how use jQ with this : > window.parent.document.getElementById('msgAlert').innerHTML > . > . > thx be4 >

[jQuery] Re: Attaching an event to a non-existing element?

2009-12-24 Thread MorningZ
.live() to the rescue http://docs.jquery.com/Events/live#typefn On Dec 24, 10:55 am, Octavian Râşniţă wrote: > Hi, > > I want to set an event handler which is executed after clicking on an > element from a combo box, but that combo box doesn't exist when the page is > created. It is generated b

[jQuery] Attaching an event to a non-existing element?

2009-12-24 Thread Octavian Râşniţă
Hi, I want to set an event handler which is executed after clicking on an element from a combo box, but that combo box doesn't exist when the page is created. It is generated by an AJAX request. I've tried to set an event using: $(document).ready(function(){ $('#term2').onchange(function(){

[jQuery] Re: half protected text input box - help

2009-12-24 Thread Šime Vidas
Well, you can use Firebug to easily locate the code only the part you write is a textbox ".tumblr.com" isn't the code is basically like this .tumblr.com

[jQuery] jQuery.data() works in Mac OS WebKit, but not on iPhone OS?

2009-12-24 Thread Ryan Joseph
I'm playing around with jQTouch for an iPhone OS app that I've been toying with off and on for a while. I wanted to try my hand building it as a web app so I started playing with jQTouch. For reference, here is the page+source (all my code is currently in index.html so you can just "View Source" to

[jQuery] Firebug Detects Error

2009-12-24 Thread felion
This is the error that was detect by the firebug. H is undefined [Break on this error] (function(){var R=/((?:\((?:\([^()]+\)|[... (J,typeof K==="string"?K:K+"px")}})})(); Any news about it or faqs why there is an error thank you?

[jQuery] SimpleModal overlay does not cover entire screen

2009-12-24 Thread JavaEsse
Hello, I am using SimpleModal 1.3.3. In IE6, the overlay does not cover the entire screen. It looks like it is only covering the main content on the page. I've searched around but with no luck. Any ideas as to why this may be happening? Thanks.

[jQuery] Re: js function to jQuery

2009-12-24 Thread Shawn
Does jQuery work when you first load the page, and then it stops working after any ajax postback within the update panel? If this is the case there is a pretty simple fix: instead of using $(document).ready(function() { ...}); use either: function pageLoad() { //code goes here } or Sys.Appli

[jQuery] half protected text input box - help

2009-12-24 Thread Benjamin S
I'm having trouble figuring out how to do this technique... How does one achieve what tumblr does for the URL box. http://www.tumblr.com/ Where the domain is in the box but can't be edited, and anything new goes on the left side. Thanks

[jQuery] Re: Jquery + ie7 spans

2009-12-24 Thread Šime Vidas
Why do you bother with quirks mode? Doesn't having a good DOCTYPE avoid triggering quirks mode? BTW, IE8 in quirks has this problem also, not just IE7

Re: [jQuery] Problem with a search form in a loaded php file??

2009-12-24 Thread Charlie
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F 123gotoandplay wrote: hi, have simple search form which works in list.php Now i am 'loading' list.php in #content and now the search function doesn't work. what i have done - change t

[jQuery] Re: AJAX request

2009-12-24 Thread Šime Vidas
I did some testing and didn't experience your problems... give us your code or put a demo online Another thing... you should also check if the input value has changed since the last keyup event, so you don't send the same data if for example the ENTER or SHIFT keys are pressed you can st

[jQuery] Re: jQuery Cycle Multiple Pagers

2009-12-24 Thread pmAgony
Update, I was able to successfully complete #2 and #3. My challenge right now is being able to get two synchronized pagers on the same cycle. If anyone can chime in to assist, I'd greatly appreciate it. Here's a link to take a look: http://www.cuisinteractive.com/staging/etc/index.php Thanks!

[jQuery] Re: live event with instant execution

2009-12-24 Thread Šime Vidas
What does "initiating elements" mean?

[jQuery] Re: using ":gt" - Firefox error console annouces an error

2009-12-24 Thread Šime Vidas
Yes, I get the same message... but it's not an error, it's just a warning :) And this particular warning tells us that Firefox is not aware of jQuery selectors, at least not of the :gt() selector, but, as long as you know that it is a valid selector (and it works), you should just ignore the warni

[jQuery] Re: Jquery + ie7 spans

2009-12-24 Thread Alex Mcauley
Sorry found a typo in my example... $("#jlist") ... should read $("#list") This is not an error in the script just an error in copy/paste! On Dec 23, 11:05 am, Alex Mcauley wrote: > Morning and happy holidays!.. > > I am having some trouble with jQuery and IE7 quirks (suprise > suprise).. > >

[jQuery] Re: how to access elements with index in for-loop

2009-12-24 Thread johan
Actually, I think this bring much more clarity // recommended way by documentation since it's easier to read $(document).ready(function(){ // For easier reading, don't mix too much css-expressions. This will also be much faster to the sizzle-engine to interpretate // The css-method is also

[jQuery] Re: google.load issue

2009-12-24 Thread speedpac...@gmail.com
Hi Mike, Sorry for the late response, but thanks a lot for this feedback. It does indeed help. I'm only a bit disappointed that I now have 4 google.load() blocks :) thanks a lot though! David. On 17 dec, 03:08, Michael Geary wrote: > Put your lines of code in separate tags. > > google.load()

[jQuery] Re: live event with instant execution

2009-12-24 Thread speedpac...@gmail.com
Hmm - not sure if correct, but would the load event be the one I should be looking at? Sorry for answering my own question, but if someone could confirm, i would feel a lot better ;) David. On 24 dec, 11:28, "speedpac...@gmail.com" wrote: > Hi, > > I do have elements which are being initiated wh

[jQuery] live event with instant execution

2009-12-24 Thread speedpac...@gmail.com
Hi, I do have elements which are being initiated when dom is ready based on css selectors. this works like a charm, and when the dom is ready, I have a function which initialises all elements in the dom based on the selectors. The page however also comes with quite some ajax which inserts new el

Re: [jQuery] using ":gt" - Firefox error console annouces an error

2009-12-24 Thread fran23
thanks for replying. http://old.nabble.com/file/p26911831/gt.png ".s:gt" completely works fine, therefore I assume the error message to be a bug in the Firefox/error console. Can you confirm ? Do you get this error message, too ? (If not it may be a bug in the German (language Version of) Firef