[jQuery] Re: Selection broken in Firefox 3.5.7

2010-01-20 Thread Martin Lodewyks
The syntax is wrong, should be :checked. On Jan 19, 10:31 pm, Jeff wrote: > Hi, > > I have the following code to ensure at least one report checkbox is > checked on my page > > if ($("input[type='checkbox'][checked]").size() == 0) > { >                   $("#error").css("color", "red").text("Plea

[jQuery] Re: SimpleModal (probably something really stupid)

2010-01-08 Thread Eric Martin
I would strongly suggest downloading the one of the demos [1], like the basic one, which will probably help answer all of your questions. -Eric [1] http://www.ericmmartin.com/projects/simplemodal-demos/ On Jan 7, 7:57 pm, polarwarp wrote: > I am using the jquery simplemodal code to display a

[jQuery] Rollovers - change from black&white to colour

2009-11-27 Thread martin-s
#x27;d like the images to also change from black&white to colour on hover. Is that possible with a plugin? Any hints are very much appreciated. Martin

[jQuery] Re: Issue with simplemodal plugin and absolute positioned content

2009-11-26 Thread Eric Martin
Eric, I don't have IE6 installed (just got a new laptop with windows 7), but I wasn't able to reproduce the issue in IE8 compatibility mode. SimpleModal only styles the dialog element, so I'm not sure why that would be affecting other divs on your page... -Eric On Nov 26, 4:50 am, Eric Getchell

[jQuery] Re: SimpleModal 1.33 Fix

2009-11-16 Thread Eric Martin
Actually, the values are correct, this isn't a bug. mh and mw stand for maximum height and maximum width. ;) That isn't apparent from the variable names, but you can tell when they are assigned. -Eric On Nov 15, 9:11 pm, Enobrev wrote: > Found a bug in SimpleModal 1.33 > > - If Content Height i

[jQuery] Re: resize.simplemodal

2009-11-10 Thread Eric Martin
There are a few different ways you could handle this. I've provided a couple of ideas below" 1) after you get the ajax content, check it's height/width and adjust the container dimensions accordingly: $('#modal').modal({ onShow: function (d) { $('#modalclick', d.container[

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
I fixed the issue and released 1.3.3[1]. I updated the demo downloads, but all you need to do is use the newest version of SimpleModal. -Eric [1] http://code.google.com/p/simplemodal/downloads/list On Oct 30, 6:20 am, Eric Martin wrote: > Bruce, > > Thanks for reporting the issue. I

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
Bruce, Thanks for reporting the issue. I was able to reproduce the issue and will work on a fix. -Eruc On Oct 29, 10:51 pm, Bruce MacKay wrote: > Hi folks, > > I've just updated a previously functioning piece of code that uses > the simplemodal plugin - the code does an ajax call to a file > co

[jQuery] Re: Beginner - how to travers up one node and down again

2009-10-27 Thread Martin
Thanks guys, Nice to get such a quick reply. Thanks for the tips! Martin On Oct 27, 4:29 pm, Paul Mills wrote: > Hi, > If you just want to do a simple show/hide then you don't need to add a > class. You can use jQuery hide() and toggle() functions. > Like this: >

[jQuery] Beginner - how to travers up one node and down again

2009-10-27 Thread Martin
I'm trying to do a simple show/hide. When a user clicks an a link, I want to hide the dd for that link. Any ideas why the .children() is not working? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Tabs 1 .hide {display: none;}

[jQuery] Re: IE: call function defined in ajax loaded page

2009-10-17 Thread Eric Martin
Michael, Is it possible to provide a link or post some code examples of what you are trying to do. If it is undefined in IE, it may be caused by the way you are loading the scripts or the order you have them in. You might also try putting all of your code inside a document ready block to make su

[jQuery] Re: Simple Modal Close Event

2009-10-17 Thread Eric Martin
If you use the onClose callback, you must call $.modal.close() to remove the dialog elements from the DOM. If an onClose callback has been used, calling $.modal.close() will not trigger the callback again, it can only happen once. I suggest using the onShow callback to bind your second event base

[jQuery] Publish & subscribe / event pooling

2009-10-11 Thread Martin Tschofen
I've been noodling around on how to create a pubsub system that doesn't depend on linking objects and events together. Based on previous post it turns out to be straight forward with bind and trigger (see code below). However, two things I can't figure out. I can't figure out why namespaced events

[jQuery] Passing arguments to an ajax call that returns automagically

2009-10-02 Thread Martin Tschofen
find much (not quite certain what to search for in the first place). thanks...martin

[jQuery] ajax submit upload file firebug... no answer

2009-10-02 Thread Harold Martin
Hi, I've a technical problem, i use jQuery Form Plugin and it's working well except for upload file. Effectively after uploading file we can't see any response in firebug. (You can see an example in the official website of jquery form plugin http://malsup.com/jquery/form/#code-samples) And in th

[jQuery] [Tablesorter] Problem with unsortable columns

2009-09-28 Thread Martin
isable it by setting the property sorter to false sorter: false } },widgets: ['zebra']}); }); That works fine. The only issue is, that the up-down arrows are still visible in ALL columns. Shouldn't they disappear in those two, where I set sorter to false? Martin

[jQuery] Re: Simple Modal Height and Width

2009-09-16 Thread Eric Martin
As long as the content being used in the modal has a height and width supplied, SimpleModal will use those values to size the dialog. For example, using the basic demo as a base and given the following: CSS: #simplemodal-overlay {background-color:#000; cursor:wait;} #simplemodal-container {colo

[jQuery] Re: SimpleModal Contact Form and Sidebar

2009-09-16 Thread Eric Martin
Trent, I'm not quite sure what you are asking. Could you clarify your question? Thanks, Eric On Sep 12, 7:48 am, Trent <26g...@gmail.com> wrote: > How can I embedSimpleModalContact > Formhttp://www.ericmmartin.com/projects/simplemodal/ > in the sidebar, whose position is fixed on the scrolling

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-16 Thread Eric Martin
n Sep 11, 7:31 pm, folder123 wrote: > > > I'm still having issues with the code below, the slider now doesn't > > even show up on a 2nd window open. > > > Any thoughts greatly appreciated, I'm sure i'm missing something > > simple. > > > -k &g

[jQuery] Re: SimpleModal 1.3 height

2009-09-15 Thread Eric Martin
Warren, Can you send me (or better yet create an issue[1]) with a working code sample of the issue you are having? Thanks, Eric [1] http://code.google.com/p/simplemodal/issues/list On Sep 15, 12:09 pm, Warren Benedetto wrote: > Figured it out myself, so I'm posting for anyone else with this >

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread Eric Martin
Use the onShow callback in SimpleModal to call the slider init code: $('#basic-modal-content').modal({onShow: function (dialog) { $("#slider-vertical", dialog.container[0]).slider({ orientation: "vertical", range: "min", min: 50, max: 300, value: 100,

[jQuery] Re: simpleModal question. PLEASE HELP!

2009-09-09 Thread Eric Martin
David, The problem is being caused by the data you are trying to place in the modal. You can fix it by wrapping the data in a div before using it in the modal: $(document).ready(function() { [snip] $.get("form.cfm", function(data){ // create a modal

[jQuery] [jQuery Corner] Problem using nested corners/borders

2009-09-02 Thread J. Martin
I am attempting to create a box with malsup's jQuery nested corners, but can't get it to display properly. Here's my CSS: testing { margin: 0; background: #ffc; padding: 10px; border:0; zoom: 1;} div.outer { float: left; margin: 15px; background: #c82; padding: 8px; width: 22em } My JS: $(functi

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Eric Martin
> > > If you are referring to the known issues I mentioned - since they are > > browser issues, > > Eric, thanks for the response. What issues did you mention that I missed? http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes [under Known Issues] > > > you'd need to implement somethi

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Eric Martin
If you are referring to the known issues I mentioned - since they are browser issues, you'd need to implement something that woul keep track of state in those browsers. On Aug 31, 6:45 am, "Steffan A. Cline" wrote: > on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote: > > > > > > > > >

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-30 Thread Eric Martin
With SimpleModal, you can use the persist option: $(el).modal({persist:true}); There are some known issues in IE though.[1] -Eric [1]: http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes [under Known Issues] On Aug 30, 12:48 pm, "Steffan A. Cline" wrote: > I have tried both of th

[jQuery] Re: $.ajax and $.getJSON in not working in mozilla

2009-08-28 Thread Leonard Martin
Try accessing the target page directly in the browser and copying the output into http://jsonlint.com. It sounds like there's an error in the JSON output. On Aug 28, 7:07 am, dalvir wrote: > hi.. > >    I'm using $.getJSON to get data from WCF service in the form om > json. this is working fin

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-28 Thread Leonard Martin
its done in an ajax call :)  thanks! > > On Aug 27, 12:22 pm, Leonard Martin wrote: > > > Have you also tried accessing your PHP page directly and copying it's > > output intohttp://www.jsonlint.com? > > > I'd also double check your server has the JSON module f

[jQuery] Re: open external web page inside the tab

2009-08-28 Thread Leonard Martin
What do you get? What were you expecting? Using $().load() to call in HTML will load only the raw HTML code so you won't get any images, or styles. If you actually want google to look and work like google then you'll probably need to load it in an iframe. On Aug 28, 9:12 am, ts wrote: > I hav

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ wrote: > I would suggest using Firefox and FireBug to "watch" wh

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ wrote: > I would suggest using Firefox and FireBug to "watch" wh

[jQuery] Re: SimpleModal autoresize on demand?

2009-08-26 Thread Eric Martin
Vru, The actual code would depend on exactly what you are trying to do, but taking the "onShow callback function" test[1], I modified the code to resize and reposition the container: function modalShow (dialog) { var self = this; dialog.data.find('input.animate').one('click', fun

[jQuery] Re: Hover Area -> Change image

2009-08-26 Thread Leonard Martin
Yes, you (wheatstraw) just need to remember that attr('src') returns a string and *not* a reference to the src attribute. On Aug 26, 5:16 pm, amuhlou wrote: > I think keeping the source in a variable is the key here, try this: > > $('li.clickable').hover(function() { >         var newsrc = $(t

[jQuery] Re: Hover Area -> Change image

2009-08-26 Thread Leonard Martin
You're not actually setting the source once you've replaced it: $('li.clickable').hover(function() { $(this).find('img').attr('src', $(this).find('img').attr ('src').replace("_off","_over")); }, function() { $(this).find('img').attr('src', $(this).find('img').attr ('src').replace("

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-26 Thread Leonard Martin
Looks like a case of "asynchronous-itis". You're reading the val() of the load()-ed div before the Ajax call has had a chance to respond. What you'll want to do is add the fancyBox stuff to the callback function for load() like this: $('div#resultsDataContainer').load('locatorResults.cfm',{'zip'

[jQuery] Re: Dynamically Created anchor tags

2009-08-26 Thread Leonard Martin
Of course, just pure force of habit still makes me call it a plugin. On Aug 26, 9:51 am, Paolo Chiodi wrote: > live is no longer a plugin, but core of jquery > > Paolo > > On Wed, Aug 26, 2009 at 10:14 AM, Leonard > > Martin wrote: > > > You will either need to

[jQuery] Re: Dynamically Created anchor tags

2009-08-26 Thread Leonard Martin
You will either need to use the live plugin as follows: $('#thumbs a').live('click',function(){...}); Or move the binding of your 'click' inside the callback function of your $.ajax call so it would then look like: .appendTo('#thumbs').click(function(){...}); As it is you're trying to bind ont

[jQuery] Re: Simplemodal is triggering $(document).ready

2009-08-23 Thread Eric Martin
Luis, Can you be a little more clear on what the problem is? Do you have a link or sample (working) code I can see? -Eric On Aug 23, 6:55 am, lfrodrigues wrote: > Hi, > > I've been using simple modal for quite some time. > > Now I have a problem. I have some code with uses $(document).ready an

[jQuery] Re: setInterval()

2009-08-21 Thread Leonard Martin
In this case you need to wrap the code inside the onclick in a function: onclick="function(){int=clearInterval(int);}" although obviously better would be to use $.click to bind the event: $('button#foo').click(function(){int=clearInterval(int);}); You will probably also want to check that the

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
c curiosity at the moment. On Aug 20, 5:25 pm, Quang Ngo wrote: > On Thu, Aug 20, 2009 at 6:56 AM, Leonard Martin > wrote: > > > > > I don't think so. I tried it with ClearType enabled and disbaled and > > the effect was the same either way. It also seems not to

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
ugh IRC or something. > > Jonathan > > > > Liam Potter wrote: > > > Might have something to do with cleartype? > > > Leonard Martin wrote: > >> Apologies, I missed the link: > > >>http://in.tellig.net/jquery.animateparam/jquery.animateparam.j

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
I don't think so. I tried it with ClearType enabled and disbaled and the effect was the same either way. It also seems not to affect MSIE, only Gecko and Webkit. On Aug 20, 2:49 pm, Liam Potter wrote: > Might have something to do with cleartype? > > Leonard Martin wrote: &g

[jQuery] Re: Dropdown menu Issue

2009-08-20 Thread Leonard Martin
I think if you reverse the parameters you're passing to stop() then that should achieve what you're after. You want to clear the queue (true for first parameter) but stop the animation where it is, not go to the end (false for second paramter). On Aug 20, 3:16 pm, Xenongasman wrote: > Okay, s

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread Leonard Martin
The trouble is that the $.post is run asynchronously so anything after the $.post will be executed before the callback function. If you want the returned data to be available outside the callback then it will have to be inside a function which is called from within your callback method. e.g. v

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
Apologies, I missed the link: http://in.tellig.net/jquery.animateparam/jquery.animateparam.js and http://in.tellig.net/jquery.animateparam/ for an example. On Aug 19, 2:08 pm, Leonard Martin wrote: > I've been trying to write an extension to the animate function to > allow the a

[jQuery] Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
I've been trying to write an extension to the animate function to allow the animation of elements along a parameterised path (in the original motivation this was around the diameter of a circle) whilst keeping use of things like $.easing and $().stop(). I've managed to put something together that

[jQuery] Unobtrusive select field replacement?

2009-08-20 Thread Martin Westin
wrong direction. thanks Martin

[jQuery] Re: Beginner needs help with jquery and ajax

2009-08-19 Thread Julien Martin
thanks Giovanni i'll try that. 2009/8/19 Giovanni Battista Lenoci > > Julien Martin ha scritto: > >> Hello, >> >> I basically want to catch any ajax request sent by my app and display an >> alert. >> >> I have tried this to no avail: >> &

[jQuery] 1.3.x live event problem

2009-08-19 Thread Julien Martin
Hello, I noticed that after an ajax call, my jquery no longer works. After some research I realized I had to use either the livequery plugin or the live event provided out of the box by jquery 1.3.x. However, the live event used as follows does not work i.e. cacherFormulaireInscription does not w

[jQuery] Beginner needs help with jquery and ajax

2009-08-18 Thread Julien Martin
Hello, I basically want to catch any ajax request sent by my app and display an alert. I have tried this to no avail: *jQuery("*").ajaxSend(function(event,request, settings){ alert('called'); });* whenever an ajax request is made the alert does not show... note that the ajax request is made

[jQuery] Tablesorter with rowspan applied to a table cell?

2009-08-11 Thread J. Martin
While sorting a table with the Tablesorter plugin, I'd like to have a table cell within an interior column use the rowspan attribute (the result being this column has only a single value). I can't figure out how to use it however. The docs I saw (http://lovepeacenukes.com/ tablesorter/2.0/docs/) g

[jQuery] Re: Simplemodal ajax dialog

2009-08-09 Thread Eric Martin
Michael, You need to initialize any third party scripts in the SimpleModal onShow callback. Here's an example of using Datepicker with SimpleModal: http://www.ericmmartin.com/code/datepicker/ -Eric On Aug 7, 2:34 am, Michael Anckaert wrote: > Hello everyone, > > Using the simplemodal plugin I

[jQuery] Re: simplemodal scroll problems

2009-07-29 Thread Eric Martin
Do you have a link? Can you disable the scroll in the page. If not, how about disabling it in the modal: $(element).modal({onShow: function (d) { d.wrap.css('overflow','hidden'); }}); -Eric On Jul 29, 8:44 am, junkqwe wrote: > I am using simplemodal 1.3 > my modal shows a product description

[jQuery] Re: Loading a Page in an Iframe with BlockUI

2009-07-29 Thread Eric Martin
Chris, Regarding SimpleModal, wouldn't this accomplish what you are looking for? $.modal('http://www.ericmmartin.com"; id="iframeTest" name="iframeTest" height="450" width="830" style="border:0" />', { closeHTML:"", overlayClose:true, containerCss: {height:450, width:830

[jQuery] Click on anchor, wait 1/2 second, then scroll to matched ID

2009-07-08 Thread Martin Berglund
ump Jump Title Some text I know this can be made more compact and elegant, but I don't know how to do it. I appreciate any pointers and tips on how to improve my code. -Martin Berglund

[jQuery] Re: Create an AJAX form within a modal window.

2009-06-30 Thread Eric Martin
I'm not familiar with CF - so I'm not sure if it handles forms differently (link .NET), but you should be able to use the onShow callback to bind the form submit and handle it accordingly. Check out the Contact Form demo[1] for an example. -Eric [1] http://www.ericmmartin.com/simplemodal On Ju

[jQuery] Re: Subversion and Bugtracking

2009-06-09 Thread Eric Martin
Do you need to host it yourself and does it need to be private? If not, how about Project Hosting on Google Code[1]? [1] http://code.google.com/projecthosting/ -Eric On Jun 9, 4:20 am, Paulodemoc wrote: > Someone here would happen to know a good bugtracking system that I can > start using? It

[jQuery] Re: Newbie needs to update existing JQuery code

2009-05-27 Thread Martin
Thanks for the reply. I've since established that my clients website is a fairly standard CMS type setup. So his webmaster is now able to make all the changes that i require. Again thanks anyway :-) Martin. On 26 May, 16:02, Charlie wrote: > I'm working on a Google Map app usi

[jQuery] Re: Can the click() function be used in an if statement

2009-05-26 Thread Martin
Got it working thanks yang.. Merely did.. $("#accountButtons div.question b").click(function(e){ Do B e.stopPropagation(); }); That fixed the problem so event A isnt fired... On May 26, 12:08 pm, Steven Yang wrote: > how do you click A and invoke B's onclick?the only way is A is B's chi

[jQuery] Newbie needs to update existing JQuery code

2009-05-26 Thread Martin
use my new map? Once my map is complete it shall be hosted on my clients website btw and not on my domain. Thanks a lot for any pointers. Martin.

[jQuery] Re: Can the click() function be used in an if statement

2009-05-26 Thread Martin
t when you click on the X ("#accountButtons div.question b) ... $("#accountButtons div.question").click(function(){ Do A }); $("#accountButtons div.question b").click(function(){ Do B }); Regards Martin Ikediashi On May 26, 12:08 pm, Steven Yang wrote: > how

[jQuery] Can the click() function be used in an if statement

2009-05-26 Thread Martin
one mouse click, eventhough the css for each element is different. I think the best way to avoid this problem is to use flow control to exclude the other mouse click event. If element A is clicked then skip B Regards Martin Ikediashi

[jQuery] Problem with jQuery Cluetip plugin and jboss Richfaces

2009-05-19 Thread Julien Martin
Hello, I am trying to "re-render" through ajax a richfaces element contained in a cluetip tooltip div and it is not working. Can anyone help please? Here is the code for the div: toto

[jQuery] Problem with the jQuery cluetip plugin and jboss Richfaces ajax submit

2009-05-19 Thread Julien Martin
Hello, I am trying to "re-render" through ajax a richfaces element contained in a cluetip tooltip div and it is not working. Can anyone help please? Here is the code for the div: toto

[jQuery] Re: problems with each() and JSON

2009-05-15 Thread martin horton
Thanks for your example. Now its working like it should :-D

[jQuery] problems with each() and JSON

2009-05-15 Thread martin horton
Hi Folks, i have a big roblem with a little getJSON request. At first..this is my code: === HTML === dicken ajax-request ausführen! === JavaScript == $(function(){ $("button").click(function(){ $.getJSON("myJson.js", myCallback); function myCallback (jsonObje

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
at script, and the assistance to get it working! > > On May 6, 3:49 pm, Steeleclipse wrote: > > > Thanks for your reply. I will try that tonight and post how it goes! > > > On May 6, 3:37 pm, Eric Martin wrote: > > > > I just took a look and it looks like the main issu

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
I just took a look and it looks like the main issue is that you are not binding the link correctly. You need to modify the selector in confirm.js from: $('#confirmDialog input.confirm, #confirmDialog a.confirm').click (function (e) { ... }); to: $('#navPhysicians a.confirm').click(function (e)

[jQuery] Re: creating an animated PNG loader pinwheel (sprite)

2009-04-23 Thread Martin Möller
ssible to have one, > smooth-looking loader animation to use on all background colors/image. > Thanks! Cheers, Martin

[jQuery] [treeview] IE6 without reset body

2009-04-18 Thread Konrad Martin
I would like to use treeview separated in the navigation container 'main' without resetting Base Font Size in screen.css file to html>body { font-size: 16px; font-size: 68.75%;} body { font-size: 68.75%;} Setting main container in screen.css file directly to #main {

[jQuery] How do I get "Triggered" event to stop looping?

2009-04-03 Thread Martin
keeps looping. I have already tried to use unbind in the "addGoal" code block, but this interferes the creation of the next dialog box. Any ideas Martin

[jQuery] Re: SUPERFISH - Possible to Animate LI's within UL?

2009-04-02 Thread Martin Evans
bj.css({height: "0px"}); obj.animate({height: "23px"}, 1000); } I get this error message in the javascript console: this.find is not a function Also, I guess it's not possible to animate the li's on menu close without hacking the core code, because onHide is trig

[jQuery] Announcing a new journal for front-end developers

2009-04-02 Thread Martin Streicher
2 April 2009 My name is Martin Streicher. I am pleased to announce three new publications dedicated to web developers. Red: The Journal of Ruby Development Facade: The Journal of Front-end Development Tabula: The Journal of Open Source Database Development The three publications obviously

[jQuery] Re: jQuery.noConflict() and firefox 2: errors - is this a bug?

2009-04-01 Thread Eric Martin
Like it was mentioned above, the noConflict() call has to come right after loading jQuery and before loading the other libraries. -Eric On Mar 31, 11:54 pm, pyt wrote: > Hi, > > I have the same problem with FF2 on my eeePC (linux) > > The code is > > //--- > > > > >