Ok so this is what i want to do and can't achieve.
I have images that i'd like to rollover here is the markup for both
of those instances, 1 is a button and the other is just a hyperlink
it was all working fine until i applied the png fix. which is
jquery.pngFix which i downloaded fr
Hi Rick
Thank-you very much yes it did get rid of the error. I'm also
checking it in firebug and i can't see the other error your getting
ie.
$("div.LPButton, div.CatMoreBtn, div.CatBuyBtn").pngFix() is not a
function
Nevertheless the error is gone but now my hovering images don't work!
Any re
There are two input fields in a form, but only one of them is
required, they are not required at the same time. Either A or B is
required. ( A is required OR B is required). In other words, a user
can input data to field A, or he can input data to filed B, but he can
not input data to Both A and
Well, let's check the bracketing... (I need to format this
so I can read it more easily...)
jQuery(function($) {
function getLeaf(url) {
var splited=url.split('?');
url=splited[0]; return url.substring(url.lastIndexOf("/")+1);
} jQuery.fn.extend({
enter: function() {
Thanks for the hint.
On Oct 10, 7:39 am, brian wrote:
> On Fri, Oct 9, 2009 at 9:42 PM, macsig wrote:
>
> > Hello guys,
> > in a page I'm working on I have room for a div height not more than
> > 200px, however I need to fit in a text that requires 300px and I don't
> > want to show the scroll-
Well, all you have to do to see for yourself is to set an element's
height and width with CSS while setting its display property to inline
and see what you get.
this is a test
then try it without display: inline;
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.c
yes the only error now i'm getting is
missing } after function body
[Break on this error] )
Jess
On Oct 11, 12:08 pm, "Rick Faircloth"
wrote:
> and the only error you're getting is that a ")" is missing?
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@google
On Oct 10, 2009, at 7:45 PM, Dave Maharaj :: WidePixels.com wrote:
How can i remove the image in an id but keep the div?
image here
I want to fade the image out then remove it completely from the div
keeping the div so the new content can be loading inside it?
Dave
This should do i
and the only error you're getting is that a ")" is missing?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of jessie
Sent: Saturday, October 10, 2009 9:57 PM
To: jQuery (English)
Subject: [jQuery] Re: My code is not working getting an er
According to Firebug, the class, "selected" is being applied
to #home-subnav. However, the CSS ul#sitenav li ul { display:none; },
is taking precedence over the CSS of class, "selected".
Are you trying to get the sub-menu (#home-subnav) to show up
when you hover over "Home" ? Or what is the effe
ok thanx guys, except that didn't resolve the problem.
I've posted about this before, and still can't get a way around it
all.
For starters this is what i currently have.
jQuery(function($) {
function getLeaf(url) {
var splited=url.split('?');// remove all the parameter from url
url=splited[0];
Hi, I was wondering if any one has used jquery and nvelocity and also
if they have use jquery within the macros?
Hi, I have a question about how could I create a textbox that will use
jquery
to add a regular expression that a user passes in. I want to be able
to us a
variable to pass in regular expression using jquery. Any help please.
thanks
Hi everyone,
I was wondering if anyone knew anything about the internal update
function that seems to be used for effects.
My real question is, is it really necessary to change the css
"display" property to "block" when an animation involves changing the
height or width of the element to animate?
Now, Matt! I just knew by the time I typed up a long-winded reply,
someone would come along and give the short, to-the-point, answer. :op
:o)
Rick
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Matt Quackenbush
Sent: Saturday, October 10, 2009 9:32 P
Hello,
I am brand new to jQuery. I am trying to determine if there is a
jQuery equivelant to Adobe Spry's "data region" and "repeat regions,"
where a variable is defined as an HTML or xml datasource, then a
region is defined in the body where elements are repeated and
populated with values from t
Hi,
I am trying to display a hidden ul by using the $("id").addClass()
method. For some reason the ul stays hidden. Can someone please help
me??
Thanks
##mystyle.css
ul#sitenav {
padding:0;
}
ul#sitenav li{
display:inline;
list-style-type:none;
}
ul#sitenav li ul{
display:none;
}
.sele
I'm not sure what the code surrounding your code looks like,
but from the code below, it looks like you're missing a ")"
at the end to close the first "(" after .hover ...
This should work:
$(".button").hover(function() {
$(".button").addClass("imgbuttonhover");
$(".button").removeClass("
Add a ) to the end. You have to close the opening hover() function call.
Hi Everyone
I have been given this code to add to my effects.js
$(".button").hover(function() {
$(".button").addClass("imgbuttonhover");
$(".button").removeClass("imgbutton");
}, function() {
$(".button").addClass("imgbutton");
$(".button").removeClass("imgbuttonhover");
}
But when i add it to m
many many thanks Mike! now i have a basic idea and i will focus on it
trying to implement it in my plugin. Thanks again
How can i remove the image in an id but keep the div?
image here
I want to fade the image out then remove it completely from the div keeping
the div so the new content can be loading inside it?
Dave
What you have to do is actually *call* the callback function.
Now the way you've written the callback, it expects 'this' to be the element
you're working on - the same element which is 'this' in the click handler
itself. So you can't use an ordinary function call, you have to use .call()
or .apply
Hi, I am trying to use this plugin:http://jquery-ui.googlecode.com/svn/
branches/labs/carousel/demo/index.html
I don't know what the function name to use to make a carousel effect.
I even looked at the source code of those demos and tried to use the
function carousel.
I have firefox debugger i
i know that load accepts a callback, but i want to understand how to
write a function that accepts a callback function 'cause i want to use
it in a plugin. I'm new to plugin development so this are my first
steps in understanding this concepts.
ok, so i tried a simple script just to understand ho
I think that you could probably do something like this:
//first get
$.ajax({
type: "GET",
url: "some.php",
data: "name=John&location=Boston",
success: function(){
//another get on success
$.ajax({
type: "GET",
url: "somepage2.php",
data:"what=whatever"
HI, I am using this:
http://jquery-ui.googlecode.com/svn/branches/labs/carousel/demo/index.html
plugin to jquery ui. The problem is that it's not working at all.
I downloaded the firefox debugger and it's spitting out a error
saying that it can't find the function of carousel.
I am not su
Hello,
I have a page that makes two ajax calls when the function is called. I
have noticed while testing the page that sometimes the second request
does not run, the first request works but then sometimes the second
ones gets skipped.
Is there a way to make sure the second request fires only aft
I don't know how you should prepare the data. That was just example code.
Are you using $(selector).load(...)? You know that already has an optional
callback function:
http://docs.jquery.com/Ajax/load#urldatacallback
Inside the callback, 'this' is the element you loaded the HTML text into, so
yo
hmm...so..how should i "prepare" the data?
something like this?
var someData = $(selector).load("page.php",{...etc});
in this way the callback function will have access to the loaded
content as jquery wrapped set of elements?
Glad I could be of assistance, Harvey.
Yes, you can put anything into a variable! :-)
It's especially useful to save a jQuery object in a variable as in this
code:
var $input = $("[id$="+b1+"] input");
$input.val( $input.val() == "Hide" ? "Show" : "Hide" );
This way the fairly expensive search
Simply declare the callback as one of the parameters to your function, and
call it when you're ready.
Let's take a non-jQuery example for simplicity.
// Call a callback function after a random delay of 1 to 5 seconds,
// and pass the time delay we used as an argument to the callback
f
hi there, how can i write a function that accepts a callback
function?
$(selector).myFunction(argument,options,function(){
//do the thing
});
i want myFunction to load some data via(an unordored list actually)
load method end then somehow to return the wrapped elements for the
cal
Michael:
Yes, Indeed! That works perfectly! Thank you!
And it seems so simple and obvious in retrospect.
Actually, I hadn't realized that I could put the selector into a
variable and reuse it that way, so you've taught me something else
new.
Harvey
Hello,
site wide
Choosen get termwide:
No choosenTerm1Term2
I have code jquery when i choosen select options value > 0 then
disable checkbox :
$('#edit-termwide').click(function() {
if ($("#edit-termwide option:selected").length > 0) {
$('#edit-sidewide').attr('disabled
On Oct 10, 2009, at 12:26 PM, Nivo wrote:
There is a textarea with id 'tresc'.
Am taking data from it by:
var tresc = $("#tresc");
then ->
tresc.val()
How i can add tag after every new line, so I can add this do the
database or sent by mail? Was googling for solution for about 3 hours,
noth
I think you'll have more success getting an answer if you post the
question to the jquery-ui group. That group is dedicated to questions
such as yours that are specifically related to jQuery UI.
http://groups.google.com/group/jquery-ui/
Thanks!
--Karl
Karl Swedberg
www.english
This looks like it's going to cause a problem. What happens if someone
clicks #check1 but then changes her mind? She can't click #check2
anymore, because it's disabled.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 10, 2009, at 11:50 AM, Tan wrote:
On Oct 9, 2009, at 5:05 PM, LWD wrote:
Hi!
How can i pass a jquery variable to a php variable?
Or pass a jquery variable in GET or POST.
Thanks!!
Take a look at jQuery's Ajax methods -- for example, $.get() and
$.post() -- and note the data argument:
http://docs.jquery.com/Ajax/jQuery.get
There is a textarea with id 'tresc'.
Am taking data from it by:
var tresc = $("#tresc");
then ->
tresc.val()
How i can add tag after every new line, so I can add this do the
database or sent by mail? Was googling for solution for about 3 hours,
nothing works.
Cheers.
document.ready fires when the DOM is fully registered. If you have
large images in the document, document.ready doesn't wait for those to
completely load. So, it's typically earlier than window.onload, but it
isn't going to fire before you see stuff on the page.
I haven't tested this at all
Anyone at all have any ideas how to make the tabs not reload when you change
between them?
ngreenwood6 wrote:
>
> I have created a tabbed item. There are 2 tabs on called first the other
> second. Now when tab1 is clicked it should show the tab1 item and the same
> for tab2. This is working h
I'm not sure I quite understand the problem you're having, but it sort
of sounds like you could solve the problem by putting code you want to
execute after content is loaded into the callback function of the ajax
load method.
So, using your words below, ajax load the external load file into
Hi there,
I'm developing a site which uses the jQuery AJAX module. I want to
load external content into a div box inside the website. So far, there
are no problems, but when I try to load external content, in this case
HTML and Javascript, only the external Javascript is loaded.
To solve this pro
A user can select multiple options (through checkboxes). Upon submit,
the jQuery loads the accordian menu out of the selected options (9). I
am trying to show the first one as visible and the rest as collapsed.
Now the problem is .. div:lt(1).show makes the first option show (but
it is not the fir
$(document).ready(function() {
$("#form1").validate({
rules: {
name: "required",// simple rule, converted to
{required:true}
title,content, evaluation: {
required: true
}
},
messages: {
comment: "Please
On Fri, Oct 9, 2009 at 9:42 PM, macsig wrote:
>
> Hello guys,
> in a page I'm working on I have room for a div height not more than
> 200px, however I need to fit in a text that requires 300px and I don't
> want to show the scroll-bar on the right side so I'm looking for some
> ways/plug-ins in o
On Oct 9, 8:50 pm, MorningZ wrote:
> it's supposed to be "application/json", not "text/json". set the
> content type properly in your server side code and you'll be fine...
> "text/plain" will work as well
After some further searching, I found this section of code in the
jQuery library. If
Forgot to say: only the third set has pictures in it right now
2009/10/10 Jan Limpens :
> Sorry for the dumb title, but f I knew what it was, I'd probably not
> write this message
>
> At http://limpens.com I want to show my portfolios from flick
> photosets. I would want to use serialscroll t
Sorry for the dumb title, but f I knew what it was, I'd probably not
write this message
At http://limpens.com I want to show my portfolios from flick
photosets. I would want to use serialscroll to navigate within large
sets.
I think, I did it all as in the plugin's demo site, but out of some
On Oct 9, 8:50 pm, MorningZ wrote:
> it's supposed to be "application/json", not "text/json". set the
> content type properly in your server side code and you'll be fine...
> "text/plain" will work as well
>
I don't have control over the server code - is there any other
possible work aroun
kknaru ha scritto:
hmm...nobody? :(
I think that the problems occurs when you over the image in the space
where the div with the controls appears (firing the mouseout event for
the image).
I think you have to bind a mouseover function for the div that appears
setting a variable overCont
hover the li not the img
in your append you are not appending to the li you are trying to append
to the img which shouldn't work
kknaru wrote:
i have some images loaded viad load method, something like this:
on mouseover i want to append a div inside that with a greater z
hmm...nobody? :(
On Fri, Oct 9, 2009 at 10:30 PM, anjith wrote:
>
> i am using Jquery and javascript from long back but i don't know what
> this really means and what they return etc can any explain theseor
> can u just any wesite containing tutorials about these codings.
>
>
> $("#username")
>
> $("#newUser
On Fri, Oct 9, 2009 at 10:18 PM, anjith wrote:
>
> i am using Jquery and javascript from long back but i don't know what
> this really means and what they return etc can any explain theseor
> can u just any wesite containing tutorials about these codings.
Everything you need is in the docs.
56 matches
Mail list logo