Re: [jQuery] detecting load

2009-11-24 Thread Alan Gutierrez
e alt text until the image loads. This would all be fine except I have some transparent pngs and I need to know when the image button image finishes loading so I can remove the background. Found this... http://jqueryfordesigners.com/image-loading/ Even better. I have some code to rewrite now

Re: [jQuery] detecting load

2009-11-24 Thread Alan Gutierrez
e src attribute into your document and the browser will pull the image from the memory cache. Alan Gutierrez http://twitter.com/bigeasy

[jQuery] Re: clicking Submit does not refresh the page -but- submitting with an onchange event does

2009-09-04 Thread Alan
I should be clearer on what I mean when I say the page refreshes when an onchange event is used to submit. Specifically, I see the echo'd result from PHP. {"result":"success","surveyID":"0001.1252110846.2","submitTime": 1252110846,"photoNumber":"1"}

[jQuery] clicking Submit does not refresh the page -but- submitting with an onchange event does

2009-09-04 Thread Alan
I have a form... ... that is gets processed by AjaxForm on submit... // Set Ajax options var options = {success: respondToUpload}; // Register forms $('#imageUploader1').ajaxForm(options);

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-04 Thread Alan
Thank you, once again, Brian. I got everything working by replacing... $('#imageUploader1').ajaxForm(function() { alert("I wish I could post the actual server response."); }); with... var options = {success: showResponse}; $('#imageUploader1').ajax

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-04 Thread Alan
When you say... Then, in your JS function, test the returned text for "failure" or "reject" first, or parse the JSON object and create a new image tag with the supplied src, width, & height. ... what's the exact code for parsing the JSON object within my current structure?

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-03 Thread Alan
Wow, Brian, thanks so much for taking the time. I really appreciate it. On Sep 3, 8:06 pm, brian wrote: > On Thu, Sep 3, 2009 at 10:23 PM, Alan wrote: > > > Thanks, Brian. I appreciate it. > > > As mentioned, the document has the following

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-03 Thread Alan
Thanks, Mike. That's good to know. On Sep 1, 12:22 pm, Mike Alsup wrote: > >         $('#form1').ajaxForm(function() { > >                 alert("It helps to enter the correct form name."); > >         }); > > :-) > > By the way, you don't need to guard against accidentally invoking > ajaxForm m

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-03 Thread Alan
Thanks, Brian. I appreciate it. As mentioned, the document has the following script references in ... As a result of a user action, JavaScript (from script.js) generates a form and inserts it into the html of a table cell. It also calls the Ajax form function to regist

[jQuery] An idiot's question about returning results from a form submission

2009-09-03 Thread Alan
I've been reading a variety posts, looking at code examples, and still not able to wrap my head around getting results returned from the server. So, if anyone has the time to answer this, please assume I know very little. Here's what does work: I have a webpage that references three scripts: my

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-01 Thread Alan
Got it. $('#form1').ajaxForm(function() { alert("It helps to enter the correct form name."); });

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Alan
On Aug 31, 6:06 pm, Mike Alsup wrote: > > Is there a way to bypass the standard method and use JavaScript to > > activate the ajaxForm function? > > Yeah, just call ajaxForm after you've injected your form into the DOM. Thank you for the reply. I tried calling it but I must be using the wrong sy

[jQuery] using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Alan
ready function executes (i.e., when the document is loaded), Ajax doesn't intercept the submit action. Is there a way to bypass the standard method and use JavaScript to activate the ajaxForm function? Thanks... alan

[jQuery] jquery treeview vertical lines missing

2009-08-07 Thread Alan C
I am trying to use treeview and have a tester page http://sitemaster-internet.co.uk/treeview/tester2.php the html for the directory view is generated dynamically with php building the unordered list from directories on the server, the html passes validation and 'looks' ok, but when the page rend

[jQuery] Re: jquery slider..1 issue left! :) (works in FF but not IE)

2009-07-20 Thread Alan
Hey, just another thoughtbut it seems odd it is hiding the pictures, but not the text. I noticed in the jquery code there is a lot of code that shows hiding the first.id or last.id, and not much about first.text or last.text. Let me be clear, I don't know coding, so that may have absolutely

[jQuery] Re: jquery slider..1 issue left! :) (works in FF but not IE)

2009-07-20 Thread Alan
tup is messed > up, why do you have 3 li's containing 6 divs each, rather then using an > li to contain each thumbnail and caption? > > > > Alan wrote: > > note: Thanks Charlie for helping with first issue! > > > I'm down to one issue with the easyslider jq

[jQuery] jquery slider..1 issue left! :) (works in FF but not IE)

2009-07-20 Thread Alan
note: Thanks Charlie for helping with first issue! I'm down to one issue with the easyslider jquery plugin. If you look at http://www.movieeye.com/index-new.jsp in IE 7, you'll notice the text is overflowing and creating a horizontal scrollbar on the browser page. I'm not much of a coder, and a

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-20 Thread Alan
fyi...so it works perfect in Firefox nowjust don't know how to fix the overflow issue in IE 7. On Jul 20, 6:21 am, Alan wrote: > Hey, that took care of Problem #1 > > It no longer shows the content on page load. > > It still shows the content to the left and

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-20 Thread Alan
Hey, that took care of Problem #1 It no longer shows the content on page load. It still shows the content to the left and right of the screen, causing a browser scrollbar at the bottom in IE 7. But closer yet..lol Still can't figure out that issue though..ben playing with CSS, but not sure

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
 $('#slider').css({'display' : 'block'}); > > After >      this.each(function() { > > It will look like this: > > this.each(function() { >       $('#slider').css({'display' : 'block'}); > >

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
I can show css or slider code if it helps. Slider CSS below -- @charset "utf-8"; /* CSS Document */ #slidercontent{ position:relative; } #slidercontainer{ margin:0 auto; position:relative;

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
and in > inside your plugin just show the content you need to show... > > #Problem 2: Don't understand what you mean for "scrolls way off the > page (either left or right)."... > > On 19 Jul, 22:19, Alan wrote: > > > > > Yeah, I know.  As part of th

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
d file size is 350kb! > that's a huge amount of loading time for the number of images you have > Alan wrote:OKgranted I am totally a rookie here...but I am S stuck! > Could anyone look at this page:http://www.movieeye.com/index-new.jspand help > me with either of the two b

[jQuery] Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
is? If any code is needed, let me know, happy to share it! I'd greatly appreciate any help! Alan

[jQuery] Jquery Galleria doesn't work with slider javascript

2009-07-07 Thread Alan
I am trying to implement the galleria plugin into my webpage. I am a javascript newbie so my knowledge is limited. I have included the no conflict plugin and have also changed some of the css for the galleria to not conflict with other css elements(intentionally misspelled names). There is code so

[jQuery] jCarousel infinite loop aborting

2009-06-07 Thread Alan Gutierrez
ing is fine in IE 7. Alan Gutierrez

[jQuery] Parsing XML and appending to an array?

2009-05-07 Thread Alan at DSI
I'm new to jQuery and what I am trying to do is take the XML response below and obtain the src attribute from each image. I then want to append that value to an array which can be used later. Now my issue is when it gets to Code: $('response', returnedXMLResponse).each(function(){ ... } it only

[jQuery] Bug with Pause/Resume

2009-04-23 Thread Alan
The timeout value if you pause/resume too fast seems to be lost, or the plugin abandons some timers that increase the speed at which it updates. An example, if you hover of this too fast: Test JQuery Cycle Plugin http://jqueryjs.googlecode.com/files/ jquery-1.3.2.min.js" type="t

[jQuery] Re: Carousel: How they do that?

2009-04-23 Thread Alan
It looks like they're using their own jquery. They only reference two js files and they don't seem to be using any plugins in them. On Apr 23, 2:27 pm, vincent woo wrote: > http://www.merixstudio.com/ > > I like the carousel on the homepage above.   I noticed when you drag > the slider to the l

[jQuery] Re: preloading a div

2009-04-15 Thread Alan FSPP
or $("#div").ajaxStart(function(){ $(this).fadeIn("fast"); }); $("#div").ajaxStop(function(){ $(this).fadeOut("fast"); }); $("#div").load(url) fade is automatic 2009/4/14 Liam Potter > > a callback function is something that runs after an action has been > completed. This is what y

[jQuery] Nyromodal frame reference

2009-04-14 Thread Alan Flisch
Hi, I'm using Nyromodal to show some web content that includes page transitions controlled by Javascript that specifies window.location. The trouble with this is that it navigates the main browser window rather than navigating just within the nyromodal frame. I'm not sure how to get round thi

[jQuery] How To Extend a jQuery: Plugins versus Other?

2009-03-31 Thread Alan Gutierrez
I've created a first jQuery plugin. I'm working in a project that uses ColdFusion 5, and I'm being lazy about learning ColdFusion. I'm able to spit out simple plain/text of this format from a database using ColdFusion: person.firstName=Alan person.lastName=Gutierrez per

[jQuery] Re: SIMPLE (newbie) selecting TDs

2009-03-03 Thread alan
Thanks very much mkmanning -- I realise now that the scope of eq is the whole doc and nth-child is all n-th children of the parent. Sigh, one day I will see this stuff more quickly myself -- meantime, thanks again ^_^ -Alan On Mar 2, 11:01 pm, mkmanning wrote: > $('.vfOptions tr td:n

[jQuery] Re: Newbie clueTip Plugin style removal

2009-02-27 Thread alan
MUCH respect Karl, I am sorry I didn't check the source produced after I'd set my styles. I assumed my styles were overriding but not that their presence was being detected and automatically removing the default styles I saw when I first tried the plugin. What a polished plugin. Chee

[no subject]

2009-02-25 Thread Alan Byers
Sent from my iPhone

[jQuery] Stopping emails

2009-02-23 Thread Alan Williams
coming. Please can anyone tell me how to unsubscribe to the email feed? Alan

[jQuery] Trapping the forward and back buttons and other navigation events

2008-11-20 Thread Douglas Alan
I'm trying to trap navigation off of a web page so that the user is presented with a warning dialog before allowing the departure event to continue. Specifically, I need to trap the forward button, the back button, and clicking on a link, but I don't want to trap closing the browser or a tab. I

[jQuery] Re: JCarousel orientation problem on first page load in Safari

2008-11-03 Thread alan
Anyone?... On Oct 31, 9:44 am, alan <[EMAIL PROTECTED]> wrote: > No one have any ideas what might be causing this?? > > On 30 Oct, 17:40, alan <[EMAIL PROTECTED]> wrote: > > > Hey > > > We have a carousel that display horizontally with 5 elements. >

[jQuery] Re: JCarousel orientation problem on first page load in Safari

2008-10-31 Thread alan
No one have any ideas what might be causing this?? On 30 Oct, 17:40, alan <[EMAIL PROTECTED]> wrote: > Hey > > We have a carousel that display horizontally with 5 elements. > However, when we try to access that page with an empty cache (reset > safari) and navigate to the

[jQuery] JCarousel orientation problem on first page load in Safari

2008-10-30 Thread alan
Hey We have a carousel that display horizontally with 5 elements. However, when we try to access that page with an empty cache (reset safari) and navigate to the page, the carousel is displayed vertically instead of horizontally. After that, when the page is reloaded or access a second time it wo

[jQuery] JCarousel orientation problem on first page load in Safari

2008-10-30 Thread alan
Hey We have a carousel that display horizontally with 5 elements. However, when we try to access that page with an empty cache (reset safari) and navigate to the page, the carousel is displayed vertically instead of horizontally. After that, when the page is reloaded or access a second time it wo

[jQuery] JCarousel orientation problem on first page load in Safari

2008-10-30 Thread alan
Hey We have a carousel that display horizontally with 5 elements. However, when we try to access that page with an empty cache (reset safari) and navigate to the page, the carousel is displayed vertically instead of horizontally. After that, when the page is reloaded or access a second time it wo

[jQuery] Jcarousel orientation problem on first page load in Safari

2008-10-30 Thread alan
Hey We have a carousel that display horizontally with 5 elements. However, when we try to access that page with an empty cache (reset safari) and navigate to the page, the carousel is displayed vertically instead of horizontally. After that, when the page is reloaded or access a second time it wo

[jQuery] JCarousel orientation problem on first page load in Safari

2008-10-30 Thread alan
Hey We have a carousel that display horizontally with 5 elements. However, when we try to access that page with an empty cache (reset safari) and navigate to the page, the carousel is displayed vertically instead of horizontally. After that, when the page is reloaded or access a second time it wo

[jQuery] Square Brackets in Sortable Serialize

2008-07-11 Thread Alan Gutierrez
When I call $("#list").sortable("serialize") I get article[]=2&article[]=1 Why the square brackets? I've not seen this sort of style of query string before. -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Automating forms / Command line web conversations

2008-04-07 Thread Alan Gutierrez
. Has anyone used JavaScript to automate Firefox or Safari? To launch a particular page and then execute a privileged script? (Is there a better place to ask?) Alan -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Re: Trying to get a submit button to countdown before being enabled again

2008-03-10 Thread alan
return; } }, 1000); } $('#form-name').removeAttr('disabled'); $('#form-message').removeAttr('disabled');

[jQuery] Re: Trying to get a submit button to countdown before being enabled again

2008-03-08 Thread alan
s all over the place beforehand! thanks again! alan On Mar 8, 9:44 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Alan, > > This should do the trick (tested in Firebug): > > var countdown; > var timer = 5; > if ( $('#form-submit').val() == 'Sub

[jQuery] Trying to get a submit button to countdown before being enabled again

2008-03-08 Thread alan
uot;disabled",false); $("#form-submit").attr("value","Submit"); }) }) }) }) }); --- Thanks a lot! Alan

[jQuery] Injecting jQuery with A Bookmarklet

2008-02-23 Thread Alan Gutierrez
the equivalent to the above IE code on Firefox? Or should I just poll to see if something like jQuery.fn.each exists? -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Re: blockUI: moving the message that blocks an element to the top

2008-02-22 Thread Alan Fitzgerald
Thanks again Mike. I needed to change DOCTYPE tags in order to make it work appropriately. -Alan On Feb 20, 6:06 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Thanks Mike.  You definitely provided a solution that "should" work. > > But the following code

[jQuery] Re: blockUI: moving the message that blocks an element to the top

2008-02-21 Thread Alan Fitzgerald
I can't, it's an internal company app. I am going to try and isolate it today. If I can reproduce it in a static page, I will post it. Thanks, -Alan On Feb 20, 6:06 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Thanks Mike.  You definitely provided a solution

[jQuery] Re: blockUI: moving the message that blocks an element to the top

2008-02-20 Thread Alan Fitzgerald
Thanks Mike. You definitely provided a solution that "should" work. But the following code works if I modify your test page, but not in my page. It moves to the left, but not up. Anyone have ideas how to debug why IE7 is ignoring the top margin? -Alan $.blockUI.defaults.element

[jQuery] Re: Need help with the value of a Macbook

2007-11-08 Thread Alan
CS2 doesn't run in native mode. CS3 does. Also, the value of the Mac is often not found in pure performance specs but in the fact you don't have to wait 10s for the beast to go to sleep or shut down. also two finger scrolling is a time saver. there are a million little things that, once you ada

[jQuery] Selecting option:first on dynamic menu list

2007-10-08 Thread Alan
I just wanted to share, I had this problem : in FF it would select the last in IE, the first. With a dynamic loaded Menu, you need to put the .attr("selected","selected") in a function after the load is successful: $("#user_list").load("getUserList.php",function(){ $("#user_list

[jQuery] Re: Start effect after another effect is complete / Start effect after image is loaded? - wafflgallery.js

2007-09-10 Thread alan
ather than simultaneously. On Sep 4, 5:26 am, alan <[EMAIL PROTECTED]> wrote: > Hello, > I posted earlier about a gallery for portfolio purposes. After being > unable to find anything particularly suitable, I wanted to write my > own but am having a few issues. > > I hope

[jQuery] Start effect after another effect is complete / Start effect after image is loaded? - wafflgallery.js

2007-09-04 Thread alan
Hello, I posted earlier about a gallery for portfolio purposes. After being unable to find anything particularly suitable, I wanted to write my own but am having a few issues. I hope to release this gallery as a well documented and easy to use plugin for people with similar needs (very customizab

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
I totally agree with all of your comments. Specifying invocation order of the event handlers is not reliable and leads to more problems. I can hook up event handlers to all my date input text fields that uses a date picker to update the range of the date picker whenever there is a change to the c

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
of 1.1.3 it uses addEventListener / attachEvent instead. These > allow you to attach multiple event listeners to an element and as far > as I know don't add anything to the onevent attribute they listen > to. > > On Jul 21, 6:25 am, Alan <[EMAIL PROTECTED]> wrote: > > >

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
I don't have a place to put up a demo page since it's a internal project for the company where I encountered the problem. I agree that it's sort of hack to replace the plugin's event handler with mine, but that's the only solution I can think of (unless I can re-order the event handlers so mine ge

[jQuery] How to get a ref to the event handler registered via the bind() function?

2007-07-21 Thread Alan Feng
It seems that if an event handler is bound to an element through the bind() call, it won't be available when using the element.onXXX attributes. So if I do: $('#myEle').bind('click', function(){ // do something }); the myEle.onclick is still undefined. I also tried the $('#myEle').attr('click') a

[jQuery] How to get a ref to the event handler registered via the bind() function?

2007-07-21 Thread Alan
In short, it seems that the event handler function registered via the bind() method is not available through the element's onXXX attributes. For example: $('#myEle').bind('click', function(){ // do something }); but the myEle.onclick attribute is still undefined after the above bind() call. Th

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Alan Gutierrez
derlying functionality. I was pleased when jQuery got rid of all the pointless helper functions for CSS and simply went to name and value pairs for a css function. (IIRC). -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Ranges

2007-07-05 Thread Alan Gutierrez
I'm currently working on selections and ranges for a rich text editor. Is this built into jQuery in a cross-platform way, or is there a plugin I can use? -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Grid and Editor

2007-07-01 Thread Alan Gutierrez
e available that are jQuery based? -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

[jQuery] Re: Image resizing

2007-06-26 Thread Alan Gutierrez
bigThumb.animate({width:new_width,height:new_height}, {duration: 750, easing: "backinout"}); } -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/