We noticed an issue with the jquery.linkselect plugin (version 1.2.08)
today.
When the container width would cause it to be positioned off the the
screen it is repositioned incorrectly if there is no title element.
I fixed this in anchorTo function by instead adding the width of the
anchor if
The logic baked into the linkselect plugin http://www.givainc.com/
labs/linkselect_jquery_plugin.htm for avoiding the options container
from being cropped by the right hand edge of the page fails if there
is no title assigned to the select.
I’m writing to share a change to fix it.
Modified
In my particular scenario, the form plugin http://www.malsup.com/
jquery/ is triggering the specified success function, despite the
server returning a 409 conflict error (as seen in Firebug). The error
itself is okay - that’s what I am expecting given the content of the
form. I’m trying to
On Apr 6, 6:18 pm, gostbuster jeremyescol...@gmail.com wrote:
Here is my test code :
script type=text/javascript
$(function (){
$(#effet).click(function (){
$(this).fadeOut(slow);
$(this).fadeIn(fast);
});});
/script
div id=effetbonjour/div
When I click, the div
On Apr 6, 9:03 pm, mike michaelpi...@googlemail.com wrote:
created the following code which works ok but its only for 1 elements
(more1/less1) but i want it to work for x number of boxes, e.g. more2/
less2, more3/less2 without having to code some jquery for each. here
is the code:
On Apr 7, 4:54 am, Mike Alsup mal...@gmail.com wrote:
Where Firebug has recognised the server response text as json - but
the form plugin (or jquery) is still reporting success.
Obviously there is more to this than I understand. All clues and
guesses are very welcome as this is new
The time when I at least skimmed every message on this list in long
gone.
As jQuery becomes more and more popular, making your voice heard here
gets increasingly difficult.
Could time zone or locality be a useful way to divide the flow more
effectively?
Like local(ish) jQuery groups.
What
2009/2/4 jQuery Lover ilovejqu...@gmail.com:
I receive emails from the list and easily keep track of my postings in gmail.
You can click on Sent mail and see if you have any replies in thread
you've posted...
Ah, perhaps the mistake I have been making is sending and reading my
messages in
On Feb 2, 9:14 pm, Andy789 e...@abcstudio.com.au wrote:
Thank you. I think it should work - I will give it a try tomorrow. The
whole mess is just to store these html strings in the database and
extract it later to render a part of the page.
any better solutions for this?
I suppose the
On Feb 2, 6:21 pm, Andy789 e...@abcstudio.com.au wrote:
Json parser?http://plugins.jquery.com/project/json
any better solutions?
Is this related to your other post?
http://groups.google.com/group/jquery-en/browse_thread/thread/835b16fc688ae1a0
On Feb 2, 7:13 pm, Andy789 e...@abcstudio.com.au wrote:
I need to get html for a dom structure like this:
$('div#test').html();
it generates its innerHTML excluding div id=test
How an I get the whole structure including id test?
Good question - although...
What are you doing with the
On Feb 2, 8:19 am, shyhockey...@gmail.com shyhockey...@gmail.com
wrote:
Can I do it using jquery or no???
jQuery will certainly reduce the amount of code you might otherwise
need to write to make it happen.
Well worth your while to learn if that’s what you wan to do.
Make sure you start as
On Feb 2, 5:20 pm, James james.tilb...@gmail.com wrote:
But let's say I want to append an extension to pizza. For example I
want pizza.json, or pizza_1.js.
How do I get this extra string text into the ajax option above?
I have tried + notation, various combinations of brackets, etc. But
On Feb 2, 7:50 pm, Frederik Ring frederik.r...@gmail.com wrote:
So you could just either wrap it in a dummy-div or add the div
id=test and /div code manually?
Something like this should do the trick.
$('div').append($('#test').clone()).html();
Not sure if jQuery disposes of the new node and
On Jan 31, 8:33 am, Richard rich...@visual-style.co.uk wrote:
so I use $('.userListItem:eq(0)') to select the first occurence of a
div with the userListItem class. This doesn't work when the item is
within a cfdiv, but it does work if I put the item outside a cfdiv.
Sorry, what is a cfdiv?
Hey all,
Back in 2007 I published a jQuery plugin called Bigger Link to make it
easy to extend the clickable area of links.
http://plugins.jquery.com/project/biggerlink
I have rewritten it to take advantage of jQuery 1.3 (which it
requires), fixing a bunch of sloppiness and attempting to make
How would I check if the value of a given text field is valid
according to the rules specified with the Validation plugin (returning
true or false) without triggering validation?
Like using validation().element(el) or $(el).valid() - purely for the
returned boolean - without the error message
Attempting to use jquery-1.2.6.pack.js linked from
http://docs.jquery.com/Downloading_jQuery resulted in a lot of $ is
not defined errors for me.
The good news is using http://dean.edwards.name/packer/ to pack the
uncompressed version ( jquery-1.2.6.js ) worked nicely.
Perhaps a problem with
Brilliantly documented Wizzud!
thank-you
On May 9, 6:06 pm, Wizzud [EMAIL PROTECTED] wrote:
There's a bit of an oddity here (actually I think it's a bug, but
still...).
Conclusion:
- if your original object contains objects/arrays, you can'textend()
it into an empty object - you have
Stretching my grasp of JavaScript here...
Please view source of this for context:
http://static.fusion.com.au/ollie/jquery/extend/test.html
$.fn.test = function() {
// Creating what I thought was a new object
var dupe = $.extend({},$.fn.test.orig);
If thickbox provides a callback function you should define the
rollover behaviour within that. This will ensure the element/s to
receive the events are present in the page when the events are
attached.
Or try attaching your rollover event with this plugin:
Thanks Stan! jQuery template is helping make my code much easier to
read.
I have a question regarding it’s use. Have a look at this somewhat
contrived code:
var master = 'div${include}/div';
var parts = {
says : 'Hello world!',
include : 'p${variable}/p'
}
Apologies for my broken example above :/
2008/5/1 Oliver Boermans [EMAIL PROTECTED]:
I'm looking for a way to run the template.apply function _outside_ of
the dom related methods.
I had another poke around the code of jquery.template.js and Firebug
and managed to coax out what I was looking
Okay I figured it out I think, at least for my simple use of the
plugin:
On Mar 26, 3:02 pm, boermans [EMAIL PROTECTED] wrote:
Can anyone provide any tips as to what approach I should take to do
the same with the more complex Cycle plugin:
Added:
if( $(next).find('img')[0].complete
Hi jPeople,
Switched from innerFade to use the Cycle plugin's pause and resume
functionality. Works great thank-you!
I am looking for a way to check if the image contained by the next
slide is loaded before displaying it. The lovely fade effect falls
flat when the next image is only half
The problem is that when you run:
$('img.remove').click(function() {
console.log('test');
return false;
});
The image you are attempting to bind to doesn't exist.
To get around this you will need to bind the remove function after
adding the player.
There's a few ways to do this -
Your solution is okay providing you don't have many links to maintain.
If at some point you need to change a url you (or whoever has the job)
will have to make the change in two places. Given a bit of time this
kind of thing is very easy to forget!
Anyway, that's enough pimping of my own plugin
Your HTML is invalid (block level element div, inside an inline
element a).
Fortunately this is an excellent example what the biggerlink plugin
was created to do.
You can rearrange your HTML to something like:
div class=testBiggerLink
a href=/test.cfmClick Here/a
to ... bgo here/b
You may be able to determine the height while the divs are still
visible - before applying the cycle plugin. Avoid the likely flicker
by moving the divs temporarily out of view (to one side rather than
hidden). Bringing them back into view after applying the cycle plugin.
I have not used the
I was thinking of innerfade
http://medienfreunde.com/lab/innerfade/
hope that helps
On Jan 7, 2:16 pm, boermans [EMAIL PROTECTED] wrote:
I could be thinking of the wrong plugin?
Wizzud that is _exactly_ what I was looking for! Thank-you!
I see this being particularly useful for storing references to other
DOM elements.
For example to store a reference on each paragraph to it's previous
sibling:
!-- HTML --
pItem 1/p
pItem 2/p !-- save ref to item 1 --
Perhaps this:
$('img',e).attr({src: path/to/image});
Where img is the tag for your image and the comma ',' after the 'img'
indicates that this selector is relative to 'e' (i.e. inside it).
BTW there is no such beast as a href tag - href is an attribute of
an a tag.
In the same way 'src' is an
Thanks Mike,
can the metadata plugin be used to store variables determined on load
for later use?
So when the variables are subsequently required the code to retrieve
them is simple and quick.
Cheers
Ollie
On 05/11/2007, Mike Alsup [EMAIL PROTECTED] wrote:
Is there a relatively simple plugin
Is there a relatively simple plugin that takes advantage of jQuerys
expando management that anyone can recommend as an example?
The most promising information I have discovered is in the release
notes of jQuery 1.2 where John mentions jQuery.data() : http://
A simple one - but hopefully useful?
http://jquery.com/plugins/project/biggerlink
Damn you cut and paste! Funny white space characters to blame :/
I don't understand the js well enough to figure out why...
Champion Franck! Your code working beautifully in Safari/Mac.
To my js console at least - I have a little work to put it all together.
Regarding the Mac... Keep asking - if you don't the answer is always no!
I'm looking for a tidy way to call a function to iterate over a group
of DOM elements, with a small delay after the function completes
before it is called again with the following element.
Pseudo code:
==
$(elems).each(function(){
$(this).dostuff();
// wait a moment
//
Link is the more flexible option. The media and rel attributes give
you some control that @import lacks.
Generally I use import now as an organisational tool - linking in
separate CSS files from _within_ a central CSS file.
I remember years ago using the import to hide CSS from the likes of
IE3.
Thanks guys - I've added a link to a blog post with some documentation
of the use of autolineheight it the jQuery plugin page:
http://www.ollicle.com/2007/jun/03/jquery_lineheight_flexible.html
Maybe something like this? (not tested)
$('.children0').each(function(){
$(this).prepend($(this).parent().prev('.myclass').text());
});
On Jun 3, 11:26 pm, Mario Moura [EMAIL PROTECTED] wrote:
I have a group of div's with same class.
div class=myclassMY TEXT 1
/div
div
My first jQuery plugin is finally operational!
It adjusts the line-height (CSS) of text in proportion to container
width.
Demo here:
http://www.ollicle.com/eg/jquery/autolineheight/
Is there anything I can/should do to improve the structure of my
plugin code:
Hi all,
I'm attempting to take the next step into my understanding of jQuery
(and JavaScript for the matter) by putting together a simple plugin.
Although all the bits are in place; I'm having trouble bringing it all
together in a satisfactorily elegant package.
This is what I have so far:
Another for the list - put together by my friends and colleagues at
Fusion for another Adelaide crew:
Krix speakers
http://www.krix.com.au/
(Note: I believe there are some outstanding issues in Safari.)
Hi all,
I'm attempting to write a script which makes changes to image
positioning depending on attributes of previous images within a
portion of a document. To do so I'm looking for a way to select the
previous image relative to each image in the order in which they
appear in the document.
Crudely, something like this:
$('#prev').css('cursor','pointer').bind('click', function() {...}
Adding a class may be preferable if you wish to provide further visual
cues (such as a border) to your clickable images.
$('#prev').addClass('clickable').bind('click', function() {...}
And
Yeah, without digging into the complexity of the applied CSS that
markup seems a little heavy handed. Of course the original code may
have been tested in a greater range of quirky browsers than you have
at hand :)
I presume the class of the outer-most div in your example structure is
supposed to
47 matches
Mail list logo