Hi I'm trying with no luck to "fade on click" the image cycle, can
anyone offer any assistance to a novice.
Fading is ok but I'm not sure where to add the onClick.
Thanks
Simon
Hi there.
I need an example in parsing the following XML using jQuery:
http://oec.api.opsource.net/schemas/
organization" .. >
rdyer
Joe Public
Joe
Public
jpublic24...@pop.net
1831c1a9-9c03-44df-a5a4-f2a4662d6bde
primary administrator
Essentially, I want to print out the contents of what's
Hi there.
I'd like to use jQuery to access a remote website that has a REST API
which returns XML data.
Should I be able to use the jQuery.getJSON request to do it or is
there another command since it's returning XML.
Example Request Details (HTTP GET):
https://{username}:{passwo...@api.opsourc
I have a number of fields in a grid which are all using auto
complete. I want the extraParams function to be able to work out
which field I am in so that I can return a differently filtered list.
I don't seem to have access to the input variable? Any clues?
Thanks
Simon
I have been trying to get an email on a form validated. If I use -
var email = $("input#email").val();
if (email == "") {
$("label#email_error").slideToggle("slow");
$("input#email").focus();
return false;
}
Everything works fine. But I cannot seem to get it to work with an
email expression lik
On Tue, 2009-10-27 at 09:11 -0700, MorningZ wrote:
> $("a[id=^='toggle_effect_button']").click(function() {
> var id = this.id.replace("toggle_effect_button", "");
> $("#toggle_effect" + id).toggle('blind',500);
> return false;
> });
Thanks MorningZ,
A small correction is
Hello,
I'm new to jQuery and would appreciate some help with Selectors.
At the moment I know enough to write some clunky repetitive code that
violates the DRY (Don't Repeat Yourself) principle
// Toggle Divs
$("a#toggle_effect_button").click(function(){
On Tue, 2009-10-13 at 16:46 +0300, Evgeny Bobovik wrote:
> use function insertAfter(); or insertBefore();
>Gk___
>
That's perfect, thanks very much.
~sm
Hello,
I'm having some problems understanding the append() function.
What I'd like to do is select an element using it's ID and add a row to
the table with a HTML form element.
The table is dynamically generated using a Django template
( form.as_table() ) so I'm not able to alter the original H
});
});
But can't understand how I can pass the data variables 'user' and
'file' from within my PHP page to the jQuery post.
Any ideas?
Cheers
Simon
ould possibly be, so
I hope someone will help
Thanks,
Simon
That fixed it, thanks!
I didn't realize that was how you declared multiple classes. Logical
if you think about it (what with it being an attribute and all). Now I
know.
Simon
On Aug 13, 1:20 pm, Brett Ritter wrote:
> On Thu, Aug 13, 2009 at 1:18 PM, Simon wrote:
> >
alert('class here');
} else {
alert('class not there');
}
});
for some reason, whenever I click on the relevant link the alert
'class not there' pops up, even though I think it's fairly clear it
is.
What am I doing wrong?
Thanks,
Simon
ocation is called no matter what. It's
> just that whether you do the actual action or not depends on the state
> of things.
>
>
> On Aug 6, 12:09 pm, Simon Vansintjan wrote:
> > Well, it's pretty theoretical at the moment, so there's no code down, but
>
ToLocation is called no matter what. It's
> just that whether you do the actual action or not depends on the state
> of things.
>
>
> On Aug 6, 12:09 pm, Simon Vansintjan wrote:
> > Well, it's pretty theoretical at the moment, so there's no code down, but
&g
n would not execute.
> Would you like to specify in more detail what you would like to
> achieve?
>
> On Aug 6, 11:43 am, Simon wrote:
> > Hey,
> >
> > After a user hasn't triggered an event for a given amount of purple,
> > would it be possible to trigger tha
This is something that was bothering me too, and I came to the same
conclusion. How is this for SEO though? Redirecting with Javascript
that is? Does it recognize the link?
Cheers,
Simon
On Aug 6, 3:52 pm, "paul.mac" wrote:
> Thanks guys - came to the same conclusion shortly afte
Hey,
After a user hasn't triggered an event for a given amount of purple,
would it be possible to trigger that event anyway?
I have no idea how to even start looking for this.
Thanks for any hints/ideas/whatever you can throw my way.
Simon
jquery.com/Selectors/odd
Hope that helps,
Simon
On Aug 3, 12:26 pm, shaded wrote:
> Ok lets say i have a multiple select list
>
>
> first
> second
> third
> fourth
> fifth
>
>
> then i have a string of id's that i want to set to selected like so.
&
The problem is, this works perfectly fine in Firefox and Safari, and
the code technically does what I want it to do in Internet Explorer 7,
however, during the animation, it apparently sets the position of the
#image (by ignoring the margin-left I think) shifts everything left,
and then jumps the image back into place. Sometimes it doesn't do the
last bit. I was wondering whether anyone could tell me why this
happened, and what I could do to augment this.
Thanks,
Simon
Thanks!
I had no idea the overflow property even existed. You've saved me a
lot of head scratching.
Cheers,
Simon
On Jul 22, 4:49 am, Paul Mills wrote:
> Hi,
> Try this.
> Add overflow:hidden to #box and then animate the left of #innerbox:
>
> #box{
> width:
});
Does anyone have any ideas how I can solve this? I've thought of
placing divs with a higher z-index next the main box but this isn't
really an option, since it would make the website too large.
Any help would be much appreciated.
Thanks,
Simon
only, not its parents. but things are just getting very slow when
i have a deeply nested doms. I think there must be more simple and
fast way to do this, but i dont know how the stopPropagation thing
work on the hover event. thanks a lot!
Simon
I have the following within a plug in that i am trying to create.
Now all works well but i thought that th enext stage to take my plug
in would be to let me set the varaibels when I call the plug in.
i have th efollowing say:
var $listContainer = $
('div.listContainer
Thanks did that and seems to be fine many thanks
Si
On Jun 26, 2:38 pm, simon wrote:
> thanks for tthe reply for got to say, before this I was finding the
> height out of my UL by going through all th eli heights then adding it
> to the ul
>
> // find the height of each li an
thanks for tthe reply for got to say, before this I was finding the
height out of my UL by going through all th eli heights then adding it
to the ul
// find the height of each li and add it to the total
$listItems.each(function (i){ ulHeight += parseInt($(this).css
('height'));});
// once total
I have this hover function and outside this i am setting all the
variables etc everything works but when I test on IE yes that old one,
is gives me the wrong reading and hence does not function, so to get
over this I have to put in the variable within the hover function.
any ideas how to combat t
thanks mark, I knew there was a way as its similar to flash as
coding , just I was putting the sqr brackets in wrong place
thanks again
what i havev done is constructe my page and all things working etc etc
but long winded, then what I do is then begin to reduce the code down
that is on that page whether it be asp, php of js, this way I learn
more about the script and in future do that method instead and then my
coding gets reduce
thanks for all the options guys, I did think of arrays but I got a lot
of updating to do if so and just to see if that could be done.
luckly I only have three variables so not too much of an issue.
I also was going to use asp scripting but again if others take on my
work here it gets more visuall
thanks for that, the only thing i did not try, I am learning now :-)
many thanks
Si
I have some simple variables
$.myvariable1
$.myvariable3
$.myvariable2
now I would like to add the number part of the variable to it
dynamically.
var i=1
$.myvariable+i
and so on, whats the way I could do this, i have tried several like
$.myvariable[i] etc but nothing
Si
so I would put my function outside of the $(document).ready(function()
{ }?
Many thanks
Si
thanks everyone, thats great to here from all the suggestions will
give it a go.
Much appreciated
Si
I basically have several buttons that are created dynamically via a
db, so I can have 1 to 40 etc.
now at the moment I give each one a unique id and a hover code in the
loops. see below:
loops goes here..
$(document).ready(function(){
$("#myButton").hover(
function () {
$(this).f
I have some code seperated by script:
$(document).ready(function(){
code in here
function thisismyfunction(){
}
});
then later on i have
$(document).ready(function(){
thisismyfunction()
});
code in here with a call to the function above, but because its
seperated it will not call
I have soem code that is seperated.
$(document).ready(function(){
});
or now ? you would have arrows for scroll up and scroll down. but not a
> scroll bar.
>
> email me on : waseemsab...@gmail.com
>
>
>
> On Fri, Jun 5, 2009 at 4:48 PM, simon wrote:
>
> > thanks, I have tried and am continuing to experiment with things like
> >
thanks, I have tried and am continuing to experiment with things like
carosel, simpleScroll ect, but nothing yet
again thanks
Si
I am after a simple div scroller that scrolls text up/down within a
fix sized div, with two scroll buttons that can be set to hover/click,
i have found a load that use it for tags or images and scrolls
only up by set ammount, but i wouo d like this for text etc
thanks si
Hi, I've run into this issue as well. I made an example extension to
illustrate what happens:
http://gist.github.com/112562
The gist has instructions for how to set everything up... basically
you download the extension and add a file to your firefox profile with
the path to the extension dire
Oh, as an FYI I just noticed someone has filed a ticket for this
issue:
http://dev.jquery.com/ticket/4443
I used the following on a submit button, based on two input items, to
ensure that both had to be completed(not empty) before the button was
enabled, it also fades it out to 50%
$("#inputIDone,#inputIDtwo").keyup(function(){
if($("#inputIDone").val()!="" && $("#inputIDtwo").val()!=
hat jQuery treats GETs different to POSTs in this sense,
and how to work around it?
Thanks
Simon
would require elements with IDs for a straightforward solution.
How can I make jQuery read say this code:
and replace the 'rel' with 'id' ? Or is this asking too much?
Many thanks in advance,
Simon
message is not hidden.
Is it normal behaviour (as no sorting append)? should "sortEnd" be
triggered? should "sortStart" not be triggered in this case?
For the moment I added the following lines after line 581 :
} else {
// trigger sortend
$this.trigger("sortEnd");
Regards,
Simon
Mar 27, 2:29 am,simon wrote:
>
>
>
> > I have noticed that when i fade my text in to 100% its not just right
> > at all it looks pixelated any suggestions.
>
> > I am using the following:
>
> > ???.fadeIn('slow'); method
>
> > many thanks Si- Hide quoted text -
>
> - Show quoted text -
I have noticed that when i fade my text in to 100% its not just right
at all it looks pixelated any suggestions.
I am using the following:
???.fadeIn('slow'); method
many thanks Si
The receiving script actually reads:
I have checked for spelling errors ;-)
2009/2/19 Simon
> Hello,
>
> I am desperately trying to implement the Multiple File Upload Plugin
> into a script. However, I seem to be having no end of problems simply
> getting it to pass the files
on the receiving page I try this:
Which results in an empty array. Am I overlooking something very
simple here? Its often the case!
Many thanks in advance for any help you can provide with this!
Kind regards,
Simon
lose
the functionality?
The code I'm using is from the following site:
http://users.tpg.com.au/j_birch/plugins/superfish/
Thanks,
Simon
thank you sir
Am 30.12.2008 um 20:31 schrieb Kean:
Yes, just add the class jFlowPrev to your previous button
and class jFlowNext to your next button.
View the demo source to get the rest.
one,
>
> Can any one help please?
>
>I am new to jquery. I am unable to debug my jquery as I am
> unable to fix my issue. So I want to know the flow using alert
> messages but alert is not working in jquery. How to display an alert
> in jquery?
>
> Thanks,
> Surya.
>
--
Simon
am unable to access the web in the environment I work
> in so it's kind of a pain.
>
>
--
Simon
D:checked").
If you could build in a solution that also allows a developer to
decide whether to refer to name or ID when creating rules/messages,
you will be able to serve everyones needs. I hope it isn't to
complicated to achieve :-/
Thanks,
Simon
On Jun 25, 7:53 pm, "Jörn Zaeffere
r and defaulting to name, it will allow for
backwards compatibility.
If I get something working with element.id, I'll send the code over to
you.
Thanks,
Simon
On Jun 25, 11:24 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Repeating the same IDs across forms won't w
to clearly identify which element the rule is acting upon.
Many thanks,
Simon.
On Jun 25, 11:24 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Repeating the same IDs across forms won't work, IDs have to be unique.
> That is why the plugin relies on names, as those hav
t the ID?
Many thanks in advance for your help.
Simon
ld2_2, field3_2 and input ids
field1, field2, field3
I originally thought your jQuery Validation script looked at the IDs
on the page, so the same validation rules would apply for field1
whether on form1 or form2. However this is not the case.
How do I change your script to look at the ID?
Thanks,
Simon
The company I work for is interested in using jQuery in a software
project. However in order to do so we have to perform due dilergence
checks that the code in jQuery meets the terms of its license. I
realise that jQuery is offered under dual MIT and GPL licenses which
is great.
However, is any r
s in bold as well, I've
tried everything, I don't know what I missing, again...
Tons of thanks in advance !!!
Simon
7;s pretty simple, but I don't get it :(
TIA
Simon
would be great.
Cheers
Simon
When can we expect to see jQuery 1.2?
By the way, I love this framework.
-Simon Huntley
Lead Developer, http://www.smallfarmcentral.com
On Jul 27, 11:48 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> jQuery 1.2 is going to have animatable scrolling, you can find a quick
64 matches
Mail list logo