Michal Tatarynowicz schrieb:
On 9/15/06, *Klaus Hartl* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
you can see it in action (and the difference) here now, just click on a
thumbnail in the pictures section or in photos nearby and scroll the
page...
I don't think
Meece, Clifford T schrieb:
I have made some modifications to the jquery code and would like to pack
it back down. What command is used to generate the official 'packed'
version?
Cliff, do you refer to the ant build file? You have to call the task
pack to generate a packed file...
--
Blair McKenzie schrieb:
function refreshData() {
$(#report).load(bentonite.cfm?dataType=html); // Loads the page via
ajax and puts content into specified elements
return false;
};
$(function() { // $(fn) == $(document).ready(fn)
refreshData();
setTimeout(refreshData(), 3000);
Better :)On 9/19/06, Klaus Hartl [EMAIL PROTECTED] wrote:
Blair McKenzie schrieb: function refreshData() { $(#report).load(bentonite.cfm?dataType=html); // Loads the page via ajax and puts content into specified elements
return false; }; $(function() { // $(fn) == $(document).ready(fn)
Your script won't work because it doesn't know what the var serial is. It's
an undefined variable and therefore, it outputs exactly that. Nothing.
Lets look at the source for the sortable demo...
function serialize(s)
{
serial = $.SortSerialize(s);
alert(serial.hash);
}
As you
Dan,
I'm not exactly sure how to do that ... it may be possible w/ some
iframe trickery , but not sure.
image.complete only returns true/false
Will
Ah right.
Would a % counter be better, perhaps, or is that harder to do, since you
have to check the loaded size on the currently loading
jQuery knows how to handle table/tbody issues.
That maybe true. The tbody element is implicit, even if you don't have
it in the html source, it is part of the DOM tree. In IE you must use
the tbody element to append rows to...
___
jQuery mailing
Hey all!
Ok, right to the point here!
I have a page in ASP.NET which has two sets of username and password boxes
and two sets of submit buttons. Because it is ASP.NET, there can only be one
form in a page.
The problem in a normal page is that, when the user presses enter on the
keyboard, the
Hi,
let's say we have the following html i the page.
form id=form1
input type=text name=username class=formItem/
/form
form id=form2
input type=text name=username_again class=formItem/
/form
script
var currentForm = false;
var triggerKeyCode = 13;
$(document).ready(function() {
Christian,
Thanks for the reply but, as I mentioned there is only one form on the page,
and two submit buttons inside it.
Your code sample assumes that there is more than one form and wouldn't work
on a single form.
Christian Bach wrote:
Hi,
let's say we have the following html i the
Hello,
strange problem, jQuery can't extract the xml data after an ajax
query... see below for the code:
my XHTML file contains a simple form:
form method=post name=cityForm id=cityForm
input type=text name=city id=city size=40 /
input type=submit value=Localité id=submit /
img
A quick and dirty workaround would be:
success: function(xhr){
result = $(count, $.httpData(xhr, 'xml')).text();
$(#feedback).html(result = + result);
}
but I still recommend to use the latest jQuery version from svn.
-- Klaus
___
I see, i guess i have to pay more attention :)
OK, how about this.
var submitType = false;
$(your single form id).submit(function() {
if(submitType == type1) {
// do something
} else if(submitType == type2) {
// do something
} else {
Append a hidden input element to the form.
$(your single form id).append('input type=hidden
name=myserversecret id=myserversecret/');
then append a different value depending on which textarea the user hit
the enter button.
$(#myserversecret).val(I hit enter in the second textearea);
/c
Dan
Im currently working on a nice simple personal CMS, and jQuery is the
basis of everything JS related.
Im wanting to know how easy it would be to create a custom function that
will allow a user to resize a textarea box verticaly so that they can
view more of the text.
Im sure it quite simple,
Dynamically created controls are a pain in the arse to reference on postback
in ASP.NET, so it's generally easier to just create one on the serverside,
and then check it on postback.
There are plenty of hacks, like duplicating the prefix on the ID and name of
the control, which forces .NET to
Some form of regex as part of the DOM find function in jQuery would be
great though...
When I started with jquery I advocated for this (powerful and easy to
implement). I still think it's a good idea, but the answer at the time (last
August, not so far back...) was that it could be plugged-in
Blair, Klaus, thanks for the help. I
was able to use your code with minor modifications.
As a followup question, when I use the $(#report).load(bentonite.cfm?dataType=html)
syntax, the report div is not expanding to fit the content of the data being
returned; its always just 1 em tall.
On Sep 19, 2006, at 8:39 AM, Mark Harwood wrote:
Im wanting to know how easy it would be to create a custom function
that
will allow a user to resize a textarea box verticaly so that they can
view more of the text.
I know that Firefox has an extension for this, and Drupal has a built-
in
and now for the solution :/$_SESSION['count'] ++;and every form input gets a raising id, so that its unique everytime - datepicker works :
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I've got a horizontal bar that represents a percentage of completion
of a certain task.
I can use jquery to set the width as follows:
$('#bar').width(?=$progress_percent?%); (yes, that's php)
I can also do the following:
$('#bar').width('?=$progress_percent?%').show();
What I can't do is
I developed a new plugin for large web pages that scroll. Hold down the control key and move your mouse to the edge to scroll the page. No fussing with scrollbars. View the demo. Feedback appreciated!
http://jdsharp.us/code/AutoScroll/-js
___
jQuery
Jonathan Sharp schrieb:
I developed a new plugin for large web pages that scroll. Hold down
the control key and move your mouse to the edge to scroll the page. No
fussing with scrollbars. View the demo. Feedback appreciated!
Nice! Doesn't do anything on FF1.5, but works on IE6 and Opera9 (all
It's very cool, but I can't imagine a good use case. The fact that you need to hold down the control key makes it difficult to communicate with users how to use it. On the other hand, having it happen automatically wouldn't work in most cases either.
-- YehudaOn 9/19/06, Jonathan Sharp [EMAIL
Anyone have any ideas? This one is stumping me big time. A multilevel
suckerfish plugin would be awesome.
--
View this message in context:
http://www.nabble.com/Suckerfish-conversion-tf2297242.html#a6394522
Sent from the JQuery mailing list archive at Nabble.com.
no trouble, its all working fine now.Opera is also though its much slower.Web developing is like solving a rubics cube (without warm water and soap)plenty of perserverance and a little help from gurus on this list has enabled me to create a concept I devised a while back. I have made some
I'd definitely be interested.BlairOn 9/20/06, Wil Stuckey [EMAIL PROTECTED] wrote:
Yes. I have thought about making something similar. Although, I don't have much experience with the gMaps API.
-WilOn 9/19/06, Yehuda Katz
[EMAIL PROTECTED] wrote:
Is there any interest in a Google Maps plugin,
Jonathan Sharp schrieb:
You're correct, but I've been developing against jQuery 0.x which
doesn't have extend and for some reason the keydown/keyup events
weren't firing...
Ah, I see. When you update, you should give the latest revision a try.
There were quite a lot of fixes since 1.0.1.
Theres no information about the center function on visual jquery.when I call the function I get the following error$(#imageContainer).center is not a functionDoes center() require a plugin??
thx - S
___
jQuery mailing list
discuss@jquery.com
Make sure your using the most recent version of jquery.On 9/19/06, Sam Sherlock [EMAIL PROTECTED] wrote:
Theres no information about the center function on visual jquery.when I call the function I get the following error
$(#imageContainer).center is not a functionDoes center() require a plugin??
Personally, i use things with IDs like title_number and stuff like that all the time, and $([EMAIL PROTECTED]'title_']) seems to work fine. I havent had any problems.On 9/19/06,
Dave Methvin [EMAIL PROTECTED] wrote:
Here is another approach which actually detects all td clicks...
Yes, center has been spun out into a plugin. You'll need to get it from SVN (you can see the web ui here).On that note, does anyone know if it's possible to download files through the SVN web ui?
BlairOn 9/20/06, Sam Sherlock [EMAIL PROTECTED] wrote:
Theres no information about the center function
I don't think it is a css issue. If I remove the animation code ( the .hover
functions outside of the document.all check ) the code works fine. The css
and markup is directly from the pretty example on the son of suckerfish
page. The possibility of a css error is the first thing I checked - thank
I have some elements dynamicly created, but I found the height is not
the displayed height, and it's larger. I don't sepcify the height of
the elements which dynamicly created, so the height attribute should
be default. Is there a way to get the display height but not the
default height? And it
34 matches
Mail list logo