Hello,
I'm enjoying the jquery cluetip plugin -- it works very nicely and
does what I want it to. But I have two requests.
(1)
$(foo).cluetip('disable');
This would disable the cluetip on a specific element or array of
elements.
$(foo).cluetip('clear_cache');
This would invalidate the cluet
Hi Jack,
thanks for the reply, yes Im just adding/removing via jq
Ive created a workaround that solves this one for me.
Also I just posted another question, I would love to get this new one
solved its driving me nuts!
http://groups.google.com/group/jquery-en/browse_thread/thread/d10260b0ed3fa4f
I would like to add numerical functionality to this plugin, but have
been unsuccessful in getting it to work.
In additition to the A, B, C...Z I would like to add an 0-9 category
for names that start with a number.
the way the plugin is written to auto create class names from the
letters is stra
I'd also like to chime in that double-right click is probably not very
good UI design. No one expects to have to double right click
something and people will probably be even more pissed that the
context menu is gone. People like that thing. Why do you seek to
disable it? I'm curious.
On Nov
plugin? How about the native .hover?
$('img').hover(function() {
$(this).attr('src',path + '' + $('this).attr('id') + '_over.gif';
},
function() {
$(this).attr('src',path + '' + $('this).attr('id') + '_off.gif';
});
That will make every image on the page a rollover, changing the src of
the
Thanks Dirceu, but i'm otherwise happy to stick with treeview.
I'm not sure if it's the best solution, but a friend of mine helped me
overcome the issue i was experiencing.
We added a line of CSS to hide treeview on load, and then set it to
display in the demo.js file once everything was loaded
i
Maybe this:
http://code.google.com/p/jquery-swapimage/
On Nov 30, 5:14 pm, Ray M <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Are there any existing jQuery plugin which can provide similar image
> rollover functions such as the one provided by Dreamweaver?
>
> Thanks.
>
> Ray
On Nov 30, 2008, at 4:14 AM, Ray M wrote:
Hello,
Are there any existing jQuery plugin which can provide similar image
rollover functions such as the one provided by Dreamweaver?
Thanks.
Ray
Hi Ray,
If you're referring to the dreaded MM_swapImage(), I think most people
these days just u
On Nov 30, 5:33 pm, René <[EMAIL PROTECTED]> wrote:
> Just wondering...
>
> When you have a link within a link:
No idea why you would do this...
> This is some long row of test and here is a
> and some more
> text
>
> ...how do you override the parent click event?
$(document).ready(fuction(){
I am using the jQuery Tooltip Plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/. Great
plugin. I am AJAX loading some content into my pages and am attempting
to use Live Query to bind the tooltips to some of those links.
Is not working:
$('.thumb-ttr').livequery(function(){
Have you ever tried capturing the right-click event in Opera?
It has an additional level of security whereby each client must expressly
set the user preferences allowing a website to capture the right-click event
and stop the right-click bubble.
The project I worked on last year had a right-clic
returning false from the handler should cancel the context menu on
Opera and other browsers. And apparently on Macs the event for a Ctrl
+click carries the 'right-click' identifier (e.button = 2).
cheers,
- ricardo
On Nov 30, 4:07 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> If I might make
Hi there,
Where in the example is the class 'third' you mentioned?
and what is this supposed to do?
javascript:getActiveText(); Alert me!
The best I can do is point you to
https://developer.mozilla.org/en/DOM/Selection.
Read on about the selection object and range object, and you'll see
that
Thanks Jörn;
> an accordion header is just that, not two things at
> once.
Okay. I'll accept that. I can see how things would get messy.
> In your case you're probably better of with a serverside
> component.
Never considered such a thing. Interesting. Do you have any serverside
components you
Just wondering...
When you have a link within a link:
This is some long row of test and here is a
and some more
text
...how do you override the parent click event?
First off, I want to thank everyone for such quick replies.
> That will work, but it's a fairly brittle way to do things. If you add
> another link earlier in your page, it will change the loop indexes and
> you'll have to revise your code to match.
I understand and agree with you. I don't think
> > If you just want the loop index, it's passed to the .each() callback as the
> > first parameter:
>
> > $('a').each( function( i ){
> > // 'i' is the loop index
> > $(this).click(function(){
> > // You can use 'i' directly in this code
> > });
> > })
I have the same problem. Have you found any solution?
On Oct 10, 3:54 pm, altern <[EMAIL PROTECTED]> wrote:
> I need some help because of great confusion that make me crazy. I have
> ajax query function which works fine on firefox, ie (both 6 & 7)
> locally and with firefox on remote server. But
> > From: Michael Geary
> > But is the loop index that useful here? I'm trying to
> > picture what you might do with it. There may be a
> > better way to do this - if you could say more about
> > your application, someone may have a suggestion.
> From: SLR
> To give you a brief rundown. Imagine
One way you could do this is have give the links in question a specific ID,
class or attribute.
For example:
link 1
link 2
link 3
$('#myLinks a').click(doSomething);
function doSomething(e){
switch ($(this).attr('id'))
{
case "link1":
// Some code.
brea
Is jQuery supposed to be specifically targeted at Web client-side
(i.e., browser) usage? Or to make Javascript easier in general? Most
of its functionality seems aimed at the former, but there are a number
of aspects that I can see would be useful in now-client environments.
I ask because curren
Bingo. Thanks again!
> No question is too "noobie". Welcome aboard! :-)
I appreciate the warm welcome = )
> That code won't work at all.
> I would suggest reading the doc page on .each():
Definitely on my to-do list...
> If you just want the loop index, it's passed to the .each() callback as the
> first parameter:
Thats by design - an accordion header is just that, not two things at
once. In your case you're probably better of with a serverside
component. See also
http://docs.jquery.com/UI/Accordion#What_this_isn.27t
Jörn
On Sun, Nov 30, 2008 at 11:10 PM, snlsn <[EMAIL PROTECTED]> wrote:
>
> I'm new to the
On Nov 30, 2008, at 11:07 PM, Rodent of Unusual Size wrote:
I'm trying to set up some form elements for in-place editing
using jEditable, but in every case the pulldown is always empty.
Firebug doesn't reports any errors or problems.
As far as I can tell, I'm doing this according to the docu
Deron,
you would need to add the rule:
lettersonly: true // assuming you want name to be validated with
lettersonly
to any set of rules that you want this method to apply to
I have an example form set up here:
http://ecommerce.i-cre8.com/admin/add-new-test.php
that shows how you can set up cus
I'm new to the jQuery UI accordion. I'm hoping to use it for a menu.
I'm loving the "navigation" option. However, one of my team members
feels strongly that, in order to avoid confusion, every user's click
should load a page. It appears that the accordion widget prevents
navigating to the href att
That's good, I'm glad you got it working.
I'd still suggest moving to the generated JavaScript approach I outlined.
Hopefully it will look less complicated now that you've gotten some sleep.
:-)
Was it the document.write call that seemed complicated?
> document.write(
> '',
>
Great! I had this on some list for way too long..
Jörn
On Sun, Nov 30, 2008 at 8:29 PM, I-CRE8 <[EMAIL PROTECTED]> wrote:
>
> Jörn,
>
> I have updated my example here:
> http://ecommerce.i-cre8.com/admin/add-new-test.php
> with your new code and it seems to work perfectly
>
> Many thanks and apo
> From: SLR
>
> First off, I apologize if this is too "noobie" a question or
> has been answered somewhere else (I can't find it anywhere).
> I'm new to jQuery, and I'm trying to learn some basics.
No question is too "noobie". Welcome aboard! :-)
> Anyways, I'm stumped on the following.
>
>
SLR wrote:
>
> First off, I'm also new to jQuery so I apologize if my solution is the
> best way to do this. Anyways, here's what I came up with
>
It looks like we are not far from my goal. I tested a (slightly modified)
version of your suggestion and it returns me something more satisfying th
> The ultimate goal would be to filter the selection so that only text
> enclosed in given classes (say loremipsum and third in my example) are
> returned.
First off, I'm also new to jQuery so I apologize if my solution is the
best way to do this. Anyways, here's what I came up with
$(docum
I'm trying to set up some form elements for in-place editing
using jEditable, but in every case the pulldown is always empty.
Firebug doesn't reports any errors or problems.
As far as I can tell, I'm doing this according to the documentation at
the jEditable site. Is this me again?
Test case a
Am I right that both of these should be identical?
$('#linkList tr:gt(0):odd td:first').text();
$('#linkList tr:gt(0):odd').find('td:first').text();
The first one only returns 1 result instead of all, it behaves just like:
$('#linkList tr:gt(0):odd:first td:first').text();
If I'm right then the
OK, I think most iof this makes sense. The one bit where there is a
gap for me is as follows:
We have both:
Home
and
$('#linkToHome').history( showHome() );
Ho do I associate "showHome()" with the link "linkToHome" in the
first place?
On Nov 26, 10:11 pm, "Brian Cherne" <[EMAIL PROTECTED]>
Try this:
http://plugins.jquery.com/project/constrain
On Nov 30, 12:54 pm, deronsizemore <[EMAIL PROTECTED]> wrote:
> Hi! Thanks for the quick reply. So, with this code added, will it make all
> fields letters only or is there a way for me to specify what field(s) I want
> to allow letters only?
Hi! Thanks for the quick reply. So, with this code added, will it make all
fields letters only or is there a way for me to specify what field(s) I want
to allow letters only?
Thanks,
Deron
I-CRE8 wrote:
>
>
> On Nov 29, 11:06 pm, deronsizemore <[EMAIL PROTECTED]> wrote:
>>
>> The code is as
Jörn,
I have updated my example here:
http://ecommerce.i-cre8.com/admin/add-new-test.php
with your new code and it seems to work perfectly
Many thanks and apologies for polluting your blog
Dave Buchholz
I-CRE8
http://www.i-cre8.co.uk
Skype ID: I-CRE8
On Nov 30, 6:12 pm, "Jörn Zaefferer" <[EMA
First off, I apologize if this is too "noobie" a question or has been
answered somewhere else (I can't find it anywhere). I'm new to jQuery,
and I'm trying to learn some basics. Anyways, I'm stumped on the
following.
How can I convert this to jQuery?
var links = ...
Hello,
Consider the code snippet at the end of the post.
It alert()s me by returning the selected text.
The problem is that window.getSelection() only returns plain text. No
indication of the html tags, of the classes, nor any kind of DOM.
I think that jQuery has something more complete than
As I understand you have the problem that some information you send
via AJAX is been sended two, tree, etc. times because the user gets
desperate and can't wait a couple of seconds. If that's you case,
happened to me too. I solved with blockUI. I blocked, pages, or even
part of a page (specificall
Not sure what's happening on the javascript end, but CSS-wise, the FF list
has an attribute of overflow:auto and the same list has an attribute of
overflow:hidden.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Code Daemon
Sent: Sunday, Nove
I've just commited an example for integration of TinyMCE and the
validation plugin:
http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/demo/tinymce/
The relevant code is in the index.html file:
http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/demo/tinymce/index.html
The code could
If I might make a suggestion.
Right-click context menus are inherently not cross-platform compatible, as
Opera will not cancel the default right click popup.
Any any Mac users without a right mouse button are screwed.
I personally suggest using CTRL-Click. This works on a Mac testing for the
e
I'll have to disagree with you. Using document.write for such a
trivial task is not the way to keep your code clean. I'm much more
into something like:
$.getJSON('readimages.php', {imagefolder: folderName, imageprefix:
imagePrefix}, function(images){
$(images).each(function(){
It isn't possible to have an LI sibing right before a UL.
That would mean markup like this:
List Item #1<-- LI Sibling
<-- UL
List Item #2
List Item #3
That is illegal markup.
Your markup actually looks like this:
Get to know Trinity
The trouble is you are using invalid markup. You can't put an UL
directly inside another UL. It can only contain list items, so you
need a structure like this:
First-level/title
Submenu
And then grab all the LIs that don't have a child ul:
$('#LHnav ul > li'
Oh, I meant for public websites, where neither of those would be
available to IE users. I wish I could code for FF only :(
Coming back to topic, does anyone has information on the differences
in DOM methods for 'application/xml' pages, or any plans from the
jQuery team to make it stable in this e
hi again,
ok, i'm answering to my self:
$.getJSON failed silently cuz the json response was not well written in the
php script.
Indeed, i used the json_encode php function which was not available in my
php conf.
regards,
f.
2008/11/30 fabrice.regnier <[EMAIL PROTECTED]>
> Hi all ;)
>
> I'm ve
And that can be shortened to:
var h = $('#header');
if (!h.next(':not(#new)').length) {
h.after('test');
}
or, logically, you wouldn't insert two elements with the same ID, so
you could simply use
if (!$('#new').length)
On Nov 29, 4:50 pm, seasoup <[EMAIL PROTECTED]> wrote:
> or you can te
I didn't test it in IE... no cookie.
Apparently the 'mousedown' event was at random not carrying the
property that tells us what button was clicked, a triple click was
needed. I switched to mouseup and it seems to work fine, I also had
forgotten to clear the timeout and set the var to false when
By the way...the documentation says that you can add any string
expressing to filter a prev() and next() statement with all browsers
(not just FF and Safari) should return a filtered result.
No. I am definitely looking for the sibling right before any
I am building menus and submenus. Any ... that
appears below a ... is a submenu. I know that I could add a
"name" or class to either the head or subhead. I wouod rather have
jQuery find these so that I don't have any markup in the
Hi!
I'm currently working on a project that loads content (linked images) on
a page using AJAX. A click on a link is supposed to open up a
corresponding slideshow (flash) using Shadowbox. (Shadowbox is similar
to Lightbox, but can serve all kinds of media - not just images.
http://www.mjijac
Hi all ;)
I'm very new to jquery.
I'm playing with JSON and have some prob to retrieve the result.
Here is the client side:
$(document).ready(function(){
$("#IdEmailField").blur(function(){
alert("FOO1"); --> it works
$.getJSON("test.php", function(json){
Hi All,
I am trying to get data back from the server by passing JSON values
from jQuery. Find below my code:
$("#btn").click(function() {
$.ajax({
url: "http://"; + location.host + "/AJAXSample/
GenericHandler.ashx",
data: {name: 'Ted'},
type: "GET",
dataType:
Ali,
Sounds like the jQuery functions aren't loading.
The accordion is expanded because it isn't working so it's divs are
not "minimized".
I bet if you comment out the tabs you'll find that you get an error on
any other jQuery functions you have.
I'm having the same problem when I try to get a
I wanted a gallery viewer which would accomodate multiple sets of
photos in which each set could correspond to one event. Additionally I
wanted it to pick the set-name, thumbnails paths, full pics paths and
captions text etc from javascript object/array instead of markup. And
I was impressed by l
Hello,
Are there any existing jQuery plugin which can provide similar image
rollover functions such as the one provided by Dreamweaver?
Thanks.
Ray
Konqueror and FF2 work just fine but the side scrollbar doesn't appear
when I try this basic test in IE 7.0.5730.13.
The scrollbar does not work here:
http://kittyslayer.ucdavis.edu/jquerytest/system/application/views/jquerytest.php
However, the demo site actually works:
http://kittyslayer.ucdav
Can anyone tell me if i can you this code with Body onunload Event.
I tried and it's not working.
any1 seeing anything?
Thanx.
Hi,
first of all sorry for my bad english, due to its not my main language..
i'm quite new in using jQuery, however i'm stuck now on making Image() object
cache. i try to cache image for img tags and background image in javascript
variable so that the $.css and $.attr can use it for passing the
On Nov 29, 11:06 pm, deronsizemore <[EMAIL PROTECTED]> wrote:
>
> The code is as follows:
>
> jQuery.validator.addMethod("lettersonly", function(value, element) {
> return this.optional(element) || /^[a-z]+$/i.test(value);
>
> }, "Letters only please");
>
> My problem is that I'm not sure
On Nov 29, 6:16 pm, I-CRE8 <[EMAIL PROTECTED]> wrote:
> I am having problems getting my TinyMCE text areas content to be seen
> by the jQuery Validation routine, has anybody got or can point me at a
> simpletons guide to getting this work
I have put up a test page here
http://ecommerce.i-cre8.co
Hi,
I've been developing a new jQuery plugin (library) to draw on the web.
https://sourceforge.net/projects/isabeladraw/
The link is a short app using this library.
Opinions and comments are very welcome.
thanks
Dirceu Barquette
Ah, I don't think I made myself very clear :P
What I'm looking for is to have this:
1
2
3
4
Item 1
Item 2
Item 3
Item 4
When 'Item 1' in the main becomes visible.
Hope that made more sense!
Many thanks,
Alex
On Sat, Nov 29, 2008 at 11:22 PM, brian <[EMAIL PROTECTED]> wrot
I forgot to mention also that I disabled the context menu with the
code
$('html').bind("contextmenu", function(e) {return false;});
and if I didn't do that, the context menu will appear and every right-
click then will fire the double-click event in IE. I guess that's
because in IE the double-cli
Unfortunately my data isn't of type JSON, so I guess I'll go with the
Proxy option.
Anyway, thanks alot for the help :)
On Nov 30, 2:49 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> Oh and I because of the fact that a script tag is used the only
> arguments that can be passed in are "GET" type ar
Thanks for the code... but I couldn't manage to make it work at all in
IE and in FF the only time it worked is if I replaced $('body') with $
('html)! Any idea how to make it work with a specific element; e.g.
and image with id="myImage", because when I tried $('#myImage') it
didn't work as well.
69 matches
Mail list logo