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
e src attribute into your document and
the browser will pull the image from the memory cache.
Alan Gutierrez
http://twitter.com/bigeasy
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"}
I have a form...
... that is gets processed by AjaxForm on submit...
// Set Ajax options
var options = {success: respondToUpload};
// Register forms
$('#imageUploader1').ajaxForm(options);
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
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?
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
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
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
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
Got it.
$('#form1').ajaxForm(function() {
alert("It helps to enter the correct form name.");
});
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
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
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
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
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
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
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
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
$('#slider').css({'display' : 'block'});
>
> After
> this.each(function() {
>
> It will look like this:
>
> this.each(function() {
> $('#slider').css({'display' : 'block'});
>
>
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;
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
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
is? If any code is needed, let
me know, happy to share it!
I'd greatly appreciate any help!
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
ing is fine in IE 7.
Alan Gutierrez
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
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
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
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
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
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
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
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
Sent from my iPhone
coming.
Please can anyone tell me how to unsubscribe to the email feed?
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
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.
>
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
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
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
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
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
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
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/
. 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/
return;
}
}, 1000);
}
$('#form-name').removeAttr('disabled');
$('#form-message').removeAttr('disabled');
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
uot;disabled",false);
$("#form-submit").attr("value","Submit");
})
})
})
})
});
---
Thanks a lot!
Alan
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/
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
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
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
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
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
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
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
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
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:
>
> >
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
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
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
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/
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/
e available that are jQuery
based?
--
Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504
717 1428
Think New Orleans | http://thinknola.com/
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/
66 matches
Mail list logo