I have been working on a different way...just fooling around actually.
This just a semi-failed experiment. don't take too seriously. kinda
new to js . just fooling around.
PROBLEMS
if i reset i to 0
Up :)
On Jun 10, 6:40 pm, Lideln lid...@gmail.com wrote:
Up !
I really need some help... Am I the only one experiencing such a
problem ?
I can't use IE6 for now... It's really paralyzing me because I work in
a professional environment.
Thank you all for your help !
On Jun 8, 12:18 pm,
Hi,
I have done a fair bit of searching and can't quite find anything that suits
my issue :( I have been trying to make a gallery using the cycle plugin's
pager function within a jcarousel. I have managed to get it working,
without too much of a problem, except that the images are pretty
Thanks for the reply. I had given this a try but sadly it doesn't work
as expected. I did some research on documentFragments and found
following on http://ejohn.org/blog/dom-documentfragments/#comment-319149
(need to click Show Comments to reach this place) -
# Obvious, but sometimes overlooked:
Hi all,
When i click once on a button, i create one picture on the fly. And so
on. It works ok.
Then, using livequery, when i click on one of the all created
pictures, i would like to see it removed. But it appears that only the
first pic is removed (since all have the same name).
What is my
Hi,
An id must be unique on a page. In your code, every created image as the
same id maybe the problem is here but i'm not sure.
I think the first step is to replace id with a class and see if it works.
You can use the live event gestion if you use jquery 1.3 (
Hi all,
Does anyone know of any plugins for getting pagination setup with
jQuery, I thought this would be perfect:
http://plugins.jquery.com/project/pagination
but it only seems to display one item per page.
I have also tried an example from this book:
hi, i've a function that when i click on a link a div shows up, and
it works nice, but when i click on the div itself the div closes up,
and other bug is, that if i have 2 or more divs if i click on one
link and click on other link the div's stays visible, how can i solve
this?
here is the
Hi,
I have been working on a big form and using jquery plug-in (wizard
form) to divide tit into small subforms. Now, I am trying to integrate
the Validation plugin to deal with the validation and come up with an
issue.
I run validation on subforms which contains two buttons(back, next).
Those 2
Hi
I am newbie in jQuery.
I use Superfish menu basic style in my small FOSS project.
Question: How can I make a horizontal Superfish menu, floating, like
is
http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/
?
What you get while trying $json['name'] ??
Why don't you try getJSON instead of calling usual ajax call ??
Regards,
Anish**
On Jun 11, 4:40 pm, David .Wu chan1...@gmail.com wrote:
If I send a json format to php, how to get the value from php? for
example
front page
script
var jsonStr =
Hello every one,
I'm a new user of JQuery and i'm trying to use it on a web site that
i'm building. Keep in mind that i'm also new on the web.
So i wanted to know:
- How to define a function with JQuery.
- Does it works similary like woring with Javascript and DOM ?
- Shall my function, if
hi, i've a function that when i click on a link a div shows up, and
it works nice, but when i click on the div itself the div closes up,
and other bug is, that if i have 2 or more divs if i click on one
link and click on other link the div's stays visible, how can i solve
this?
here is the
Actually I want need server side doing work, and I don't know how php
get json, nothing to do with client side.
On 6月12日, 下午4時55分, Anish cani...@gmail.com wrote:
What you get while trying $json['name'] ??
Why don't you try getJSON instead of calling usual ajax call ??
Regards,
Anish**
Hi,
I need to count characters in textarea so I wrote sth like this:
$input.keyup(function() {
var new_length = $(this).val().length;
$word_counter.text(new_length);
if(new_length = min new_length = max) {
$word_counter.addClass('git');
} else {
hi ;)
An id must be unique on a page. In your code, every created image as the
same id maybe the problem is here but i'm not sure.
Yes, i guess, this is the problem.
I think the first step is to replace id with a class and see if it works.
Can you give some exemple ?
The probleme is: i want
give ul.sf-menu an absolute position with css and apply the floating
script to ul.sf-menu instead of the div container in example
everything else in menu css and script remains the same
I believe dimensions.js is deprecated in current jquery.js and is now
built into core
Yuri Timofeev
wrapper: li class='error' would work in one place (where the wrapper
is created), but not in another, where the same option is used as a
selector.
Could you file an issue for thise?
http://plugins.jquery.com/node/add/project-issue/validate
Jörn
On Fri, Jun 12, 2009 at 7:51 AM, Gauthier
Can you give some exemple ?
$(#IdButton).click( function() {
var pic=pimg id=\IdPicture\ name=\IdPicture[]\
class=whatever src=\../
images/icone_ko_small.png\//p
$(this).before(pic);
});
$(img.whatever).livequery('click', function(event) {
$(this).remove();
});
regards,
f.
The
changing to class will do what you need
here's an example using live() instead of livequery since it is built
into jquery now and works for click function you are using
I just changed to a UL instead of images
http://jsbin.com/ewutu
fabrice.regnier wrote:
hi ;)
An id must be
look on jquery UI main page, there's a developers guide for widgets and
tutorial
Amit wrote:
Hi Group,
I just wanted to
knew if we can create widgets using jquery , if yes, how??
--
Regards,
Amit Kr. Sharma
Mobile: 09780141161
Thanks for your accurate remark.
I came up with adding some event but I don't know which. Focus doesn't
work as I want to. It doesn't update counter immediately after pasting
text. Until after leaving input. Just as focus event works.
Some other ideas?
On 12 Cze, 14:35, MorningZ
jQuery *function*?
Do you mean jQuery plugin?
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
On Jun 11, 10:54 pm, marcelsnews marcelsn...@gmail.com wrote:
Hello every one,
I'm a new user of JQuery and i'm trying to use it on a web site that
i'm building. Keep in mind
But id doesn't work when I click the right mouse button on it and
choose Paste
And this should be easy as cake to understand:
Copy and Paste will *not* fire the keyup event which your code is
requiring
You'll need to wire that event to more events to make it work with
CP (focus would come to
It almost sounds to me like you're confused on what jQuery actually is?
Does it works similary like woring with Javascript and DOM ? in your email
jQuery is a code library for use by javascript code. It provides easy
access to the DOM and tons of other convenient features for you, so that
you
Hi all. I am new to jquery and prototype and have the need to use
both. I am currently trying to use the jquery Cycle with Lightbox that
needs prototype and the two are conflicting. I have been told that I
will need to use the jquery no conflict, but I simply can't get it to
work. I just don't
Sorry, I meant to say Lightview and not lightbox.
On Jun 12, 8:27 am, Terry te...@baileygraphicdesign.com wrote:
Hi all. I am new to jquery and prototype and have the need to use
both. I am currently trying to use the jquery Cycle with Lightbox that
needs prototype and the two are
Donny
That did the trick!
-Shadraq
$('input[name=piResults]').fieldValue()
.fieldValue() ?
Why aren't you just using .val() ?
On Jun 12, 9:16 am, John jmcl...@birchrunsoccer.org wrote:
Hello all,
I have some experience in Regular Expressions but this one has me
pulling my hair out.
I have a form with several input fields
Hello all,
I have some experience in Regular Expressions but this one has me
pulling my hair out.
I have a form with several input fields including a phone number
field. I have a submit button that is linked to jquery form plugin.
My validation is checked on beforeSubmit. ( i.e. beforeSubmit:
Does anyone know of a plugin for jQuery that encapsulates some, or all, of
the AIR API?
andy
Thanks for the reply.
'fieldValue' is used in the jquery form plugin. When I use '.val()'
for example: $('input[name=piResults]').val() I get nothing.
On Jun 12, 9:33 am, MorningZ morni...@gmail.com wrote:
$('input[name=piResults]').fieldValue()
.fieldValue() ?
Why aren't you just using
Ola,
Thanks for you reply, but im still not there:
My validator:
script type=text/javascript
$(document).ready(function(){
var validator = $(#form_user).validate({
onkeyup:false,
onblur:false,
onclick:false,
errorClass: invalid,
Maybe I'm reading this wrong, but the regular expression you are using
looks like it returns a match on valid phone numbers? If that is the case
why not
return true when it matches, false when it doesn't. Ir just put a ! in
front of the match function
cheers
Michael Lawson
Development Lead,
thank you Pierre and Charlie, this is exactely what i'm looking for ;)
regards,
f.
Good call.
Here are my changes.
function validate_phone(value,alerttxt){
var re = /^\(\d{3}\)\d{3}-\d{4}$/;
alert(re);
if( $('input[name=unitContactPhoneNumber]').fieldValue().match(/^\(\d
{3}\)\d{3}-\d{4}$/) ){
alert('match');
return
It worked!
Thanks a lot!
On Jun 12, 2:42 pm, Charlie charlie...@gmail.com wrote:
give ul.sf-menu an absolute position with css and apply the floating script
to ul.sf-menu instead of the div container in example
everything else in menu css and script remains the same
I believe dimensions.js
Hi all,
I have a form like this:
form id=my_form method=post action=
Name: br /
input type=text id=name name=name /
input type=submit id=submit1 value=Go to page 1 /
input type=submit id=submit2 value=Go to page 2 /
/form
how can I change my action form so the form goes to
View this page
http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/
On 12 Jun, 15:25, ciupaz luigi.zambe...@gmail.com wrote:
Hi all,
I have a form like this:
form id=my_form method=post action=
Name: br /
input type=text id=name name=name /
input
function go(button)
{
$(#my_form).attr(action,button.value);
}
and then in your button tag add this
onclick='go(this)'
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assayer
Thanks, it's work, and how can I recover the input text value, without
using the querystring?
Luis
Cookies?! See the link i've posted above!
On 12 Jun, 15:48, ciupaz luigi.zambe...@gmail.com wrote:
Thanks, it's work, and how can I recover the input text value, without
using the querystring?
Luis
Is it possible? I have seen this requested numerous times but found no
solution. When using the external controls, I want to add a class to
the selected navigation number. I'm assuming this could be done using
the callback but I don't know how. Ideas? Thanks
STEP ONE.
lets create our XML Web Service
[WebMethod]
public string Check(string key)
{
return your key is + key;
}
you will notice in the webservice.cs file a line of code with a comment
above it looks somthing like
[Webservice.scripts]
un-comment that line to allow external script
Hello everybody.
I have one problem but I can't solve it.
I have one page with 3 iframes. The first iframe has a 'ready' event.
Inside this event I am calling a function which is in the parent page.
This function needs that the page was loaded, I mean, when the page is
loaded this function can
Hi there, I'm having a bad time trying to work out what is wrong with
my approach and hoping someone can enlighten me. Consider the
following.
var t = 'input.ffControl[value=Add a Value]:first';
var s = 'input.ffControl[value=Add a
Hello,
I'm creating a page that lists the available songs that I have for
karaoke, and I'm having some difficulties with formatting. I'm using
jquery to retrieve an XML created by php, and outputting it to the
html page using jquery's append() function. However, when I do this,
the DIV that
Hi, On my website www.mydabbler.info I wanted the superfish horizontal
menu directly below the green banner at the top. I am using this to
replace the top 2 menus in the middle. The current top 2 middle menus
use User 1 on the middle left and User 2 for the middle right. If I
use Superfish with
Some of my clients have actually seen this, too:
Javascript Error: 'document.body' is null or not an object
The error line refers to the line document.body.appendChild( div );
in jquery.js.
It has definitely happened for people on IE6, and I believe for people
on IE7 as well... however, it is
$.post(test.php, { func: getNameAndTime },
function(data){
process(data);
});
Is one of the examples given for Jquery.
Now I am trying to implement Jquery Ajax instead of a custom class we
have here so am trying to catch on so bear with me.
Above, it shows POST variable func containing
var t = 'input.ffControl[value=Add a Value]:first';
var s = 'input.ffControl[value=Add a
'+$(this).attr('class')
+']:first';
if(s == t) { alert(s); }
$(t,this).val('gotcha');
Hi there, Can anyone
Hi, I have this:
span class=date title=May 14, 200914 May 2009/span
.. and I'd like JQuery script to output it as this:
span class=date title=May 14, 2009/span
Basically, I'm checking the browser language and I want to display all
dates in US date format to all users with EN-CA and EN-US
Does anyone know of a plugin for jQuery that encapsulates some, or
all, of the AIR API?
andy
This may be of interest, though it's not jQuery encapsulation, it does
provide an abstraction layer:
http://www.activerecordjs.org/index.html
I've been using the ActiveRecord js implementation in AIR for a while
now and it's proven to be solid so far:
Download:
http://blog.jqueryui.com/2009/06/jquery-ui-172/
Changelog
Summary
This is a maintenance release for jQuery UI 1.7. It changes only the
plugins listed below. In addition to the plugin fixes below, 7 new
themes were added: Sunny, Overcast, Le Frog, Flick, Pepper Grinder,
Eggplant and
you're declaring a fixed height inline. the div is being told to only
be 100px tall, so it doesn't matter how much content is inside it.
try replacing height: 100px with float: left;
On Jun 12, 11:38 am, Eric-Sebastien Lachance eslacha...@gmail.com
wrote:
Hello,
I'm creating a page that
I would probably do something like this:
var formattedDate = $('span.date').attr('title');
$('span.date').html(formattedDate);
if you have multiple date spans on the page, you may need to use
the .each() method
On Jun 12, 12:33 pm, jay7 jayd...@gmail.com wrote:
Hi, I have this:
span
Hi all,
Need a little help from you guys here.
I tried to show load spinner will ajax doing its work on a complex
page item load. In my case I am trying to load a large image and at
the same time load large amount of data onto a table. But it only
works in FireFox 3 but it doesn't works on
Thanks Jack...that's not quite what I meant.
For example, even though the AIR method for minimizing a window to the
system tray is short:
nativeWindow.minimize();
It would be cool if this functionality was packaged up so that you
could apply the minimize method directly to an object. Here's
Awesome, that works!
I hadn't set a static height at first, hadn't put any style in fact,
so I was in a bind, but this works great for me.
Thanks a lot!
Eric.
On Jun 12, 1:24 pm, amuhlou amysch...@gmail.com wrote:
you're declaring a fixed height inline. the div is being told to only
be
OK, yeah, that's what I figured you were looking for. I haven't seen
anything like that, but it would be cool if it existed. Doesn't seem
like it would be a ton of work (famous last words). Have you got any
thoughts about how it might work across the sandbox bridges? I use the
bridges and
W3C says that id should not start with a number
Here's probably what you need.
$('#1').remove();
On Jun 11, 7:44 pm, David .Wu chan1...@gmail.com wrote:
Can I remove div1 but div2 keep there?
div id=1
div id=2/div
/div
It's not really a huge bug and please do submit this as an enhancement
to jQuery tracker.
On Jun 11, 12:57 pm, upsilon upsilo...@gmail.com wrote:
Hi everyone!
Today I've tried to create simple hover effect on a div: if the
cursor is over the box, the background-image css property of the div
Jack...
I just blogged about this idea:
http://andymatthews.net/read/2009/06/12/jQuery-and-AIR:-AIR-methods-abstract
ed-into-jQuery-plugin
I think that this is a great idea and I'd love to get involved in it, but
I'd want others to be included as well. My jQuery foo is fairly strong, but
I've
I see one fast solution,
You put a variable isLoaded in your top frame.
At first, the value is false, and when it's ready you change the value to
true.
Inside the iframe that need the function, you check the value of the
variable inside a periodic call.
When the value is true, you can make the
Hi !
Thanks for the answer. But, if it is due to the code, why does it work
on another developer computer, with the exact same code ?
And why would it work for one tester out of 3 ?
I can't explain that, and as far as I can't explain that, I will not
likely consider it is due to the code.
putting it all together, you'd get something like:
$('#div1').replaceWith($('#div2')).remove();
first you find div1, then replace it with div2, then remove div1
On Jun 12, 2:12 pm, Kean shenan...@gmail.com wrote:
W3C says that id should not start with a number
Here's probably what you
Jörn, thanks for your answer
I tried your tip and it seems to work showing the items right at first
sight.
There is one flaw nonetheless, when the item is revoved, the wrapper
element is leave present in it's container
About the ticket, I just created one as you proposed:
From your examples, it looks like you're thinking more about helper
methods than just exposing the API, which makes sense, but then the
question is what helper methods should we create to make this a good
framework? (I think). If that's the case, have you thought about it
much? Helper method
Hi,
I am a newbie to jQuery, and I'm trying to do something that I
think can be done, just not familiar enough with jQuery to figure it
out. I'm using Uploadify to upload multiple files. I want to load
data from a file (using Perl), then append the results to a DIV
section in my HTML.
I can
I'm new to Jquery and I was wondering if this feature exists anywhere.
the animate() function where instead of parameters you pass in a
classname and it reads the parameters from available css definitions.
I am trying to keep my css specifics out of my javascript files.
This got me curious and after a little digging I find a plugin called
animateToClass
http://igorvieira.com/blog/animate-to-class-en
It seems to be what you're looking for.
cheers,
~amy
On Jun 12, 2:04 pm, DiggityDan edn...@gmail.com wrote:
I'm new to Jquery and I was wondering if this
Thanks for posting this Neal!
Rey
Neal Jansons wrote:
Download:
http://blog.jqueryui.com/2009/06/jquery-ui-172/
Changelog
Summary
This is a maintenance release for jQuery UI 1.7. It changes only the
plugins listed below. In addition to the plugin fixes below, 7 new
themes were added:
Hei there,
since http://marcgrabanski.com/article/jquery-tools-vs-jquery-ui it isn't
nice to make your own plugin api.
Now i am trying to build a plugin api for a pagination in the jquery ui way
- llike that
$myDiv.pagination('click', function(){ ... });
but the whole ui construct with core
Nice! A fixed downloader!
I was to the point where I was downloading the full blown versions and
using YUI compressor to compress myself...
Totally digging the Themeroller stuff... keep up the great work!
On Jun 12, 3:13 pm, Rey Bango r...@reybango.com wrote:
Thanks for posting this Neal!
I am working on a UI that, when you click on a menu option, a div
opens and show three divs inside. These divs all have different
heights. The heights are based on the divs content.
The problem I'm having is... how do I measure what the divs height
should be? IE, how do I grab the height for a
Hi. I the jQuery source code there is a function called onChange that
sends the value of the input box to the backend server and/or checks
the local cache. I've implemented a function that checks for valid
characters via a regex first before send the result to the backend
server for processing. I
This the html file
I want to catch the object property inside obj and make them a json
string like
'{div: [{name: div1, w: 100, h: 100}, {name: div2,
w: 200, h: 200 }], img: [{name:, img1, w: 50, h:
50}]}';
any suggestion to accomplish it?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Is there a jquery plugin that can scroll text in a div vertically? I
have div with a set height that is filled with more content than can
be seen. I'm looking for a way to vertically scroll the text or some
way to page thru the content.
Thanks for any help.
Dear all,
I've worked out that the pagerAnchorBuilder option will probably get
me what I'm trying for, but I'm trying to add a wrinkle.
I've got a slide show using next/prev, but I also want the user to be
able to click on links in ullis to go to specific images in the
slide collection.
the
I suppose you're right...
The AIR API is actually pretty well done. It needs better documentation, but
Adobe's done a great job setting it all up. I suppose I'm talking about a
framework then. I already have a series of files for my AIR apps which I
treat as classes. Interface.js deals with
On 6/10/09 1:11 AM, smiling_face rd.welco...@gmail.com wrote:
first of all thanks for your gr8 plugins to add autocomplete feature
using jquery. but I am facing a problem to implement this in my
application. As in error console it is showing
syntext error
.ac_results {
On 6/10/09 1:17 PM, Brad nrmlcrpt...@gmail.com wrote:
I have an Autocomplete on a form that uses local data. However, the
input allows users to enter values that are not in the local data
array. If the user enters and selects matching data the .result
callback function sets a corresponding
nobody can help me out?
Any word on the much-anticipated jQuery conference 2009?
Hi jQuery,
I have successfully got my ajax working.
I'm now in the processing of put an animation gif on the site to show it's
sending/retrieving date via. ajax.
my problem is that I have multiple ajax calls on the same page.. and I want
each call to be represented by
a unique gif animation.
I
Hi All,
I'm thinking out how to put together a web app that allows a user to
have a room and in that room, place tables and chairs, which will then
be used for a scheduling app. The scheduling part I'm on top of. The
graphical part for positioning tables and chairs is what I'm looking for
a
im a newbie trying to use the autocomplete plugin. I have a php array
returning a name and an id.
the autocomplete drop down displays only the first value before the |
in name|id
This is fine but how do i get the 'id' part to be stored in a hidden
field. I've looked at the examples
Hi,
This is my first post here and I did try searching for this in the
archives. Please be gentle.
I believe jQuery's :nth-child selector doesn't work inside
GreaseMonkey 0.8.
(At the bottom is a quick GM script to test this.)
Why is this?
Is this a known limitation from working inside
Hey there, I'm redesigning my website at the moment and am looking to
do things a little more efficiently this time around.
Currently, I have something that looks like this like this:
HEADING NUMBER ONE
image one
image two
image three
HEADING NUMBER TWO
image four
image five
image six
When
Hi,
I'm using Superfish to generate a horizontal menu for a project and
the problem I'm having is that the flyout menus close to the right-
hand side of the page run off the right-edge of the browser window
instead of wrapping around like other menu systems I've used (this
project was started
On the UI website under the datepicker display button bar option it
says
Each button is enabled by default when the bar is displayed, but can
be turned off with additional options. Button text is customizable.
I can't find anywhere that states how to turn off buttons or customize
the text.
Hi,
Has anyone ever tried using the zend ide with jquery? Any comments on
this would be appreciated.
Arun
On Fri, Jun 12, 2009 at 2:37 PM, amuhlouamysch...@gmail.com wrote:
putting it all together, you'd get something like:
$('#div1').replaceWith($('#div2')).remove();
first you find div1, then replace it with div2, then remove div1
There's no need for remove() because it will have been
The issue is on what I get from this function in
Internet Explorer and in Firefox:
IE : url(http://blabla/images/bg_round.png;)
FF : url(http://blabla/images/bg_round.png)
Either is valid CSS; the URL only needs to be quoted if it contains
certain special characters.
script type=text/javascript
$(function() { // wait for page to fully load
// if you want the text to revert on mouse out set this placeholder
var placeholdertext = Heading Number One;
// create an array of image text
var imagetext = new Array();
// assing text to each array note : 0 = first
simplest solution is to add an extra class to the culprit sub ul's
either by hard coding it in markup or using jquery . From there it
depends on the situation you have, number of sub levels and which
levels are being troublesome. If it's just a matter of sliding first
level left a bit, use
97 matches
Mail list logo