On Apr 1, 9:36 am, ab5tract <[EMAIL PROTECTED]> wrote:
> Problem:
> I am creating a "teaser page" for a site that is coming soon. We have
> a list of 20 sentences that describe the site. We want to select 5 of
> those, at random and without redundancy, and display them in a div.
> The display pa
Hello,
I have a dynamically generated page that can be long or short.
Everything is fine when it's short, but when it gets to be *very*
long, it gives unresponsive script errors.
I believe this is because each entry on the page contains 3 clueTip
links. If I have a thousand entries, that's 3,00
Problem:
I am creating a "teaser page" for a site that is coming soon. We have
a list of 20 sentences that describe the site. We want to select 5 of
those, at random and without redundancy, and display them in a div.
The display part seems easy enough, and should look something like
this:
$(docum
Typically (so I've thought), to get the current value of a textbox
(input), I would simply use $("#inputid").val(); However, I'm
experiencing the initial value being returned instead of a new, typed-
in value. Have I just been staring at this too long? I was using
jquery 1.2.3 and backed off to 1.
I need a special menu plugin for admin pages. The problem is that my
clients hate frames and iframes, and on slow connections, admin pages
for websites that I build need to always show menus and not have to
redraw them each time. Previously I was using iframes to fix that. I
was putting the menus
hello,
i have rather frustrating problem with $get.Json silently failing; i
have a data set that return; but many that fail. after i try and
serialize the data and send it back to the client; it never return and
the function $get.Json fails to return
if i place the JSON serialized objects in an
Just for poops and giggles, rather than using a relative url, try giving the
full absolute path (https://blabla) in your ajax call.
This is only a hunch, it may have no effect.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
S
Nope, not cross-domain. I'm using a relative url so that shouldn't be an
issue. It works fine in all other browsers, SSL or not, though I haven't
tried Safari 2 yet.
I'll give Firebug lite a go and see if I can nail down where it's failing.
-- Josh
- Original Message -
From: "Je
You aren't by chance doing a cross-domain ajax call when you do it by SSL
are you?
In terms of debugging options, you can use Firebug Lite (and sprinkle your
code with lots of console.log() statements).
http://www.getfirebug.com/lite.html
Also, Drosera is a debugger with the WebKit project that
Hey all,
Does anyone know anything about problems with Safari 3 when using AJAX over
SSL?
It doesn't seem to work. My AJAX stuff that works in every other browser,
and also works in Safari when not going over SSL, utterly fails. I'm just
hoping someone might have run across this and have
I'm trying to improve the speed of my script which is currently using
html() to replace content of a element. The
updateSelectOptions() method take an array and create a string of
options to replace the element.
function updateSelectOptions(aOptions, fieldID) {
if($("select#"+fieldID).
Hi
Your demo works great with some javascript error
Thanks
Rav
On Mon, Mar 31, 2008 at 6:36 AM, cesar <[EMAIL PROTECTED]> wrote:
>
> The demo is in http://elcirculorojo.890m.com/index.html
> Can you send an example of your code?
>
>
> Cesar.
>
> On Mar 27, 9:52 pm, Rav <[EMAIL PROTECTED]> wrote:
There's a new png and the link in the css needs to be adjusted
accordingly.
On Mar 19, 11:37 pm, dsizemore <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to get Thickbox set up on my site for my "login" and
> "forgot password" forms. Once clicked, these two links will open a
> Thickbox allowin
On Mar 31, 11:34 pm, Pete Lees <[EMAIL PROTECTED]> wrote:
> Have a look at the following article for a fairly simple way to alert
> users when a new version of the .chm file is available.
>
> http://www.writersua.com/mixingonlinechm.htm
Hi Pete, thanks for the article. That is cool. A simpler way
code:
$("#body").animate({height: 'hide'}, 'fast'); //hide the body,
untill get returns...
$.get(thehtml, {sid: Math.random()}, function(thepage){
$("#body")
.html(thepage) //apply new
content...
.
I think you may be under the misconception that an event ('click' in
this case) can only have one function bound to it at a time - not
true.
When you bind a function to an event, it stays bound until removed,
and will run whenever the event is triggered.
If you bind another function (same or diffe
You're not doing anything in your code to remove the original click
event. To make it work this way, you'd need to make a single recursive
function using .unbind() to remove the first click event, add the
second, and then on the second click, remove the second click and call
itself again to re-bin
I, too, would have to be counted on the 'not in favour' side.
Can you not use a class, or $.data, or $.metadata, or some such?
On Mar 30, 3:24 pm, Eric Martin <[EMAIL PROTECTED]> wrote:
> I'm *considering* adding a custom attribute for elements created in a
> plugin and wanted to know what the ge
I think you will have to put quotes around "background-color".
-- Josh
- Original Message -
From: "Shelane" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Monday, March 31, 2008 3:09 PM
Subject: [jQuery] Re: Modals - What's everyone using?
If I try the first I get this error:
m
I should have stated initially that this was simply a rewrite (and
upgrade) of the 'iconDock' plugin by Isaac Roca, so credit for the
mechanism is really his.
On Mar 31, 6:06 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Very nice! Love it. Especially love that you avoided the multiple-
> hover-
If I try the first I get this error:
missing : after property id
Line 1
$('#example1').dialog({modal: true, overlay: { background-color:
'gray', opacity: 0.5 } });
On Mar 30, 3:55 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> By default the UI Dialog is not modal. You can make it modal be
with the Listen plugin i have something like this:
$("tbody").listen("click", "td", function(e) {
$(this).addClass("edit").html("");
$("input", $(this)).each(function() {$(this).focus()});
})
is it appropriate to use $(this).addClass instead of $(e.target).addClass
inside the handler? it se
I have a button, when clicked this button invokes a function that
changes the buttons html, and it's click. The problem is it somehow
maintains the old trigger code. Before I put the click functions in
their own functions (rather than just adding function(){} to the
parameter) it would gain code e
By the way - that first line should read, "...THANKS for the hard
work..."
That throws scroll bars on it. Without this the content flows outside
of the window.
Guess is can't be done?
On Mar 31, 3:25 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Unfortunately, you can't just have the width be "auto", because of
> the order in which the positioning is calculated.
I have a button, when clicked this button invokes a function that
changes the buttons html, and it's click. The problem is it somehow
maintains the old trigger code. Before I put the click functions in
their own functions (rather than just adding function(){} to the
parameter) it would gain code e
Updated to 1.2.3 Rev 4663
On Mar 31, 9:27 am, John Resig <[EMAIL PROTECTED]> wrote:
> What version of jQuery are you using?
>
> --John
Hi,
I have a tag on my page that I am using as a dynamic content
holder. I have a javascript that loads HTML files into the via
".innerHTML".
This part works fine, it loads the pages and displays nicely.
However I cannot get javascripts to work in the dynamically loaded
pages. I have tried
No ideas?
Depending on your needs I also recommend Selenium; highly (both the
IDE and the server for running automated tests). Keep your markup
clean and your semantics correct and layout neutral (e.g., "sub_nav"
is far better than "left_nav" as an Id) and changing your layout may
not have any effect, or mi
image...Here is the css:
.cluetip-jtip h3#cluetip-title {
margin: 0 0 0px;
padding: 0px 0px;
font-size: 10px;
font-weight: normal;
background-color: #CC;
color: #333;
height:10px;
}
.cluetip-jtip div#cluetip-close {
text-align: right;
margin: 0 0px 0px;
color: #900;
}
Th
Ok, found a solution if anyone else is searching!
$('table.basic tr:nth-child(even)').addClass('even');
-Roman
On Mar 31, 2:45 pm, rsmolkin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've ran into a little problem. I'm using the code below to do
> alternate row striping on a table.
>
Has there been any progress in creating a JQuery library xml file, or
whatever is needed for the JSEclipse plugin? Does anyone know of where I
could find it? Google only reports old news posts, and I was wondering if
anyone has done anything with it since.
There is a tool called Selenium that allows you to record a series of clicks
around your website, and then play it back to simulate a user session. It
only works on localhost and in Firefox (it's a FF extension), but it's quite
useful in that environment.
http://selenium-ide.openqa.org/
--
Flexible selectors should be the main solution. Specially the use of
ids, they are fast, and don't depend on dom hierarchy.
You can also intercept a key function in jquery, probably $.fn.find.
(function( $ ){
var find = $.find;
$.find = function( selector ){
var elems = find( selector );
Use the child combinator to select just the children of a certain
element. In your case, assuming you have an tbody element:
$('table.basic > tbody > tr:even').addClass('even');
--Klaus
On Mar 31, 8:45 pm, rsmolkin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've ran into a little problem. I'm usi
Unfortunately, you can't just have the width be "auto", because of
the order in which the positioning is calculated. If you don't have
one set, it defaults to 275px, or something like that. You might want
to try setting #cluetip-inner to overflow: auto; in the stylesheet.
That might help
this one sounds like it could be a css problem. are you using text or
image for the close?
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 31, 2008, at 2:47 PM, ajobe wrote:
In my clueTip window I am having trouble with the close button moving
In my clueTip window I am having trouble with the close button moving
slightly to the right when it is rolled over. It is in the title and
I am using a sticky window that closes on mouse out.
I cannot figure out what is causing this. Any ideas would be great!
Thanks!
Hi,
I've ran into a little problem. I'm using the code below to do
alternate row striping on a table.
$('table.basic tr:even').addClass('even');
The problem is, one of the cells of this table contains another
(nested) table. So the tr:even selector is getting messet up, and is
I was under the impression that cluetip would dynamially resize based
on the content it contained. I am putting an html page with all of
the content set into a table in clueTip. The height is great, but the
width is much less than the width of the table. Am I wrong thinking
that it should size
thanks Mike! my code was actually within a JS function that is
supposed to return a value & i forgot about the "A" in ajax :)
i ended up using $.ajax() to force the ajax request to be synchronous
so that it would get the value from the ajax request, but I set the
$.ajax() option async to "false"
STEVE
I ride alongside you in this boat of shame. I have the exact same
problem. Portlet interface, two styles of instantiating portlets.
Long have I suffered this bug to no avail. I have cheesily and not
completely solved the problem by storing the jQuery object in another
variable and th
theoretically something like
function updateTimer(object_id) {
$.get("checkchanges.php",{object_id:object_id}, function(msg) {
$("#timer"+object_id).append(msg);
setTimeout("updateTimer("+object_id+")", 1000);
});
}
is what you're looking for
just carry on execution in the callb
I think I have found the "problem":
When I assign $.extend() to a variable, I don't actually expect
$.extend() to alter my "source" data. I expect my variable to contain
a "copy" of the source data with alterations made to it.
Am I using the wrong syntax? I would like to assign the results of
jQuery selectors are fantastic, but any time I change the layout of my
site, I need to manually go through each page and make sure everything
works.
Are they any automated testing tools that I can use? Manual
regression tests are killing my productivity.
On 31 мар, 19:14, the_woodsman <[EMAIL PROTECTED]> wrote:
> I'm no expert, and you don't provide any information about the errors
> in IE.
Sorry, I just figured out that this is not jQuery's problem. There's
something with JavaScript in my IE7. It simply doesn't work.
Please help me.
On Mar 31, 11:29 am, David <[EMAIL PROTECTED]> wrote:
> http://www.contaflux.ro/gestiune/module/intrari.php
> I have two problems:
> 1. This script works good in FF, but it doesn't work in IE6.
> I have been trying to solve it for 2 day, but i didn't succeed.
> Please help me.
> 2
It should work fine in IE7. Is your script tag closed after your ready
call, you don't show that in your example.
$(document).ready( function() {
alert ( "test" );
});
<-- make sure this is here
-- Josh
- Original Message -
From: "Tolik Piskov" <[EMAIL PROTECTED]>
Very nice! Love it. Especially love that you avoided the multiple-
hover-effect-queuing problem that so often arises.
Great job!
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 31, 2008, at 12:54 PM, Wizzud wrote:
Transform a set of images into
I'm not an expert on that, but count me in against adding them.
Maybe if you include a doctype... :)
--
Ariel Flesler
http://flesler.blogspot.com
On Mar 30, 11:24 am, Eric Martin <[EMAIL PROTECTED]> wrote:
> I'm *considering* adding a custom attribute for elements created in a
> plugin and wante
Transform a set of images into a Mac-like Dock menu, horizontal or
vertical, with icons that expand on rollover, and optional labels.
(Not particularly new, but I needed it.)
demo : http://www.wizzud.com/jqDock/
Feedback welcome.
I haven't waiting. But I think I've tried to do it again but didn't
bother to dig into it further when I kept getting emails. I'll check
with that Help forum. THanks!
On 31/03/2008, Richard D. Worth <[EMAIL PROTECTED]> wrote:
> Have you given it a day? I've never done it, but perhaps it takes som
Hi, Charles,
> > question 2: it might be useful to integrate some "update" logic (a
> > simple indication that a new version is available on the CHM splash
> > page maybe?)
>
> A chm is just a compressed HTML pages with table of contents and
> index. So I don't think it can do such thing :-D.
Ha
Have you given it a day? I've never done it, but perhaps it takes some time
to kick-in. If that doesn't work, you might check with the google groups
folks:
http://groups.google.com/group/Google-Groups-Guide
- Richard
On Mon, Mar 31, 2008 at 12:01 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
I'm no expert, and you don't provide any information about the errors
in IE.
Random guess:
> $(document).ready(
Have you tried quoting document, i.e $('document')?
On Mar 30, 7:27 pm, Tolik Piskov <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I was trying to start learning jQuery, but faced a proble
I don't want to leave the group but I want to read it online instead.
I went to the Google Groups for jquery and changed my preference to No
email but I'm still getting them.
Any idea anyone?
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
This is kind of long, so thank you so much if you read it all. I am
building a plugin and running into a problem. Here goes:
In my options, I am passing a nested object:
$.aPlugin.defaults = {
image: {
url: "myImage.gif",
width: "20px",
Hello Folks,
I am having numerous problems in implementing the basic jquery
flexigrid, Example 3 on http://webplicity.net/flexigrid/
I somehow managed to make the ASP page write the required xml back.
The problem now I am facing is with the display, the navigation
buttons on the toolbar at the bot
Thank you Karl: You were right: the code works in IE7 if I close the
tags.
You made my day :-)
-- Pierre
Superfish is awesome. It is lightweight and easy to implement.
One question:
How can I drop "UP" the menu? In other words, when the user mouses
over the menu, the sub-menu appears above.
I am looking through the CSS files and do not see how to make this
change.
Thank you for your help,
Chris
h
The demo is in http://elcirculorojo.890m.com/index.html
Can you send an example of your code?
Cesar.
On Mar 27, 9:52 pm, Rav <[EMAIL PROTECTED]> wrote:
> Hi
> I am having the same problem , I am not able to add splitter in tab,
> is it possible for you to share the code
> Rav
>
> On Mar 7, 7:56
Superfish is awesome. Very flexible and lightweight.
I want to the menu to drop up (versus down) when I hover over the
menu.
I think the change would take place in the CSS but I cannot find the
right class or ID to change.
Please advise.
hello paulo,
I am having numerous problems in implementing the basic flexigrid,
Example 3 on http://webplicity.net/flexigrid/
I somehow managed to make the ASP page write the required xml back.
The problem now I am facing is with the display, the navigation
buttons on the toolbar at the bottom is
Hello Folks,
I am having numerous problems in implementing the basic flexigrid,
Example 3 on http://webplicity.net/flexigrid/
I somehow managed to make the ASP page write the required xml back.
The problem now I am facing is with the display, the navigation
buttons on the toolbar at the bottom is
What version of jQuery are you using?
--John
On Mar 30, 12:24 am, markie <[EMAIL PROTECTED]> wrote:
> Hi,
> So I have this script that copies a node, then uses an ajax call to
> load a new image into the new node. Then once the image is done
> loading, fades the old image out. After that, it r
Thanks Ariel,
Good alternative you suggest, but its really a alternative that is not
solve the problem, I would divide to make thing easy and will create
another trouble...
I´ll gonna try a different manner... very thanks for suggest...
On Mar 29, 11:38 am, Ariel Flesler <[EMAIL PROTECTED]> wro
Richard's response pretty much covers everything. Two simple options
- complete flexibility.
If there are any features that you think would make UI Dialog better,
just create a ticket or post to the jquery-ui group :-)
On Mar 30, 2:12 pm, Shelane <[EMAIL PROTECTED]> wrote:
> Scott, can you expa
Not a problem, Nat. And glad you like the book. :-)
If anyone else is following this thread, just wanted to say that my
first solution for Nat at learningjquery.com was insufficient. I
posted another one yesterday that seems to have done the trick:
http://www.learningjquery.com/2007/02/mor
Very nice -- clean and smooth. Congrats, GianCarlo!
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 31, 2008, at 4:09 AM, GianCarlo Mingati wrote:
Hello,
this is a new site i've made for an architect. It uses the
jquery.cycle plugin for most of th
When I open your page in Firefox, I immediately get the following
error message in the Firebug console:
An invalid or illegal string was specified" code: "12
The Safari error is a little different, I see. I wonder if it might
have something to do with the permissions that are set f
On Mar 31, 6:43 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> question 1: what jquery version is your API browser based on? Latest?
I don't know. It is build from the four xmls found here
http://jqueryjs.googlecode.com/svn/trunk/tools/api-browser/
But it does include functions from 1.
it's like the function here:
http://www.designis-fine.com/projects/logos--marks/
On 31 mar, 12:27, tetrix <[EMAIL PROTECTED]> wrote:
> hello;
> i need to make a function: it should get the length of an array then
> everytime i click next it should increase its count until the length
> array ends
On Mar 31, 9:56 am, Leeoniya <[EMAIL PROTECTED]> wrote:
> i did the event delegation by hand and it's pretty easy.
>
> ("tbody").click(myHandler);
>
> function myHandler(e) {
> var e = e || window.event;
> var elem = e.target || e.srcElement;
> if (elem.nodeName.toLowerCase() == "td") {
>
ownload here
>
> http://peacech.googlepages.com/jquery-20080331.chm [150KB]
>
> Python script to create the chm files
>
> http://peacech.googlepages.com/tochm.py [8KB]
>
> Comments can be posted here
>
> http://charupload.wordpress.com/2008/03/31/chm-version-of-jquery-a
Hi,
The xpath or operator doesn't seem to work in jdomquery 1.1.3.1. For
instance according the the xpath spec this should return one set of
nodes:
thank you, i'll check this out, very good book btw.
On 24 mar, 19:26, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> On Mar 24, 2008, at 6:45 AM, tetrix wrote:
>
>
>
> > i have downloaded the code source for learning jquery book but this
> > code doesnt include all chapters in the book???
>
> it /sho
I am building a portal interface in jQuery (and UI). Each portlet has
a sortable drag handle which each feature roll-up/down and close links
on hover.
I use server-side scripting to build the page on first load. All the
drag/rollup/close events are recorded in a DB using ajax, so that the
next ti
Hi, I am using a variation of the multipage form in the demo and run into a
small problem with the pageRquired function. Seems it does not validate
correctly if you add any custom selectors after the pageRequired. I am
trying to make one field required depending on whether another field is
blank,
hello;
i need to make a function: it should get the length of an array then
everytime i click next it should increase its count until the length
array ends. the next and prev hits would be placed just under this 1
of 10 counter.
can anyone guide me on how to do this? i checked the Cycle plugin wi
Hi all,
I am trying to use an anchor link to submit my form using the
Validator plugin, (so I can change the button to a graphic). I would
like to know what to put into the HREF to submit to the Validator
code.
Currently I have:
href="javascript:$(this).validate();"
This doesn't seem to work c
Hello all,
I have a fadeTo in an image (icon) located in front of some text. The
fade is triggered when i hover over the image. The problem is that,
during the fade, the text next to the icon jumps under the icon, to
jump back to its original position when the fade is over.
Here is the fade code
Yeah, that page works fine, but my page doesn't, although the syntax
doesn't seem to have any issues. Page is visible at
http://krittickalhost.net/plans/
The "?" text is what triggers the cluetip event on hover. It's using
the span title method of displaying it.
On Mar 30, 9:01 pm, Karl Swedberg
i did the event delegation by hand and it's pretty easy.
("tbody").click(myHandler);
function myHandler(e) {
var e = e || window.event;
var elem = e.target || e.srcElement;
if (elem.nodeName.toLowerCase() == "td") {
// do stuff
}
}
however, the jQuery "Listen" plugin is much more p
How do you join nodesets or perform a conditional matching on an
attribute?
The xpath or operator doesn't seem to work (//selector1 | //
selector2)=>nodeset.
On second thought, you'll want to use .find, instead of .children, as the
elements could likely be within fieldsets and/or divs:
$('form:has(#elHombre)').find('input, select, textarea')[0].focus();
Also, here's another way to get the form from the #elHombre:
$('#elHombre').parents('form:first').
$('form:has(#elHombre)').children('input, select, textarea')[0].focus();
- Richard
On Mon, Mar 31, 2008 at 6:12 AM, dug <[EMAIL PROTECTED]> wrote:
>
> Thanks Jason :-)
>
> How would I handle that if the #elHombre object is inside the form?
>
> Cheers,
> Dug
>
>
> On Mar 27, 12:21 pm, Jason Huck
Thanks Jason :-)
How would I handle that if the #elHombre object is inside the form?
Cheers,
Dug
On Mar 27, 12:21 pm, Jason Huck <[EMAIL PROTECTED]> wrote:
> Try this:
>
> $('#elHombre').next('form').children('input select textarea')
> [0].focus();
>
> - jason
>
> On Mar 27, 6:32 am, "DugFalby
Hi,
you should initialize jCarousel like this:
jQuery(document).ready(function() {
jQuery('#mycarousel').jcarousel({
scroll: 1
});
});
Remove the comma after scroll: 1
IE does not accept a comma after the last entry in hashes.
On 25 Mrz., 16:19, "[EMAIL PROTECTED]" <[EMAIL PROT
http://www.contaflux.ro/gestiune/module/intrari.php
I have two problems:
1. This script works good in FF, but it doesn't work in IE6.
I have been trying to solve it for 2 day, but i didn't succeed.
Please help me.
2. The method resetForm from plugin validate it doesn't work neither
in IE6 nor FF.
http://www.na3.it
On Mar 31, 10:09 am, GianCarlo Mingati <[EMAIL PROTECTED]>
wrote:
> Hello,
> this is a new site i've made for an architect. It uses the
> jquery.cycle plugin for most of the "slides".
> Check out the 'projects' page for a sliding accordion menu. If the
> items for each sub
Hello,
this is a new site i've made for an architect. It uses the
jquery.cycle plugin for most of the "slides".
Check out the 'projects' page for a sliding accordion menu. If the
items for each sub category contains more than 5 items, a 'sliding'
interface is created (check the 'design' catgeory).
92 matches
Mail list logo