thanks for the reply,
but when i put jQuery(); ?>
page displays
jQuery(); ?>
any problem with php? please help
Ron,
I've made a bit of headway thanks to Firebug (recommended by Joel,
thank you).
You need to turn off the initial list-style call in the first 5 lines
of code in superfish.css. The browser sees that and ignores all else
after it. Like this:
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
@James
Thinking about what you are doing here with the third dropdown...By
attaching that dropdown to the second you are telling it to be
filtered by the second dropdown's selected value...which is not
selected yet since it just loaded so I would presume you shouldn't
have any data in the third dr
On Sat, Jan 31, 2009 at 11:19 PM, thertze...@gmail.com
wrote:
>
> \$(this).css({ backgroundColor:color }); never seem to fire, as far as
> I know though, its valid jquery javascript...
>
> As for the statement above "("input#color_code").val() " is whatever
> the user selects from the color picke
On Sat, Jan 31, 2009 at 10:47 PM, Bob O wrote:
>
> Coupon <--
> This is the reference text that is dynamic
>
> **Html Form Piece**
>
> **Html Form Piece**
>
> $(document).ready(function() {
> var $coupon_div = $('#campaign_create_coupon');
> var $contest_div = $('#campaign_crea
Here is the most recent code
http://pastie.org/376427
If I could only get "\$(this).css({ backgroundColor:color });" to
work, I would be happy? Please help me :D Thanks!
On Jan 31, 5:57 pm, "thertze...@gmail.com"
wrote:
> What I'm trying to do is on click of a div spawn a
> "timer" (setTimeout
\$(this).css({ backgroundColor:color }); never seem to fire, as far as
I know though, its valid jquery javascript...
As for the statement above "("input#color_code").val() " is whatever
the user selects from the color picker.
If anyone is questioning my \$ in my javascript, i have to do it this
> Can someone tell me why my \$(this).css({ backgroundColor:color });
> statement isn't changing as soon as the user clicks on a div?
Does it fire at some later time, or never? What is the value of $
("input#color_code").val() ?
> $current_campaign.ready(function() {
If the document is ready, the div is always ready, right?
> if ($('div.detail_campaign_type').text() == 'Coupon') {
Is it possible there are some leading or trailing spaces in the text?
The spaces actually retained in the text can vary by browser as
So below i have my code example.
Basically when a user loads this page depending on the type of
"campaign" this is, I want jQuery to show the proper Sub Form Piece. I
can get the alert() outside the if else to fire, but nothing inside
the if else fires, which leads me to believe that I might have
Sounds like you are using incompatible versions of jQuery and jQuery UI.
jQuery UI 1.5.3 through 1.6rc4 are only compatible with jQuery 1.2.6. In
order to use jQueryu UI with jQuery 1.3+, you'll need the latest preview
release, jQuery UI 1.6rc6.
Also note: there is a dedicated mailing list for jQu
I am new to JQuery and your cascading dropdown was exactly what I was
looking for. After formatting my data in JSON I have tested out the
Chained example (http://dev.chayachronicles.com/jquery/cascade/
index.html) and it ONLY WORKS in Firefox and NOT IE.
I am attempting to load the data from two
OK.. Here is the problem. I have downloaded the UI slider from Jquery
website. The slider shows up fine. The slider moves fine.. BUT.. none
of the callbacks are being called. i have searched high and low for
this but oculd not find anything.
Here is the code that i use
I am new to JQuery and your cascading dropdown was exactly what I was
looking for. After formatting my data in JSON I have tested out the
Chained example and it ONLY WORKS in Firefox and NOT IE.
I am attempting to load the data from two external files, while your
example loads the second data se
Hi People.
Hope you can advise.
I have a form loaded though an Ajax Call.
I now want to be able to use this form again by using an Ajax call. I
am unable to preventDefault unless I put it directly after the form
which I really dont want.
I know through other Ajax calls I have done that I have
Hi!
I would like to write a js script using jQuery which could help me to
toggle checkbox.
I have one checkbox for each row of table and i would like to simplify
the checking and unchecking the boxes by letting user just to click
anywhere on the row to do this.
I was trying something with childre
Thanks. Hopefully it will be fixed soon.
On Jan 31, 2:32 pm, Karl Swedberg wrote:
> Hi Alex,
>
> Which version of jQuery are you using? If it's 1.3.1, there was a
> regression that caused this problem.
>
> This has been fixed in the svn version. See the bug report here:
>
> http://dev.jquery.c
Hi Richardo,
Thanks for the help, ive been messing around with what you provided
and cant seem to get it running..
Anything im doing wrong?
Can someone tell me why my \$(this).css({ backgroundColor:color });
statement isn't changing as soon as the user clicks on a div?
On Jan 31, 5:57 pm, "thertze...@gmail.com"
wrote:
> What I'm trying to do is on click of a div spawn a
> "timer" (setTimeout) which will run while the user is on the
Using the DOM insertions method is the correct way to insert content
into a page. If you need better performance, concatenate everything in
a string and append it all at once, that can make a big difference.
On Jan 31, 7:41 pm, Nicky wrote:
> Hi All,
>
> Thanks for the great responses, jsbin is
Is that actually working? XPath selectors are not supported in jQuery
anymore.
Make it simple:
$(function() {
$.ajax({
type: "GET",
url: "http://anthonyjamesbruno.com/blog/?feed=rss2";,
dataType: "xml",
success: function(rss) {
strRSS = "" + $("/rss/channel/title",rss).te
I think i finally got it to work, changed all the setTimeout functions
to setInterval, now I just need to figure out why "\$(this).css
({ backgroundColor:color }); " isnt setting the color of the divs
instantly, as well as a new method call for .load (don't need to
reload everytime with client sid
What I'm trying to do is on click of a div spawn a
"timer" (setTimeout) which will run while the user is on the page, on
completion of the countedown of setTimeout, load a function to do a
submit. However in my testing the following code does not wait, and
submits the page event right away. Basica
Hi all,
I'm using the BlockUI plugin with great success on my data table
that's asynchronously loading data via AJAX, when new data is being
loaded I'm visually overlaying the table (wrapped in a div) to let the
user know that data is being loaded and prevent manipulation of the
data in the table.
On Jan 30, 2009, at 5:06 PM, david.0pl...@gmail.com wrote:
Ok, thank you very much i got this!
Also, just to know is there any site/books that specifically 'speaks'
about the limitations of the various web browsers?
Yes, check out PPK's Quirksmode at http://www.quirksmode.org/
--Karl
__
Specify a value, either absolute (such as 7px) or relative (such as
80% or .9em)
On Jan 31, 5:37 pm, apple wrote:
> Hi,
>
> I would like to change the tooltip style: making the font smaller with
> a different color ; I tried changing the tooltip.css but it seems not
> to work...
>
> #tooltip {
>
If you want the id of the parent table, you can get it this way:
$(this).parents('table')[0].id
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 31, 2009, at 4:57 PM, Christoffer wrote:
Hi everyone,
I have a lot of tables, like this:
loremipsum
lore
Hi everyone,
I have a lot of tables, like this:
loremipsum
lorem2ipsum2
I want to loop through all td:s and select the id of the parent table.
What is the best solution for that?
$('table td').each(function(){
// select the parent table id here
$('parenttable').attr("id");
});
Best rega
Hi,
I would like to change the tooltip style: making the font smaller with
a different color ; I tried changing the tooltip.css but it seems not
to work...
#tooltip {
position: absolute;
z-index: 3000;
background-color: #eee;
padding: 5px;
font-size:small;
Hi everyone,
I have a lot of tables, like this:
loremipsum
lorem2ipsum2
I want to loop through all td:s and select the id of the parent table.
What is the best solution for that?
$('table td').each(function(){
// select the parent table id here
$('parenttable').attr("id");
});
Best r
Sorry, to be more specific by 'code' I mean HTML. :)
-Nicky
On Jan 31, 4:41 pm, Nicky wrote:
> Hi All,
>
> Thanks for the great responses, jsbin is great. I've figured out the
> problem and things seem to be working smoothly at the moment.
>
> If I may, let me ask another related question:
>
>
Not that this was a super hot topic, but IT WORKS NOW!
http://jquery.oniegirl.com/svw/works.htm
You can see the working version, plus a writeup on how I got it
working, etc. at that link.
Apparently there are key differences between "$(window).bind" and "$
(document).ready"
I cannot explain t
Guys, thank you, but it still does not work.
1) The Maurício's solution is just a way of extracting the href value
and creating onlick event to jump to that link. What I need is to
emulate a click on the a element without opening a link directly. The
reason for that: Rokbox scans all rel="rokbox"
you could also check out Raphael or Processing.
stephen
On Sat, Jan 31, 2009 at 13:16, seasoup wrote:
>
> flot
>
> http://code.google.com/p/flot/
>
>
>
> On Jan 31, 7:06 am, TrixJo wrote:
> > Hi there, I have been using Yahoo UI for the past couple of years and
> > finally jumped ship and hav
Ive been editing this a little bit and thought that what i have below
would work. but it doesn't.
$(function() {
$.ajax({
type: "GET",
url: "http://anthonyjamesbruno.com/blog/?feed=rss2";,
dataType: "xml",
success: function(rss) {
strRSS = "" + $("
Hi All,
Thanks for the great responses, jsbin is great. I've figured out the
problem and things seem to be working smoothly at the moment.
If I may, let me ask another related question:
Ultimately, this script is writing a web widget to a page. Is there an
easier way to be writing large amounts
jQuery should be doing that by default, line 733 of core.js:
var val, props = { position: "absolute", visibility: "hidden",
display:"block" }
if ( jQuery(elem).is(":visible") )
getWH();
else
jQuery.swap( elem, props, getWH ); //apply 'props' briefly to get
the correct values
Could you p
Hello
I was curious if someone could help me with the output of a feed
aggregator Im trying to use.
Right now the feed displays the content in a series of list items with
the link to read the article attached to a href. What I would like to
happen, is take the link to the rss story, and attach i
I was curious if someone could help me manipulate some code. Im still
pretty new to jQuery and this is over my head.
$(function() {
$.ajax({
type: "GET",
url: "http://www.msn.com/rss/alsoonmsn.aspx";,
dataType: "xml",
success: function(rss) {
strRS
flot
http://code.google.com/p/flot/
On Jan 31, 7:06 am, TrixJo wrote:
> Hi there, I have been using Yahoo UI for the past couple of years and
> finally jumped ship and have come over to JQuery mainly because of all
> of the amazing things I am seeing!
>
> I am making a simple web game. Users
On Jan 31, 12:55 pm, efet wrote:
> When customer enters ReceiverPostalCode and ReceiverCountry on
> index.asp, I want quotes immediately appear in index.asp. How do I do
> this basing my codes on jQuery?
Assuming ship.asp returns some kind of value, you simply make a Ajax
request to ship.asp and
On Jan 30, 7:08 pm, John Resig wrote:
> It looks like you're trying to use a jQuery UI effect - maybe that's why?
Thanks John. Forgive my ignorance, but how does jQuery know that
you're calling the toggle() UI effect as opposed to the toggle() core
effect? For example:
// toggle UI
$("p").click
Thanks, Ariel. I've also been in touch with Mike about this.
Mika, it seems 1.3.x appears when you create a new project, but not
when you add a release to an existing one. I'm sure Mike will get to
the bottom of it and fix it soon. I'll post again here as soon as I
see it has been fixed (un
Hi Pedram,
I agree with Nic. Especially if you're only dealing with 4 elements,
binding directly on them seems like the most sensible solution.
Are you noticing performance problems? You shouldn't be seeing any,
with scripts this basic. In any case, there are a couple selector
optimizatio
I'm looking to improve the performance , which of these 2 codes has
the best performance.
On Jan 30, 1:04 am, Nic Luciano wrote:
> What exactly are you trying to do, what is the issue? Maybe just preference
> here (and I'm also just guessing what you're asking) but I don't see a
> reason not to
Hi all,
I'm using the fantastic validation plugin (from bassistance.de) and
have run into a little glitch. I understand the plugin doesn't
currently handle dropdowns, but I found a possible solution on True
Tribe (http://www.thetruetribe.com/jquery/1-jquery-api/68-jquery-
plugin-validation-with-a
Hi there, I have been using Yahoo UI for the past couple of years and
finally jumped ship and have come over to JQuery mainly because of all
of the amazing things I am seeing!
I am making a simple web game. Users can level their avatars and
engage in combat.
Therefore, I require a horizontal hi
This will be my first application with using jQuery library, so I
might not make sense. I will try to explain what I want to do as
simple as possible.
I have two web pages, index.asp, ship.asp.
index.asp: I have a form with ReceiverPostalCode and ReceiverCountry
inputs.
ship.asp: this is where I
Hello everyone!!
i'm learning and doing a control panel in PHP + Ajax..
i used some plugins:
it's all right, but when i add, remove or edit some row it didn't
update!
i used $("table").trigger('stripe'); to update but nothing happened!!
can anyone help me???
xD
thanks!!
Hi Alex,
Which version of jQuery are you using? If it's 1.3.1, there was a
regression that caused this problem.
This has been fixed in the svn version. See the bug report here:
http://dev.jquery.com/ticket/3988
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
Hi Nicky,
where do the variables elm, and serial come from?
Your posted code snipped looks ok, and it's working fine if you
populate the elm and serial with meaningful values. (see example:
http://jsbin.com/oxehe/edit)
I guess there is a problem with elm. Are you sure it holds exactly 1
DOM ele
Yeah, that's expected - you would need to bind the event handler,
attributes, etc. etc. before you run insertAfter. We might want to
look at making that not the case, at some point, but that would
require an API change.
If you're interested in that, you should file a feature ticket here:
http://d
Jörn,
Thanks for the response, and I agree that tooltips by themselves work
fine with your plugin.
I have the latest version in use, but for some reason it still does
not work. (The proper div with id="tooltip" gets inserted, but nothing
happens on hover)
http://jquery.oniegirl.com/svw/broken.ht
Could you give the latest revision a try? It seems to work fine with
core 1.3: http://jqueryjs.googlecode.com/svn/trunk/plugins/tooltip/
Jörn
On Thu, Jan 29, 2009 at 4:52 PM, Matt wrote:
>
> I have a little demo up to check out.
>
> http://jquery.oniegirl.com/svw/
>
> (the pictures are not mine
Thanks Joel,
I was the other guy a few days ago.
Does this code snippet go into the superfish.css file???
With regards,
Ron
On Jan 31, 6:08 am, Joel Birch wrote:
> Hello,
>
> This is the exact same issue someone else had just the other day, and
> they were also a Joomla user. Your problem is
You should keep the headers somewhere, preferably close to the code.
Something like this:
/**
* jQuery
*/
(function($){...});
/**
* Plugin 1
*/
(function($){...});
/**
* Plugin 2
*/
(function($){...});
--
Ariel Flesler
http://flesler.blogspot.com
On Jan
Ping Mike Hostetler about this. I told him about this and he did
indeed added it. Maybe he forgot to add it somewhere else...
--
Ariel Flesler
http://flesler.blogspot.com
On Jan 30, 1:29 pm, Mika Tuupola wrote:
> When submitting a new plugin or plugin release there is no 1.3.x
> option in the
Yes you can use :
Just modify your jquery code as well:
var checked_status=this.checked;$("input[name^='paradigm']").each
(function(){
this.checked=checked_status;
});
http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue
On Jan 31, 12:
$("#[$.variables.formID]") - that is a plain string, and there is no
need for the brackets. You probably meant to use
$("#"+$.variables.formID).append(...)
But it's much easier to save the current form itself, instead of it's
ID:
$('[id^=credit]').change(function() {
var $self = $(this);
$
&key=pair within the URL will always be GET parameter, no matter what
you do or what you use ($.post, $.get, $.ajax, $.load, etc.)
POST has nothing to do with the URL.
On Jan 31, 2:26 am, Mark Livingstone wrote:
> ah, I thought that { key : pair } was just a replacement for
> &key=pair...
>
>
Do you use Firebug? First check if the element has been really
inserted to the DOM.
$('')
.attr('id', 'someID')
.insertBefore(elm);
alert( $('#someID').length );
// console.info( $('#someID').length );
I'm sure if you post a full test case at jsbin.com or somewhere else
on-line your p
I'm not sure, but I think click() will only fire the events bound with
jQuery itself. RokBox seems to be based on mootools, have you tried
the mootools way?
$('test').fireEvent('click');
Also, are you sure you're not having conflicts between jQuery and
mootools? Which one is using the caret symb
I think the issue is more simple than you though!
This
http://www.stcyril.net/site/templates/rhuk_milkyway/images/normal_bg.png
is missing! And you are missing other images! Example:
mw_menu_normal_bg.png,...
Please go to line 42 in green.css and put a correct path, i tried to
put a correct path
Hi all, if you have just few minutes, i need help to debug the script
for the 1.1 version of pirobox.
It works with jQuery 1.3.1 and also, obviously with 1.2.6.
here is the link
http://www.pirolab.it/demo/index_b.html
any advice will be welcome
tnx in advance to all
Diego Valobra
Ok! That's great! Thanks for the explanation!
Hi Tommy,
Many thanks. That's exactly what I came up with over night.
$(this).next().css('display', 'block');
var h = $(this).next().height();
$(this).next().hide();
$(this).addClass('accordion_selected').next().height(h).slideDown
({duration: 700, easing: 'easeInOutQuad'});
Gives me the corre
if its in the cache, then it will be loaded (much) faster so
either cache or no cache, the page still has to load it
On Jan 31, 10:09 am, "frederik.r...@gmail.com"
wrote:
> Hi & thanks for the answer, it worked fine this way.
> Although I understood the documentation in a way that load wil
Hi & thanks for the answer, it worked fine this way.
Although I understood the documentation in a way that load will only
fire if the image still has to loaded. What happens when the image
already is in the Browser's cache?
Thanks again!
I know its probably not the best solution, but what if you showed the
div just long enough to get the height, hid it again and then slid it
down. You could prevent the div from actually showing by giving it
something like .css("left","-1px") before using .show(). Just a
thought.
Tommy
On Ja
Ah, very sorry about that mistype, but that is in fact what I am doing
(just replaced my code wrong when I changed what I have to 'someID')
Here's what I have, exactly:
$('')
.attr('id', 'ntww-'+serial)
.insertBefore(elm);
$('')
.ap
Hi
I have tried to make a tiny accordion where .mouseover
triggers .show/.hide, and it seems to work alright. The issue I am
trying to solve is to prevent the animation from running after the
cursor is moved through the whole accordion. I want to get rid of the
chain reaction, if that is an under
Hi guys.
There is some reasonable code in the jquery.fx module which stops to
be reasonable when working with textareas.
1. jQuery.fx.prototype.update
It changes display to 'block', which may not be good for textareas.
I've made this workaround and you might want to add this 'inline'
option (or
Hi,
the event you are looking fore is the image load event.
try:
$('.myimage').load(function(){...});
by(e)
Stephan
2009/1/31 frederik.r...@gmail.com :
>
> Hi!
>
> I have the following task: I have a list of images and some of those
> images have a larger version that I want to display in
the selector for an id is #, sou you should use "#someID" instead of
"someID" for the appendTo() function.
by(e)
Stephan
2009/1/31 Nicky :
>
> Hi All,
>
> I'm fairly new to jQuery so I apologize if I'm missing something
> straightforward but doing this:
>
> $('')
>.attr('id', 'someID')
Hello,
This is the exact same issue someone else had just the other day, and
they were also a Joomla user. Your problem is figure out by selecting
the menu li element using Firebug. The Superfish background rule is
being overridden by the #pillmenu li li rule which is in the green.css
file. The r
'Twas brillig, and Junaid at 31/01/09 10:48 did gyre and gimble:
Hi,
I just started to try ZendX_JQuery as in the documentation, but not
working :(
Where I need to put the JQuery javascript library files.
Make sure you've registered the jquery helper in your view and make sure
you add the r
Hi!
I have the following task: I have a list of images and some of those
images have a larger version that I want to display in a popup when
clicking on them. As I want to generate those Popup-Links
automatically I need to know the size of the large image. I do this by
loading the large image int
Hi,
I'm setting up my first Joomla site and had a request to add drop down
menus. I located Superfish and installed it. Simple, clean, no
problems. But wait...
It all works well, except for the fact that there is no background
image or color on the dropdown items. I cannot seem to address the
b
Howdy Guys,
A bit of a problem I have been struggling with for a number of hours,
and some help would go a long way.
Its not really a problem with the $.ajax() function. It is more a
problem with selecting live variables on the fly. I have multiple
forms on one page, so selecting that one form to
Hi,
I'm setting up my first Joomla site and had a request to add drop down
menus. I located Superfish and installed it. Simple, clean, no
problems. But wait...
It all works well, except for the fact that there is no background
image or color on the dropdown items. I cannot seem to address the
b
My website uses an accordion and equal height columns using jQuery
1.3.
It works in Firefox 3, IE 7, etc.
Any reason it doesn't work?
Here's the site:
http://amarjeetrai.co.uk/C3Web/index.html
Please help.
Thanks.
Hi,
I'm setting up my first Joomla site and had a request to add drop down
menus. I located Superfish and installed it. Simple, clean, no
problems. But wait...
It all works well, except for the fact that there is no background
image or color on the dropdown items. I cannot seem to address the
b
ok, now, my question is how to do that and put those matched ids in an
array
after that I will have possibility to do what I want.
all tha I want to do with jquery
here is some test html
sorry , if my question is noobish, but I'm a beginner in jquery using
Hi,
I just started to try ZendX_JQuery as in the documentation, but not
working :(
Where I need to put the JQuery javascript library files.
Thanks in advance.
Junaid
Hi All,
I'm fairly new to jQuery so I apologize if I'm missing something
straightforward but doing this:
$('')
.attr('id', 'someID')
.insertBefore(elm);
$('')
.appendTo('someID');
Seems to give me errors. If I change "appendTo('someID')" to a
different element's ID, it w
P.S. : http://nrzv.com/valid/?s=2
loads $("#myApplDiv").load("2.php"); into the index.php
On 31 Ocak, 13:22, TUNGA wrote:
> Hi Jörn,
>
> Thanks for your reply. Here is the sample:
>
> http://nrzv.com/valid/
>
> step 1 works well. on Step 2 there is a rule section like:
>
> rule
Hi Jörn,
Thanks for your reply. Here is the sample:
http://nrzv.com/valid/
step 1 works well. on Step 2 there is a rule section like:
rules: {
secondSentDocumentsTo: {
required: { depends:
"#secondPermanentAddress:filled"
It is a coldfusion tag that creates a HTML div tag and lets you use
asynchronous form submission or a bind expression to dynamically
control the tag contents.
On Jan 31, 1:37 am, boermans wrote:
> On Jan 31, 8:33 am, Richard wrote:> so I use
> $('.userListItem:eq(0)') to select the first occur
Hi ,
The black background trick is working.
Thanks a ton, Ricordo.
Regards,
Samyak
On 1/31/09, Samyak Bhuta wrote:
> Hi Ricardo,
>
> What should be the image format ? I am using .jpg as of now.
>
> Thanks for the help.
>
>
> Samyak
>
>
> On 1/31/09, Ricardo Tomasi wrote:
> >
> > It's
On Jan 30, 7:57 am, bellaluna316 wrote:
> RE: Vertical hover. I am trying to do the following and can not
> figure out what CSS code controls these things:
Hello,
While I no longer offer general CSS help for Superfish menus, here are
a few pointers:
> • Move the bullets off the left edge
Hi Andy,
Sorry. There is no need to use the find() method.
function linkClick() {
var target = $('#test').attr('href');
window.location = target;
}
---
But I strongly recommend do not use javascrit whitin the markup.
Keep behavior inside its o
Hi Bruno,
Have a look at my Superfish menu plugin. Specifically, check out the
nav-bar demonstration as it behaves precisely like you described.
http://users.tpg.com.au/j_birch/plugins/superfish/#examples
Joel Birch.
Try:
function linkClick() {
var target = $('body').find('#test').attr('href');
window.location = target;
}
Maurício
-Mensagem Original-
De: "Andy789"
Para: "jQuery (English)"
Enviada em: sábado, 31 de janeiro de 2009 05:15
Assunto: [jQuery] Triggering a link with no click event
93 matches
Mail list logo