[jQuery] Re: How to solve this

2008-11-06 Thread Johny
Thank you Jeffrey for your reply Best regards, Lad.

[jQuery] Re: Firefox flickering with tab-slider-script

2008-11-06 Thread Oskar Rough
Aha, the js script was applying some overflow to the css as well and with removing that and adding overflow-x: hidden; overflow-y: visible; it works perfectly in Firefox. Thanks a lot. On 4 Nov., 15:53, weidc <[EMAIL PROTECTED]> wrote: > Hi, > > where do you get a scrollbar? i don't get any. jus

[jQuery] calculating size (a problem is if statement)

2008-11-06 Thread claudes
i'm having problems with this code: if ($('.carousel ol').children('li.panel').length > 0) { $('.carousel ').append(''); // build links $('.carousel ol').each(function(i){

[jQuery] Re: Scrolling inside a div with mousemove

2008-11-06 Thread Jeffrey Kretz
Ah, This part of the code: // Use the e.clientX and e.clientY vs this.tempPosition // to determine how much to move the scrollbars according // to your tastes. Was intended to be replaced by math that calculated the setTop and setLeft values. I didn't do that part. JK -Original Message--

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread anthony.calzadilla
Wow! Thank you CodingCyborg! Thank You! I'm going to study and learn from your code example and implement it into mine. -Anthony On Nov 7, 12:24 am, CodingCyborg <[EMAIL PROTECTED]> wrote: > I made a few more modifications such that the robot doesn't keep > bouncing and the sky keep moving when

[jQuery] Re: Add callback to plugin?

2008-11-06 Thread Mike Nichols
Why not take advantage of jquery's event mechanism and do an event based api, like: $("#sel").testStatus(opt).bind("statusupdated.testStatus",function() { //dostuff }); then in your plugin: if (question) { $.ajax({ type: 'POST', url: itemHref + defaults.status

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread anthony.calzadilla
Hi Adrian, Please feel free to use whatever you like, nothing could please me more. Education is taking such a hit these days I think we all have to pitch in a little... -Anthony On Nov 6, 9:38 pm, "Adrian Gould" <[EMAIL PROTECTED]> wrote: > Anthony > That is a great bit of work - now the questi

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
I made a few more modifications such that the robot doesn't keep bouncing and the sky keep moving when the ground has stopped. Though I did the cheap way, in the sense that I just made it a short clip rather than a full length repeat. http://codingcyborg.com/jQueryFun/Robot/robot.html That has t

[jQuery] Re: toggleClass and CSS inheritance

2008-11-06 Thread Matt Kruse
On Nov 6, 3:01 pm, jquertil <[EMAIL PROTECTED]> wrote: > .toggler {background:#fff;} > .open {background:#000;} > $('.toggler').click(function(){ >    $(this).toggleClass('open'); > } > It's really a CSS problem, because the DOM does toggle the classname. > But the background does not change. It

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
This is Beautiful! To save yourself from the copy/paste to create the repeated bounce, and to make the file smaller, you can simply replace the three lines that were enormously long with this: startHim(); And then add this at the bottom of the js file: var num = 1; function startHim(){

[jQuery] Re: Add callback to plugin?

2008-11-06 Thread Hector Virgen
I would add it as an option and set its default value to an empty function: var defaults = { status: '?action=live', onComplete: function() {} } That way you could safely call onComplete when ready and it will either do nothing or call the user-supplied function. -Hector On Thu, Nov 6,

[jQuery] Add callback to plugin?

2008-11-06 Thread Nic Hubbard
What is the best way to add a callback to a plugin that I wrote? Do I just add it as an additional option? So, after the ajax function is run, how would I allow a custom callback or function to be added by the user? $.fn.testStatus = function(options) { var defaults = { status: '?ac

[jQuery] Re: Scrolling inside a div with mousemove

2008-11-06 Thread Dan
Hi Jeffrey, Thank you for your reply, however I can't seem to get your code to work. I'm getting an error that says "setTop is not defined" Any idea why this is? On Nov 6, 1:15 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Well, you could do something like this (completely untested, sorr

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
Hmm, I think I've been attempting to solve a problem that doesn't exist. Or it just wasn't the only one. Currently the link in the iFrame is in a PHP page. I've had problems with PHP and jQuery not seeing each other like I had expected. jQuery isn't recognizing that the div exists for some reason.

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
I can't seem to find documentation on the additional parameters of the jQuery selectors. I've searched the jQuery site and Google, but can't find this information. A link to the page would be helpful. On Nov 6, 6:25 pm, jquertil <[EMAIL PROTECTED]> wrote: > sorry I dont really understand your que

[jQuery] Re: Accessing elements produced with AJAX

2008-11-06 Thread Ben
Thanks a bunch for the post! I actually found that earlier today and have been playing with it. Let me note what I've found and maybe we can compare ideas and help each other out here. First of all, I got my update button to register a click using this code: $(":button.ajaxUpdate") .l

[jQuery] Filtering DIV from Form

2008-11-06 Thread Mike S
I am trying to use checkboxes to filter a group of DIV elements based on their class. The example below works but I am looking for a better solution.The code below uses the form plugin. This works http://www.w3.org/1999/xhtml";> $(function(){ $('#filterBu

[jQuery] Re: Accessing elements produced with AJAX

2008-11-06 Thread idealists
I think this plugin will help do it: http://docs.jquery.com/Plugins/livequery Infact im trying to get this to do something similar for me, but having trouble, Hope that helps. Ben wrote: > Hi all! I have a question regarding the ability to access content > produced by an AJAX request. > > I ha

[jQuery] LiveQuery with Tipsy (tooltip) help

2008-11-06 Thread idealists
Im got a section of my page which updates via ajax pagination. The jQuery tipsy tooltips work on the initial page load, but when I click Page "2" and so on, and the ajax containing div updates with new content the tipsy tooltips do no display. Solution (I thought) was to use the jQuery LiveQuery p

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread Adrian Gould
Anthony That is a great bit of work - now the question, educator to educator, would you mind me taking your code apart and showing my students? Adrian

[jQuery] Re: using my{} instead of ${}.

2008-11-06 Thread Dave Methvin
You could use noConflict: http://docs.jquery.com/Core/jQuery.noConflict

[jQuery] Understanding JQuery/Javascript.

2008-11-06 Thread George
Hi guys, I need some help with understanding JQuery/Javacript. I am far away form being a Javascript guru so I am not sure I understand why something done this (or other) way. I am looking at tablesorterPager plug-in and it's written following way (function($) { $.extend({

[jQuery] Accessing elements produced with AJAX

2008-11-06 Thread Ben
Hi all! I have a question regarding the ability to access content produced by an AJAX request. I have a simple tabular row: BenRoss I use jquery to obtain the id's of each td when the "Edit" button is pressed, send them off to a php script. The php script queries the database, returns the value

[jQuery] Re: Selectors with :has and with variables

2008-11-06 Thread [EMAIL PROTECTED]
Thank you, Hector, but there's still nothing happening . Any other clues? (My grandmother and firstborn are now on offer) Cherry On Nov 7, 12:27 am, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > Maybe this: > > $( '"#cat [" + theID + "] ul"' ).toggle() ; > > Should be like this? > > $( "#cat

[jQuery] Re: Selectors with :has and with variables

2008-11-06 Thread [EMAIL PROTECTED]
Karl, thank you SO much for that! At least I can now be sure my toggle thing isn't failing because of the "g" error :)) Cherry. On Nov 7, 12:26 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > You don't want ":has" you want a normal attribute selector. > > $( '#themenu' ).children( 'li[id]' )

[jQuery] Re: width shrinked after appending new

2008-11-06 Thread slypheed
I had this exact same problem: to fix I had to set an explicit pixel width (_not_ %) on the select really weird alright... Have no idea whats going on, so would love it if someone could shed some light on this. cheers, jon On Oct 24, 9:11 am, damenlon <[EMAIL PROTECTED]> wrote: > Hi, > > The

[jQuery] [jQuery UI: Sortables

2008-11-06 Thread Michael
Good evening, I am rather new to Jquery and js in general and I'm trying to implement a few things into an existing application. Believe me when I say learning jQuery has been far easier that messing with anything else out there... Now, in regards to my current issue. I have a list of menu it

[jQuery] Re: empty().append() slow

2008-11-06 Thread Brandon Aaron
It has to do more than just set innerHTML to a blank string to avoid memory leaks. :( -- Brandon Aaron On Thu, Nov 6, 2008 at 6:28 PM, jquertil <[EMAIL PROTECTED]> wrote: > > thanks Karl, > > didn't make a difference. I suppose I'll have to preload everything > and show/hide things... ugh. > > do

[jQuery] Re: empty().append() slow

2008-11-06 Thread jquertil
thanks Karl, didn't make a difference. I suppose I'll have to preload everything and show/hide things... ugh. does empty() go through the entire element node tree and remove things one by one or something? I kept thinking it just sets innerHTML=''.

[jQuery] Re: Selectors with :has and with variables

2008-11-06 Thread Hector Virgen
Maybe this: $( '"#cat [" + theID + "] ul"' ).toggle() ; Should be like this? $( "#cat #" + theID + " ul" ).toggle() ; -Hector On Thu, Nov 6, 2008 at 4:14 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > I have read the other threads on this topic, but am still getting > nowhere ... > >

[jQuery] Re: Selectors with :has and with variables

2008-11-06 Thread Karl Rudd
You don't want ":has" you want a normal attribute selector. $( '#themenu' ).children( 'li[id]' ) Karl Rudd On Fri, Nov 7, 2008 at 11:14 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have read the other threads on this topic, but am still getting > nowhere ... > > I'm trying to make a s

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread jquertil
sorry I dont really understand your question, but inter-frame actions work something like this: $('#button').click(function(){ $("#divInParentFrame",top.document).remove(); }); read up on jquery's selectors and additional parameters, its al

[jQuery] Re: empty().append() slow

2008-11-06 Thread Karl Rudd
Try making the selector more specific. So instead of $('.full') use $('div.full'). Karl Rudd On Fri, Nov 7, 2008 at 11:19 AM, jquertil <[EMAIL PROTECTED]> wrote: > > if I have a lot of elements inside ... > > and then do $('.full').empty().append ('blah'); > > it takes a long time. Is there a wa

[jQuery] Re: Crossbrowser problem with Jquery Extension fieldSelection

2008-11-06 Thread Karl Rudd
I'd build a function that, in IE, gets the part of the string before the selection, works out how many /n characters there are and subtracts that from the selection's start index. Karl Rudd On Fri, Nov 7, 2008 at 2:17 AM, Diego Pessoa <[EMAIL PROTECTED]> wrote: > Please? > > On Tue, Nov 4, 2008

[jQuery] Re: toggleClass and CSS inheritance

2008-11-06 Thread jquertil
thats quite creative thinking, I like it! thanks!

[jQuery] empty().append() slow

2008-11-06 Thread jquertil
if I have a lot of elements inside ... and then do $('.full').empty().append ('blah'); it takes a long time. Is there a way to speed that up?

[jQuery] Selectors with :has and with variables

2008-11-06 Thread [EMAIL PROTECTED]
I have read the other threads on this topic, but am still getting nowhere ... I'm trying to make a simple (haha) show-hide menu. The first & last menu items are static - and don't have IDs. I need to select them out, otherwise I get a "g is undefined" error. Problem 1: The initial selection does

[jQuery] Thickbox positioning

2008-11-06 Thread Nic Hubbard
I am trying figure out how thickbox positions an image that is centered horizontally and verticly. The CSS shows that it is position:fixed; top: 50%; left: 50% when trying this, it makes the element off center, to the bottom right of the browser. Does thickbox use extra jQuery to position its "t

[jQuery] Re: Show Function Disappering

2008-11-06 Thread Rik Lomas
This is more a CSS problem, make add this to your CSS: p#p1 { display: none; } That should fix it Rik 2008/11/6 jquerist <[EMAIL PROTECTED]>: > > Ya it appears for the duration of the page loading, then disappears. > Anyone? > > On Nov 6, 4:14 pm, jquerist <[EMAIL PROTECTED]> wrote: >> Heres m

[jQuery] Re: Array in get help

2008-11-06 Thread Rik Lomas
http://www.learningjquery.com is always a good place to start :) Rik 2008/11/6 Yessica <[EMAIL PROTECTED]>: > > Thank you very much, I see I have lack of knowledge in some basic > staff... Can you recommend me some book or site where I can learn > these things? -- Rik Lomas http://rikrikrik

[jQuery] Re: Help with jQuery Suckerfish 2-tier navigation

2008-11-06 Thread Geuis
Don't use a strict javascript approach to building suckerfish menus. Use CSS, and only add javascript to support hover on non-anchor elements in IE6. Use the Son of Suckerfish page for the basics. http://www.htmldog.com/articles/suckerfish/dropdowns/ Here is a complete working example: http://

[jQuery] Re: jQuery + HTML namespaces

2008-11-06 Thread Karl Rudd
jQuery doesn't place play well with XML or namespaces, especially in IE but that's mostly because of IE's ... quirks. Technically HTML doesn't have namespaces, which probably explains why they "sort of work sometimes in most browsers". I suggest you use the innerHTML method to insert the code. In

[jQuery] Re: jQuery + HTML namespaces

2008-11-06 Thread Geuis
I have absolutely no idea if this will help with your problem, but check out http://docs.jquery.com/Core/jQuery.noConflict On Nov 6, 2:58 pm, ken <[EMAIL PROTECTED]> wrote: > I've found several instances of people having trouble using jQuery with a > document that implements custom HTML namespa

[jQuery] jQuery + HTML namespaces

2008-11-06 Thread ken
I've found several instances of people having trouble using jQuery with a document that implements custom HTML namespaces (i.e. ), and I was wondering if anyone had developed any work-arounds? I've recently been tasked with incorporating jQuery into our corporate application -- largely due to my p

[jQuery] Help with jQuery Suckerfish 2-tier navigation

2008-11-06 Thread FudgeCat
Hello all, Any help on this is greatly appreciated people :) I am currently working on a site for a local college - I have implemented a jquery suckerfish menu as 2 sets of lists, I am looking to to make the first (top level) nav remain in its hover state when/while the second (sub nav) is s

[jQuery] Possible bug in animate() --- and/or --- help me with a workaround?

2008-11-06 Thread MTF
Hi everyone. First of all, I'm absolutely loving jQuery. Amazing work to all those who have worked on it. Thanks. So, I'm doing a pretty simple animation using the animate method. jQuery 1.2.6. (Complete example source is included at the bottom of this post.) I have an absolutely positioned DIV w

[jQuery] How to get complete event object model for a page?

2008-11-06 Thread Geuis
Sorry if the subject doesn't quite describe what I'm after. Hopefully the description works better. Ok, so is there a way to find out all of the events and functions that have been bound to elements in a page? For example, if you did , or if you did document.body.addEventListener('load',func(),fa

[jQuery] Re: How to load only one image at a time using JQuery Cycle Plugin?

2008-11-06 Thread OutOfTouch
> > Is there a way to get the index of the image in the after method? > > View source on this page to see how to get the index: > > http://www.malsup.com/jquery/cycle/after.html Perfect thanks!

[jQuery] Re: My menu divs get behind content when shown on IE

2008-11-06 Thread FG
Thanks. A high z value solved the issue. But in IE6 still can not get those divs to show. Will try without jQuery to see if it's the culprit. FG On Nov 6, 2:39 pm, Althalos <[EMAIL PROTECTED]> wrote: > It doesn't work in Firefox for me... and I don't think it should. I > had this problem as w

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
So I've changed the code for the iFrame to: jQuery(document).ready(function(){ $('div .contacts').click(function(){ window.top.linkIt(); }); }); But it's still not calling the function in the parent window. Am I doing it wrong? Or is there possibly a different way? On Nov 6, 3:54 pm, tlph

[jQuery] Re: Show Function Disappering

2008-11-06 Thread jquerist
Ya it appears for the duration of the page loading, then disappears. Anyone? On Nov 6, 4:14 pm, jquerist <[EMAIL PROTECTED]> wrote: > Heres my Code: > > > > > jQuery > > > > $(document).ready(function() > { > > $('p#p1').hide(); > $('a#paragraphShow').click(function() > > { > > $('p#p1').show

[jQuery] Re: Fast trim implementation

2008-11-06 Thread Ariel Flesler
This trim is faster than the regex-based one on most cases. Even for a small string, I get 30ms vs 55ms on FF3. IE is the only one that seems to have a great regex engine, or a dreadful js engine. In some cases, on very small strings, it is indeed slower. On Tue, Nov 4, 2008 at 7:14 PM, ricardob

[jQuery] How to create content from Ajax XML reply?

2008-11-06 Thread tonous
Hello all, I'm still quite new in jQuery/JavaScript, but I'm managing some old school perl cgi web application, which I already improved with few jQuery plugins and enhancements (datepicker, wymeditor,timeentry). I have a working self made Ajax part for update of inputs (specially selects) from x

[jQuery] visulization of network in jQuery .... e.g. Gene 1 -->(interacts with) Gene2 and so on..something like social network style,

2008-11-06 Thread SH
Hi all, I am bioinformatician and using jquery, its great and fantastic. I am looking for a plugin or script which can display Gene Interaction Data. I have finished one project and try to add one more functionality to it. I like to view Network of info. e.g. Gene1 -- >(interacts with) Gene2 and

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread Hector Virgen
Here's a useful list of CSS3 selectors. I believe jQuery supports all if not most of them in the $() function. http://www.w3.org/TR/2001/CR-css3-selectors-2003/#selectors -Hector On Thu, Nov 6, 2008 at 1:28 PM, nmiddleweek <[EMAIL PROTECTED]>wrote: > > Ah, ok... this will do it as well. >

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread tlphipps
you should be able to call a function on the parent page by doing: window.top.myFunctionName(); On Nov 6, 2:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm currently working on a very interesting interface for a game, in > which I use many iFrames. I have a div set up as a link(using

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread nmiddleweek
Ah, ok... this will do it as well. Cheers guys, Nick On Nov 6, 9:21 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Docs > > http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue > > Applied to your objects > > $("*[id^='tag_cWeb_TSW_Day']") > > On Nov 6, 4:19 pm, jquertil <[EMAIL PROTE

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread nmiddleweek
Thanks for your reply... How do I select with the class and id if I go that route? I like this approach... Is there a good link to docs for it? Cheers, Nick On Nov 6, 9:17 pm, jquertil <[EMAIL PROTECTED]> wrote: > you're better served using class grouping and setting up your elements > like

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread ripple
Try:   $(document).ready(function() { // JQUERY stuff goes here //$('div#menu').hide();  $('#testlink').click(function() {   $(this).hide();  }); }); OR    $(document).ready(function() { // JQUERY stuff goes here //$('div#menu').hide();  $('#testlink').click

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread MorningZ
Docs http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue Applied to your objects $("*[id^='tag_cWeb_TSW_Day']") On Nov 6, 4:19 pm, jquertil <[EMAIL PROTECTED]> wrote: > aslo, $('#tag_cWeb_TSW_Day*').css('visibility', 'hidden') > > that can just be > $('#tag_cWeb_TSW_Day*').hi

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread Warren
Anyone? I would think it's something rather easy that I'm missing. On Nov 6, 2:07 pm, Warren <[EMAIL PROTECTED]> wrote: > It doesn't work when the image is inside an tag and using the id > of the a tag to make it disappear, like so: > >       $(document).ready(function() { >         // JQUERY s

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread jquertil
aslo, $('#tag_cWeb_TSW_Day*').css('visibility', 'hidden') that can just be $('#tag_cWeb_TSW_Day*').hide()

[jQuery] Re: How to select a group of similar named objects?

2008-11-06 Thread jquertil
you're better served using class grouping and setting up your elements like blah then you can select with the class, and the individual elements with the id attribute, respectively.

[jQuery] How to select a group of similar named objects?

2008-11-06 Thread nmiddleweek
Hello, I'm trying to select all element on page that have a similar ID... Object IDs are: tag_cWeb_TSW_Day01 tag_cWeb_TSW_Day02 tag_cWeb_TSW_Day03 tag_cWeb_TSW_Day04 Is there a wildcard character I can use to reference all of the above but using the keyword: tag_cWeb_TSW_Day* $('#tag_cWeb_TSW

[jQuery] Re: toggleClass and CSS inheritance

2008-11-06 Thread Mario Estrada
Something like this may work: blah $('#any').click(function(){ $(this).toggleClass('open'); $(this).toggleClass('toggler'); } .toggler {background:#fff;} .open {background:#000;} .Mario +593 9 3623535 [EMAIL PROTECTED] http://mario.ec On Thu, Nov 6, 2008 at 4:01 PM, jquertil <[EMAIL PROTE

[jQuery] Re: toggleClass and CSS inheritance

2008-11-06 Thread jquertil
keeping in tradition of answering my own questions, I came up with this solution but I don't like it much because it's more code. I use jquery because its supposed to be less code :) $('.toggler').click(function(){ $(this).toggleClass('open'); $(this).attr('class')=='expander' ? $(this).att

[jQuery] Re: Show Function Disappering

2008-11-06 Thread jquerist
Heres my Code: jQuery $(document).ready(function() { $('p#p1').hide(); $('a#paragraphShow').click(function() { $('p#p1').show(); }); }); Click to Display paragraph Paragraph1 Paragraph 2 On Nov 6, 3:37 pm, Althalos <[EMAIL PROTECTED]> wrote: > Example is right here:ht

[jQuery] Re: Show Function Disappering

2008-11-06 Thread Althalos
Example is right here: http://docs.jquery.com/Effects/show How are you hiding your div? It should (preferably) be done using css display:none; ... and then you have to make sure that what you do doesn't conflict with anything else you might've put on there.. which we can't know because you didn't

[jQuery] How to select a group of similar named objects?

2008-11-06 Thread nmiddleweek
Hello, I'm trying to select all element on page that have a similar ID... Object IDs are: tag_cWeb_TSW_Day01 tag_cWeb_TSW_Day02 tag_cWeb_TSW_Day03 tag_cWeb_TSW_Day04 Is there a wildcard character I can use to reference all of the above but using the keyword: tag_cWeb_TSW_Day* $('#tag_cWeb_TSW

[jQuery] Re: My menu divs get behind content when shown on IE

2008-11-06 Thread Althalos
It doesn't work in Firefox for me... and I don't think it should. I had this problem as well with an autocomplete thingy, and I solved it using z-index so try that. Set it to 100 or something on your menu div. On 6 Nov, 20:29, FG <[EMAIL PROTECTED]> wrote: > I'm using jQuery for showing hidden me

[jQuery] "Link" in an iFrame changing Parent window elements

2008-11-06 Thread [EMAIL PROTECTED]
I'm currently working on a very interesting interface for a game, in which I use many iFrames. I have a div set up as a link(using $ ('.link').click) in an iFrame and need it to run some jQuery that I have written out that works correctly for the same link set up on the parent page. I'm not sure i

[jQuery] Re: My menu divs get behind content when shown on IE

2008-11-06 Thread Mario Estrada
put a very high z-index property on your css, that will hopefully do the job. .menu_items{ z-index:500; } .Mario +593 9 3623535 [EMAIL PROTECTED] http://mario.ec On Thu, Nov 6, 2008 at 2:29 PM, FG <[EMAIL PROTECTED]> wrote: > > I'm using jQuery for showing hidden menus on this page: > http://w

[jQuery] toggleClass and CSS inheritance

2008-11-06 Thread jquertil
.toggler {background:#fff;} .open {background:#000;} $('.toggler').click(function(){ $(this).toggleClass('open'); } It's really a CSS problem, because the DOM does toggle the classname. But the background does not change. blah Only solution I can think of is not using toggleClass, but its s

[jQuery] Re: jQuery, ASP.Net and Drop-Down-Lists

2008-11-06 Thread Damien
Thought I would make the question clearer. I need to be able to access a control, using JavaScript (or assigning a result from a script that would get the correct ID to then use in the selector), without using code-behind and ideally as concise as possible. Thank you.

[jQuery] Re: 26 october occuring two times: datepicker bug?

2008-11-06 Thread Gauthier Segay
Thanks a bunch, I'm upgrading :) On Nov 6, 2:49 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > Sounds like you ran into this > bug:http://groups.google.com/group/jquery-ui/browse_frm/thread/d4f1fb6473...

[jQuery] Show Function Disappering

2008-11-06 Thread jquerist
So Im just starting to learn JQuery and im making a simple webpage that hides a paragraph when the page opens and then you click a link to view that paragraph. However when i run the script, the paragraph comes on for a second and then disappears. I searched for a fix and i havent found anything y

[jQuery] jquery validation: manually set the form validity state?

2008-11-06 Thread kedr
I have a form that is split into 3 different tabs. You can only move to the next tab if the part of the form on the current tab is valid. I have 3 separate validator code sections each with their own rules and messages. I attach an onclick handler to the custom button to return ('#myForm').validat

[jQuery] Re: Executing Scripts returned by AJAX Request

2008-11-06 Thread briandichiara
Well, I was actually looking for a more specific answer, however I did find out through trial and error that it works sort of like this: $.ajax({ success: function(response){ if(response.indexOf('

[jQuery] Re: Form Plugin: editing/adding data before send

2008-11-06 Thread Mike Alsup
> Ooooh, right, I didn't think of that (I am fairly new to making stuff with > ajax). I guess there is no way to make the ajaxForm function wait for this > particular response? But I guess this is a different topic now.. The way to do it is to return false from the beforeSerialize function; that

[jQuery] Re: jQuery Cycle - remove slide

2008-11-06 Thread devilmike
Thanks Mike. Great plugin btw. > Not without stopping first and restarting afterwards.

[jQuery] My menu divs get behind content when shown on IE

2008-11-06 Thread FG
I'm using jQuery for showing hidden menus on this page: http://www.guadalajaracinemafest09.com/es/ Every browser behaves correctly, showing the yellow menus when clicking on the navigation bar. IE shows the content but _beneath_ the content of the other divs. Is this jQuery related? or will I ne

[jQuery] Re: Array in get help

2008-11-06 Thread Yessica
Thank you very much, I see I have lack of knowledge in some basic staff... Can you recommend me some book or site where I can learn these things?

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread Warren
It doesn't work when the image is inside an tag and using the id of the a tag to make it disappear, like so: $(document).ready(function() { // JQUERY stuff goes here //$('div#menu').hide(); $('#testlink').click(function() { $(lifeimage).hide(); });

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread ripple
I just noticed that I mixed up the divs by suggesting advertise.   Save yourself the hassle and wrap the img tag in a link and us the link for the click.   A browsers assigned nature is that an img is not clickable without another element(ie, href).   --- On Thu, 11/6/08, Warren <[EMAIL PROTECT

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread Warren
If I use some images on the page it works, and then others do not. I know img tags can be clickable - and I'm using firefox to test at the moment. On Nov 6, 1:41 pm, ripple <[EMAIL PROTECTED]> wrote: > An image can't be clickable in, if I remember IE? >   > Change the click to the div "advertise

[jQuery] Re: Form Plugin: editing/adding data before send

2008-11-06 Thread Spikx
malsup wrote: > > This sort of thing comes up a lot so I've added a new callback > function called 'beforeSerialize'. You can use it like this: > > var ajaxFormOptions = { > beforeSerialize: function($form, opts) { > $("#hidden_input").attr("value","test"); > } > }; > > $('#f

[jQuery] Re: Form Plugin: editing/adding data before send

2008-11-06 Thread Spikx
malsup wrote: > > >> but for some reason the input field stays empty this way: > > Yeah, that reason is known as asynchronous programming. When you make > that ajax call you will get a response some time in the future, not > immediately. > > Ooooh, right, I didn't think of that (I am fai

[jQuery] Form Plugin Incompatible with Firefox 3

2008-11-06 Thread Chris
I'm trying to use the jQuery Form Plugin (http://www.malsup.com/jquery/ form/). The "ajaxSubmit" code sample works fine for me in IE7, but it doesn't work at all in Firefox3. The form submits normally, without any JS errors. Has anyone else run into this, and if so is there any way to fix it? I n

[jQuery] Re: How to load only one image at a time using JQuery Cycle Plugin?

2008-11-06 Thread Mike Alsup
> Is there a way to get the index of the image in the after method? View source on this page to see how to get the index: http://www.malsup.com/jquery/cycle/after.html

[jQuery] Can't figure out why click function won't work for lifeimage

2008-11-06 Thread Warren
I've spent a good bit of time trying to figure this out, so I figure now it's time to go to the forum. I've trying to make "lifeimage" clickable so I can do other stuff with it, but I can't even seem to get the click event to function. Code is below. Code: http://www.w3.org/1999/xhtml"; xml:lang

[jQuery] Re: Form Plugin: editing/adding data before send

2008-11-06 Thread Mike Alsup
> but for some reason the input field stays empty this way: Yeah, that reason is known as asynchronous programming. When you make that ajax call you will get a response some time in the future, not immediately.

[jQuery] Re: Can't figure out why click function won't work for lifeimage

2008-11-06 Thread ripple
An image can't be clickable in, if I remember IE?   Change the click to the div "advertise"           http://2whoa.com/dominate/   --- On Thu, 11/6/08, Warren <[EMAIL PROTECTED]> wrote: From: Warren <[EMAIL PROTECTED]> Subject: [jQuery] Can't figure out why click function won't work for lifeimag

[jQuery] Re: Form Plugin Incompatible with Firefox 3

2008-11-06 Thread Mike Alsup
> I'm trying to use the jQuery Form Plugin (http://www.malsup.com/jquery/ > form/). The "ajaxSubmit" code sample works fine for me in IE7, but it > doesn't work at all in Firefox3. The form submits normally, without > any JS errors. Has anyone else run into this, and if so is there any > way to fi

[jQuery] Re: Event Firing Twice

2008-11-06 Thread n8cshaw
I was wrong about it being fixed if local scripts are not included. It was throwing an error because a script did not exist, which was stopping the event stack, thus preventing the event from firing twice. I am still stumped... my stripped down version, which only contains 3 divs and very little

[jQuery] Re: Superfish Feature Request

2008-11-06 Thread WimpLo
Awesome! Thank you Joel. On Nov 6, 7:10 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Have a look at this Superfish extension called "Supposition". It is an > effort to achieve exactly what you are asking for, although it comes > with no guarantees or support. > > http://users.tpg.com.au/j_birch

[jQuery] Form Plugin Incompatible with Firefox 3

2008-11-06 Thread Chris
I'm trying to use the jQuery Form Plugin (http://www.malsup.com/jquery/ form/). The "ajaxSubmit" code sample works fine for me in IE7, but it doesn't work at all in Firefox3. The form submits normally, without any JS errors. Has anyone else run into this, and if so is there any way to fix it? I n

[jQuery] Can't figure out why click function won't work for lifeimage

2008-11-06 Thread Warren
I've spent a good bit of time trying to figure this out, so I figure now it's time to go to the forum. I've trying to make "lifeimage" clickable so I can do other stuff with it, but I can't even seem to get the click event to function. Code is below. Code: http://www.w3.org/1999/xhtml"; xml:lang

[jQuery] Re: Form Plugin: editing/adding data before send

2008-11-06 Thread Spikx
Ok, it seems I still need help here. var ajaxFormOptions = { beforeSerialize: function(){ $("#hidden_input").attr("value","test"); } }; $('#form').ajaxForm(ajaxFormOptions); works fine now :). However, in reality, I don't want to set the value of the input field to an arbitrary value, I actua

[jQuery] Re: jCarousel, localScroll, other options?

2008-11-06 Thread Ariel Flesler
You include the easing plugin after jQuery, then when you call LocalScroll: $(...).localScroll( easing:'easeOutQuart', }); You can chose any equation, by name. On Thu, Nov 6, 2008 at 3:21 PM, genius switch <[EMAIL PROTECTED]> wrote: > > Thanks Ariel! I will give that a sho

[jQuery] Re: placeholder - treeview

2008-11-06 Thread Dan Baughman
to expand a bit further on this, I'm looking for away to remove the "placeholder" from the specific branch, or prevent it from appearing. Thank you in advance, dan On Thu, Nov 6, 2008 at 11:03 AM, Dan B. <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using treeview to browse a bunch of categoriz

  1   2   >