take a look at http://jpassoc.com/js/jquery-kidsbook.js as used in
http://jpassoc.com/junior/story/
On 6/1/07, Michael Edmondson <[EMAIL PROTECTED]> wrote:
I am working on writing a plugin that, given a list of words/phrases,
will link text.
That sounds so ... less than spectacular. The con
Also, Christian Bach posted a "wrapInner" plugin back in February:
Here is the new version.
jQuery.fn.wrapInner = function(o) {
return this.each(function(){
var jQ = jQuery(this);
var c = jQ.html();
jQ.empty().append(o.el).filter(o.id).html
On Jun 2, 2007, at 12:15 AM, Matt Stith wrote:
Oh, i thought the $("a") was just an example... Anyways, OP
shouldnt be putting spans inside of an anchor, is a block level
element, meaning text and linebreaks only inside of it.
Actually, is an inline element, meaning no block-level element
I've needed this myself and have seen this come up on the list a few times.
Although, the jQuery core makes this pretty easy to accomplish ... it should
involve less typing and be more explicit. I've gone ahead and created a
proper jQuery.fn.innerWrap method. It works much the same way wrap does .
Oh, i thought the $("a") was just an example... Anyways, OP shouldnt be
putting spans inside of an anchor, is a block level element, meaning
text and linebreaks only inside of it.
On 6/2/07, Erik Beeson <[EMAIL PROTECTED]> wrote:
> .html only breaks chaining if you dont pass an argument, so t
.html only breaks chaining if you dont pass an argument, so try this out:
$("a").html(""+$("a").html()+"");
Except $('a').html() will always return the content of the first link,
so that will set all links to have the same text as the first link.
You need to wrap it in each() like the OP did.
.html only breaks chaining if you dont pass an argument, so try this out:
$("a").html(""+$("a").html()+"");
On 6/1/07, WPWOW <[EMAIL PROTECTED]> wrote:
i want to turn
test
into
test
so...
$("a").prepend("").append("");
doesnt work because of the open tag. the first span is closed and the
s
Okay, it turns out that I initially had noConflict() within a function
on .ready. This turns out to be a bad idea. Moving noConflict() inline,
below the library include (as below) works fine, and prevents the need
to load noConflict() multiple times.
~ ~ Dave
DaveG wrote:
Unfortunately t
i want to turn
test
into
test
so...
$("a").prepend("").append("");
doesnt work because of the open tag. the first span is closed and the
second span is thrown away. (this quality should be noted in the docs,
i think.)
$("a").wrap()
would apply content to the outside of the link
$("a").html()
Unfortunately this is on an internal environment, and I can't create an
external test file -- I don't have access to a server environment that
Ajax.update can call. I know, that's not much help, sorry :)
~ ~ Dave
Brandon Aaron wrote:
You shouldn't need to call noConflict more than once. Cou
Yes, the current compressed version (using packer) of validate plugin
has problem with IE (simply not working), I can't say this is a bug
(as non-compressed one works), but the author's writing style might
not be too compatible with those compressors.
so, you can use the non-compressed one, or t
I am working on writing a plugin that, given a list of words/phrases,
will link text.
That sounds so ... less than spectacular. The concept is similar to
those in-text ads, except without the popups/bubbles. (Even less
spectacular-sounding.)
I was wondering if there already existed a plugin fo
You shouldn't need to call noConflict more than once. Could you post up an
example?
--
Brandon Aaron
On 6/1/07, DaveG <[EMAIL PROTECTED]> wrote:
I'm using prototype and jQ on the same page. I'm using noConflict().
jQuery.noConflict();
Everything is happy. Until I use prototypes Ajax.
I'm using prototype and jQ on the same page. I'm using noConflict().
jQuery.noConflict();
Everything is happy. Until I use prototypes Ajax.Update(). The response
is a bunch of javascript calls that include calls to prototype routines,
like Element.show(). It seems that I need to include
Hi Sam,
Not yet, but I think I can incorporate that into it.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 1, 2007, at 9:57 PM, SamCKayak wrote:
Karl,
I see cluetips supports local HTML, that's great.
Can it support a non-anchor element, simpl
Yup, checked there, couldn't find it (if it was there).
- Jack
Benjamin Sterling wrote:
Jack, did you take a look at the
http://docs.jquery.com/Sites_Using_jQuery link? I don't recall the
site you are referring to, but it may be on that list.
On 6/1/07, *Jack Killpatrick* <[EMAIL PROTECTED]
Is it just me (and a friend of mine who tried it, too) or does this page
kill IE6:
http://interface.eyecon.ro/demos
?
I've used Interface for lots of stuff that worked in IE6, but wanted to
point a client at a full set of examplesand they use IE6and
whops!
- Jack
Jack, did you take a look at the
http://docs.jquery.com/Sites_Using_jQuerylink? I don't recall the
site you are referring to, but it may be on that
list.
On 6/1/07, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
I'm looking for a link to a site that was mentioned here a month or so
agoit had
Karl,
I see cluetips supports local HTML, that's great.
Can it support a non-anchor element, simply coded with title?, e.g.,
abc def
Sam
I'm looking for a link to a site that was mentioned here a month or so
agoit had a modified lightbox and had gallery thumbnails inside an
accordion-like layout, with text content that I think was about the
history of something (a place, a museum, ???). The user would read the
first pane o
Karl,
Do you have plans or schedule to support loading of HTML, hidden on
the page, into the tip?
Sam
On Friday, June 01, 2007 3:44 PM Gee Starr <> said:
> Chris, I think my issue is slightly different: I am trying to get
> label text to show on the same line as the input field and datePicker
> button.
Ahh... I see. I misunderstood.
> Start date name="startDate" class="datePickerField" />
>
Chris, I think my issue is slightly different: I am trying to get label text
to show on the same line as the input field and datePicker button.
E.g., (and hope the markup makes it through here)
Start date
Displays as
Start date
[input][button]
...instead of the desired...
Start date [input][
Interestingly $("title").text('new'); changes the title in the DOM, you can
see it in firebug, but it doesn't change it in the window.
Glen
On 6/1/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
jQuery is not needed for this, try:
document.title = "...";
~Sean
On Friday, June 01, 2007 1:11 PM gee <> said:
> E.g., instead of:
>
> Start date: [text input] [.png]
>
> The display appears as:
>
> Start date:
> [text input][.png]
>
> I gather it has something to do with using a float in the style
> declaration for a.dp-choose-date. Before I wade into exp
jQuery is not needed for this, try:
document.title = "...";
~Sean
No need for jquery here, using normal javascript would be much faster.
document.title = "blahblahblah";
(i think :-\ )
On 6/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
Subject line is the question. How do I use JQuery to set the page
title (what goes in the tags)?
Thanks, - Da
Hi,
Subject line is the question. How do I use JQuery to set the page
title (what goes in the tags)?
Thanks, - Dave
Something like below should work:
$('#textbox').focus(function(){
$('#mybox').jqm({}).jqmShow();
});
On 6/1/07, Shuai Yang <[EMAIL PROTECTED]> wrote:
how can i display a jqwindow when i focus the cursor into a textbox?
the jqModal demo use a click event to achieve this .
great thanks...
(I clumsily posted this as a new topic yesterday (http://
groups.google.com/group/jquery-en/browse_thread/thread/
b8471b7990296b12?hl=en); I am reposting it here -- hopefully in the
correct thread -- with advance apologies for the clutter.)
Great work!
An issue I have experienced with both the o
> The problem is that even though you're unbinding the old one and
> attaching a new one, the new one will still be executed, since we're
> still within a 'keydown' event.
You're exactly right.
Thanks for taking a look. I found a way to rewrite things so that the
functions doesn't have to call i
Hello,
I can't figure out why the calendar icon is moving below the input field
it is attached to. It used to work fine in v1 but now that I've
upgraded* to v2 I can't get it to appear to the right of the input
field.
I'm working on an internal project that I don't want to post the URL of
but
how can i display a jqwindow when i focus the cursor into a textbox?
the jqModal demo use a click event to achieve this .
great thanks...
@Sean: I agree, plug n play is awesome.
The http one is the weakest example. Its more relevant for "$" and "%".
But this is the sort of thing that flexibility is useful. There are many
edge cases where you want to prefix or suffix something.
Glen
On 6/1/07, Sean Catchpole <[EMAIL PROTECTED]>
You need to set the z-index of the stuff you want to appear in the
"foreground" higher than the stuff in the "background". Google css
z-index
--Erik
On 6/1/07, Paolo <[EMAIL PROTECTED]> wrote:
Hello,
let's assume you have two objects A and B (let's say 2 images for
simplicity). The first obj
That's because you're calling TB_keyCatch() from within itself, which
is binding the keydown function again, before the old one is able to
finish.
The problem is that even though you're unbinding the old one and
attaching a new one, the new one will still be executed, since we're
still within a
On 6/1/07, Aaron Scott <[EMAIL PROTECTED]> wrote:
> What's causing the hiccup? I'm guessing it's the fact that it's
> looking for a key down, and IE is still assuming the key is down when
> the function is called. I tried using keypress instead of keydown, but
> keypress doesn't seem to registe
Hi Sam,
You're right. Sorry about that! The plugin is still unfinished, and I
haven't blogged about it yet, and other things have distracted me.
But enough excuses!
All the links are there now, including a .zip of the whole shebang,
including the example files and images.
http://examples
Hello,
let's assume you have two objects A and B (let's say 2 images for
simplicity). The first object A that gets loaded is placed in
foreground in respect to the second object B, loaded after. If I drag
the second object B over the object A, I'd like to see it in
foreground but being the object
Josh,
It's your baby now, have fun with it.
If you implement the title idea, I recommend automatically running
Watermark on all inputs with a title attribute (if your script is
included).
ie: $("[EMAIL PROTECTED]").Watermark();
Making scripts plug-and-play is one of the best ways to reach a wi
> What's causing the hiccup? I'm guessing it's the fact that it's
> looking for a key down, and IE is still assuming the key is down when
> the function is called. I tried using keypress instead of keydown, but
> keypress doesn't seem to register the left and right arrow keys, which
> is exactly w
After some searching, it looks like I re-implemented the following:
http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/
Mine does have the global functions to hide and remove the watermarks. I
think I like the idea of making the text be driven from the title
attribute. I'm also curio
Nice, thanks for the info. I have encountered this a few times myself.
--
Brandon Aaron
On 6/1/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
While this isn't specifically related to jQuery, it certainly could affect
jQuery users, so I thought I'd post the link.
It appears Firefox 1.5 (an
While this isn't specifically related to jQuery, it certainly could affect
jQuery users, so I thought I'd post the link.
It appears Firefox 1.5 (and lower--I don't believe it exists in v2) has an
internal bug with dynamically created elements and later invoking
the focus() method on the field.
Viewing the source is never a bad way to learn in my opinion.
~Sean
Slightly off topic, but why would you not want them to enter the
"http://"; does that really complicate things?
Great plugin btw, although I really like using the title attribute as
much as possible, so I like Alex's suggested script too.
Keep up the good work everyone.
~Sean
I had a similar problem with the validate plugin. Using the non-packed
version worked. Try that and see if the problem persists.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of howard chen
Sent: Friday, June 01, 2007 10:57 AM
To: jquery-en@googl
I think on top is better. Usually these are things you dont want the user
to type in because you want clean data (without the prefix). If you put it
in a span with a class, then the user could change the color through CSS.
One interesting case is the user has an option of http or https. But in
The following script work with FF 2.0.0.3, but not IE7, all scripts
are latest version from correspoinging web sites
=
$.validator.setDefaults({
debug: true
});
$().ready(function() {
Demonstration code:
function TB_keyCatch() {
$(document).keydown(function(e) {
alert("triggering hit");
$(document).unbind( "keydown" );
TB_keyCatch();
}); // keydown
} // TB_keyCatch()
TB_keyCatch();
Essentially, if I'm und
Hi Luc,
I just had to figure out a similar problem, and
dynamically remove a select option. Thankfully, there
is an easy plugin available:
http://www.texotela.co.uk/code/jquery/select/
>From the page:
Remove an option by index:
$("#myselect2").removeOption(0); or value:
$("#myselect").removeOpt
I use a "plugin" called hint.js to do this. Not sure where I got it
and the original source is on another machine so I can't look it up.
It works by catching all the inputs with a particular CSS class and
setting their values to the HTML title attribute's value.
It's a similar idea but slightly
clueTips doesn't have links to download the supporting javascript(s).
Am I missing them somewhere or are we supposed to view source and grab
the code?
Sam
Well in my opinion i dont like the buttons of menu, the top, the
buttons and the footer =p
And u can use the RED better, try use a combination of tons
apply a sweet border in buttons, some shadow or inner light
try make your menu more like an a accordion ;D
On 5/31/07, warlock24 <[EMAIL PROTECT
Hi Folks
I have some .swf files.
Sometimes I need change "Destination URL" for the same swf file
I am not specialist in flash so isnt my plan edit each one.
Some files have "default Destination URL" others are in blank.
How can I do that with jQuery Media Plugin or jQuery Flash Plugin?
I saw
That's a cool idea. Would you want the watermark in this instance to be on
top of the input as you described (and possibly a different color), or
actually inside of the input box and included in the text when you get the
value?
Josh
On 6/1/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>
> I love it.
Hi Folks
I have some .swf files.
Sometimes I need change "Destination URL" for the same swf file
I am not specialist in flash so isnt my plan edit each one.
Some files have "default Destination URL" others are in blank.
How can I do that with jQuery Media Plugin or jQuery Flash Plugin?
I saw
Thank you for the advice. It worked perfectly.
On Jun 1, 6:28 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> If you actually create a function reference instead of passing an anonymous
> function, they will not be duplicated.
>
> var fn = function(e) { alert('in textfield'); };
>
> $('input.te
Hi, Sapphire...
I'm having good success with usage of the n2menu and
customizing it.
The only thing I can't seem to make happen is centering
all the menus on the page.
Have you worked with this plug-in and do you have any ideas
on that?
Rick
-Original Message-
From: jquery-en@googleg
I love it. I think I will switch to this one rather than the one I was
using.
Previously, I had heard this technique being called "OverLabel". However, I
think Watermark is a much better name.
One feature request:
Often I have an input that the user should type in their URL or sometimes
its a d
Two ideas.
One idea would be to have a small (20ms) timeout before populating the
second select box.
The other (faster) option is to create several select boxes (of each
possible second box), then simply show/hide which box they should be
editing.
The second approach should also be faster for
As stated, the document.getElementById will only work on document, and
will only return the unique id.
It is in fact very bad practice to have multiple id's and it is not
unreasonable for javascript to fail if there are more than one. Just
use a class instead of an id if there needs to be multip
getElementById() is an Document object method, doesn't belong to
Element object, so can not use it as Element.getElementById();
maybe you can do it like this (without jQuery):
var children = document.getElementById('001').childNodes;
for(var i=0;i wrote:
> Could you also post the non jquery code
Thanks to both Sean and Olaf. I appreciate your suggestions.
I found success by combining them somewhat. Assigning a z-index of -1
to .tabs-nav a put the tabs /behind/ the page, so they didn't show at
all; assigning a z-index of 0 to #headTabs didn't seem to have any
effect.
However, when I assig
Sorry posted the local url :)
here is the correct one
http://akswebsolutions.com/projects/jobsfed3/index4.html
regards,
Sharan.
On Jun 1, 8:42 pm, Sharan <[EMAIL PROTECTED]> wrote:
> Hi Guys,
> Please take a look at this page :http://localhost/jobsfed3/index4.html
> Here the options in th
Hi Guys,
Please take a look at this page : http://localhost/jobsfed3/index4.html
Here the options in the second box are loaded from an array based on
the selection in first box. The problem is that some arrays are very
huge so they take long time to load (e.g. the last group 'Blue
Collar').
I haven't had a chance to test any of my plugins with v1.1.3. I'll be
looking into it soon. Thanks for the response!
On Jun 1, 9:28 am, Rey Bango <[EMAIL PROTECTED]> wrote:
> Looks great in IE7 and FF 2.0.0.4 Josh. Great work. This is a very
> useful plugin.
>
> Have you tested it with jQuery v
Could you also post the non jquery code? (i just would like to know :))
2007/6/1, Juha Suni <[EMAIL PROTECTED]>:
Well id's really should always be unique. But if you really want to do
this, try:
alert($('#001').children('#0011').html());
- Original Message -
*From:* Mark <[EMAIL PR
Try adding this CSS:
#headTabs * { z-index:0; }
~Sean
Success - the bug has dissapeared in 1.1.3a ! Thank all.
Luc Pestille
Web Designer
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John
Resig
Sent: 30 May 2007 17:20
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: IE selector bug/erro
[EMAIL PROTECTED] schrieb:
Wow, I feel stupid. I was working on the page as tabsindex.html and
when I finally got the tabs working (although still have problem with
imagebox layering), forgot to upload the page as index.html so it
would show up at the quoted URL.
It's now in place and should be
No problem - thanks for the informative answers.
Click input is a special case which relates to an input field. When a date
is selected the .text property of the input field is updated. So it wouldn't
work too well on any other type of element.
I guess this semantically makes sense: being user
Well id's really should always be unique. But if you really want to do this,
try:
alert($('#001').children('#0011').html());
- Original Message -
From: Mark
To: jquery-en@googlegroups.com
Sent: Friday, June 01, 2007 5:22 PM
Subject: [jQuery] Javascript question: Get elementi
Looks great in IE7 and FF 2.0.0.4 Josh. Great work. This is a very
useful plugin.
Have you tested it with jQuery v1.1.3 as well?
Rey...
Josh Bush wrote:
Stupid last minute changes. I fixed my goof. Please see if that
corrects the problem.
On Jun 1, 8:45 am, "Dan G. Switzer, II" <[EMAIL P
Hey,
For example take this code:
Now i want to have the InnerHtml of id 0011
one way to do that is: document.getelementbyid('0011');
But that id COULD be in more places.. (i know it`s not good for id`s.. but
in some cases it`s possible)
So how do i get the id: 0011 without
Wow, I feel stupid. I was working on the page as tabsindex.html and
when I finally got the tabs working (although still have problem with
imagebox layering), forgot to upload the page as index.html so it
would show up at the quoted URL.
It's now in place and should be visible at
Thanks for the
Hi all,
Thanks to IE's inability to dynamically hide/show options within a
select list, I need to do it differenly, but I can't get it to work =/.
This is what works as I'd expect in FF;
//this is only for agency jobs - show titles dependent on discipline
selected
discipline = $("#admin-jobs .d
Stupid last minute changes. I fixed my goof. Please see if that
corrects the problem.
On Jun 1, 8:45 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Josh,
>
> >It's been a long time since I've posted anything. I've been busy, but
> >I did manage to squeeze out another plugin before my va
Sorry that I messed up the URL, the project is located at:
http://digitalbush.com/projects/watermark-input-plugin
Hello again!
Rob Desbois wrote:
Also, dpSetPosition() has the wrong first sentence too.
Thanks - I'll fix that too.
There's a bug or documentation error with dpSetSelected() [revision
#1993] : it's documented as taking a string, but the code for it
requires a Date (due to using .getMonth
Josh,
>It's been a long time since I've posted anything. I've been busy, but
>I did manage to squeeze out another plugin before my vacation.
>
>I'm proud to announce the first Beta of my Watermark Input
>Plugin for jQuery. This is the first public release for this
>plugin which has been used in
Hi,
Thanks for your feedback on the date picker... I'll address your points
below:
Rob Desbois wrote:
Well, I've finally taken the plunge and started playing with datePicker.
Can I join everyone in thanking you for this excellent plugin.
Thanks :)
Suggestions for a few changes, mainly o
It's been a long time since I've posted anything. I've been busy, but
I did manage to squeeze out another plugin before my vacation.
I'm proud to announce the first Beta of my Watermark Input
Plugin for jQuery. This is the first public release for this
plugin which has been used in a few of my o
Caching a jQuery object "globally" or any other way will help if the
object is:
- expensive to build, e.g., a large DOM, sprinkled with many objects
as was the case with my 250 questions
- reusable, e.g., a user can click to "hide all", "show all".
Instead of recalculating the object, I save
On 01/06/2007, at 5:12 PM, Brian Cherne wrote:
If someone finds a bug with hoverIntent, do let me know. The latest
version (r5, 2007.03.27) did fix bugs from earlier versions and is
stable enough for a production environment.
Hi Brian,
Just to clarify: I was using a very early version of th
If you actually create a function reference instead of passing an anonymous
function, they will not be duplicated.
var fn = function(e) { alert('in textfield'); };
$('input.text').bind('focus', fn);
In the near future, once jQuery 1.1.3 is released, you would be able to use
the behavior plugin
Hi,
I have a .swf file
Jquery Pluging works fine but how can I insert a link in my swf file?
I tried flashvars, attrs, params, link, href.
Something like this:
jQuery(document).ready(function() {
$('.media').media( {
width: 300,
height:250 ,
autoplay: true,
1) flashvars: { getURL:'h
[EMAIL PROTECTED] wrote:
Check the dependencies part of the site - most things will require
iutils.js though :)
According to that, ifxtransfer.js requires iutils.js and ifx.js - I'd
assume iutils is included in the download by default (there's no option
for it on the page to build a download
Check the dependencies part of the site - most things will require
iutils.js though :)
In my opinion the whole Interface site needs an overhaul - with better
documentation for the various parts - what's there at the moment
doesn't really help.
On Jun 1, 3:30 pm, Michael Price <[EMAIL PROTECTED]>
On May 30, 9:54 pm, "Matt Stith" <[EMAIL PROTECTED]> wrote:
> Search up 'Famfamfam', that site has an icon set called 'Silk' thats
> available for free, that has tons of icons, for pretty much anything you can
> imagine. Also you might wanna check out IconBuffet.com (if you sign up, let
> me know
Also, dpSetPosition() has the wrong first sentence too.
There's a bug or documentation error with dpSetSelected() [revision #1993] :
it's documented as taking a string, but the code for it requires a Date (due
to using .getMonth(), .getFullYear() and .getTime()).
To fix this problem I added the
Well, I've finally taken the plunge and started playing with datePicker.
Can I join everyone in thanking you for this excellent plugin.
Suggestions for a few changes, mainly ones which increased the time it took
for me to integrate it into a page without hacking the source:
== Change the clickIn
billybrag wrote:
hello all,
Just wondered if i could ask for some help to spot the error here
Its throwing an error
$("#addImageForm").validate is not a function
That basically tells you that there is no function "validate" on the
jQuery object. In other words: The browser failed to l
hello all,
Just wondered if i could ask for some help to spot the error here
Its throwing an error
$("#addImageForm").validate is not a function
here it is.. cant see the wood for the trees i dont think
$().ready( function() {
$("#addImageForm").validate({
event:
Okay fixed!
$('#popupContainer').blur();
instead of
this.blur();
Update: Also in IE6 and sometimes in Firefox :S
The problem was that you couldn't use inner divs in the tab-div
(because those where hidden, too):
blabla
blabla
blabla
blabla
In this example, if I select tab 1, both inner layers should be
displayed. Unfortunately only the first one ("myOwnDiv") is displayed
while the other one is
I seems that Google has released a new tool/ technology where you can
use a local embedded SQL server.
Take a look at it:
1. http://immike.net/blog/2007/05/31/getting-started-with-google-gears/
2. http://blogs.zdnet.com/Burnette/?p=323
Maybe this can be helpful to you.
/Jens
On 31 Maj, 20:37,
Hi all,
I was trying to use the Interface TransferTo function last night and
although I wasn't getting any errors, the function also wasn't working -
nothing was happening, it was as if the function was being completely
ignored.
I had a custom-built interface.js containing all the effects fr
If you want to store information like that have a look at the metadata
plugin by John Resig:
http://jquery.com/dev/svn/trunk/plugins/metadata/lib/jQuery/metadata.js?format=txt
Does that help?
--rob
On 5/31/07, John Farrar <[EMAIL PROTECTED]> wrote:
I would like to do something like this...
1 - 100 of 102 matches
Mail list logo