Try:
function linkClick() {
var target = $('body').find('#test').attr('href');
window.location = target;
}
Maurício
-Mensagem Original-
De: Andy789 e...@abcstudio.com.au
Para: jQuery (English) jquery-en@googlegroups.com
Enviada em: sábado, 31 de janeiro de 2009 05:15
Assunto:
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.
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
On Jan 30, 7:57 am, bellaluna316 bellaluna...@gmail.com 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
Hi ,
The black background trick is working.
Thanks a ton, Ricordo.
Regards,
Samyak
On 1/31/09, Samyak Bhuta samyak.bh...@gmail.com 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
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 boerm...@gmail.com wrote:
On Jan 31, 8:33 am, Richard rich...@visual-style.co.uk wrote: so I use
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
P.S. : http://nrzv.com/valid/?s=2
loads $(#myApplDiv).load(2.php); into the index.php
On 31 Ocak, 13:22, TUNGA mesut.tu...@gmail.com 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:
Hi All,
I'm fairly new to jQuery so I apologize if I'm missing something
straightforward but doing this:
$('div/')
.attr('id', 'someID')
.insertBefore(elm);
$('p/')
.appendTo('someID');
Seems to give me errors. If I change appendTo('someID') to a
different element's ID,
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
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
html
head
/head
body
div
div id=prefix1/div
div id=prefix2/div
div id=prefix3/div
div id=noprefix1/div
/div
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
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
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
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
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
'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
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
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 nha...@gmail.com:
Hi All,
I'm fairly new to jQuery so I apologize if I'm missing something
straightforward but doing this:
$('div/')
.attr('id',
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 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
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
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
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:
$('div/')
.attr('id', 'ntww-'+serial)
.insertBefore(elm);
$('p/')
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 Jan
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!
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
frederik.r...@gmail.com wrote:
Hi thanks for the answer, it worked fine this way.
Although I understood the documentation in
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
Ok! That's great! Thanks for the explanation!
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
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
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
Do you use Firebug? First check if the element has been really
inserted to the DOM.
$('div/')
.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
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 namematters...@msn.com wrote:
ah, I thought that { key : pair } was just a replacement
$(#[$.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);
Yes you can use : input type=checkbox name=paradigm[]
value={$value.ver_id} /
Just modify your jquery code as well:
var checked_status=this.checked;$(input[name^='paradigm']).each
(function(){
this.checked=checked_status;
});
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 tuup...@appelsiini.net wrote:
When submitting a new plugin or plugin release there is no
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
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 joeldbi...@gmail.com wrote:
Hello,
This is the exact same issue someone else had just the other day, and
they were also a Joomla user.
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 matthew.c.wag...@gmail.com wrote:
I have a little demo up to check out.
http://jquery.oniegirl.com/svw/
(the
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.htm
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
Hello everyone!!
i'm learning and doing a control panel in PHP + Ajax..
i used some plugins:
script type=text/javascript src=../er.extra/jquery-latest.js/
script
script type=text/javascript src=../er.extra/
jquery.tablesorter.js/script
script type=text/javascript src=../er.extra/
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 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-
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'm looking to improve the performance , which of these 2 codes has
the best performance.
On Jan 30, 1:04 am, Nic Luciano adaptive...@gmail.com 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
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
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
On Jan 30, 7:08 pm, John Resig jere...@gmail.com 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:
//
On Jan 31, 12:55 pm, efet efetun...@gmail.com 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
flot
http://code.google.com/p/flot/
On Jan 31, 7:06 am, TrixJo tri...@gmail.com 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
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) {
strRSS =
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
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 post a
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
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 = h4 +
you could also check out Raphael or Processing.
stephen
On Sat, Jan 31, 2009 at 13:16, seasoup seas...@gmail.com wrote:
flot
http://code.google.com/p/flot/
On Jan 31, 7:06 am, TrixJo tri...@gmail.com wrote:
Hi there, I have been using Yahoo UI for the past couple of years and
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
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
Sorry, to be more specific by 'code' I mean HTML. :)
-Nicky
On Jan 31, 4:41 pm, Nicky nha...@gmail.com 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
Hi everyone,
I have a lot of tables, like this:
table id=stuff1trtdlorem/tdtdipsum/td/table
table id=stuff2trtdlorem2/tdtdipsum2/td/table
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
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;
Hi everyone,
I have a lot of tables, like this:
table id=stuff1trtdlorem/tdtdipsum/td/table
table id=stuff2trtdlorem2/tdtdipsum2/td/table
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
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:
table
Specify a value, either absolute (such as 7px) or relative (such as
80% or .9em)
On Jan 31, 5:37 pm, apple quye...@yahoo.com 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...
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
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
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.
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 side
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 = h4 + $(/rss/channel/title,rss).text() +
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 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
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?
Thanks. Hopefully it will be fixed soon.
On Jan 31, 2:32 pm, Karl Swedberg k...@englishrules.com 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:
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
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
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
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
script
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
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
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
$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
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() ?
\$(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
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 thertze...@gmail.com
wrote:
What I'm trying to do is on click of a div spawn a
On Sat, Jan 31, 2009 at 10:47 PM, Bob O sngndn...@gmail.com wrote:
div class=detail_campaign_typeCoupon/div --
This is the reference text that is dynamic
div id=campaign_create_coupon**Html Form Piece**/div
div id=campaign_create_contest **Html Form Piece**/div
On Sat, Jan 31, 2009 at 11:19 PM, thertze...@gmail.com
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
@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
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 * {
thanks for the reply,
but when i put ?= $this-jQuery(); ?
page displays
jQuery(); ?
any problem with php? please help
90 matches
Mail list logo