I did try and am able to use the json.net class for it. The
HttpHandler is returning json data now. Thanks.
Now I was trying to get 10 items from the json file. My url in
$.getJSON looks like:
$.getJSON(myjsonfile.json?count=10, {}, function(data) {
$.each(data, function(i, item) {
you have to make sure the DOM element (i.e. your close button) is
available when you define your close() function. or use the
livequery plugin. or use event delegation.
On Mon, Dec 29, 2008 at 4:09 AM, amnesia440 spaceman...@gmail.com wrote:
Hello.
I am trying to load a login form into the
Sorry for beeing so short in the description, so here is my attempt.
The Scenario is the following: I want to have an option for the
jcarousel having autostart on a per user basis. So here is my attempt
by using a cookie via php. In the header i ask for the cookie as
follows:
?php
My callback goes as follows:
function mycarousel_initCallback(carousel)
{
?php if($slider == 'auto') { ?
// Disable autoscrolling if the user clicks the prev or next
button.
carousel.buttonNext.bind('click', function() {
carousel.startAuto(0);
});
check1
check1
Hi... just starting out to get this going.
I'm guessing that the reason onclick code has the #, for example: a
href=# onclick=someFunction.add etc code etc etc /a
is because it can't do the onclick AND more typical things like this
example:
lia href=#myID/a/li
Is because they conflict...
check1
check1
http://www.tasker.it/img/demo/
hi
sorry for the long delay..i moved everything here
http://www.tasker.it/img/demo/
would you check now whether you can see it?
On 23 Dic, 16:58, Mike Alsup mal...@gmail.com wrote:
mmh..that's weird..i can see it right..
All of the scripts and stylesheets on
check1
check1
Perfect :)
On Sun, Dec 28, 2008 at 11:45 PM, Dave Methvin dave.meth...@gmail.com wrote:
Here's what I came up with, does it make sense?
--
Content
Most jQuery methods that accept content will accept one or more
arguments of any of the following:
* A DOM node element;
*
ok, I find that I can get the json element very easy but still haven't found
a way to get the attribute name.
$(Test, data).each(function(i){
console.log($([...@name], this).text()); // does not work.
console.log($(json, this).text()); // does work
});
I have tried with the following
come on..give me a christmas present ;)
On 23 Dic, 09:51, hcvitto hcvi...@gmail.com wrote:
i'm still here :) ...?
If you just want to use your function without changing the signature,
you have to pass along the current this when calling your function.
This is done using the call function JavaScript provides for
functions.
function addClickHandler(tableId, functionName, myUrl) {
jQuery('#' + tableId
check1
check1
check1
check1
check1
check1
check1
got it!
$(Test, data).each(function(i){
console.log($(this).attr(name));
console.log($(json, this).text());
});
On Mon, Dec 29, 2008 at 11:16 AM, Anonymous ilaughlou...@gmail.com wrote:
ok, I find that I can get the json element very easy but still haven't
found a way to get the
check1
check1
check1
check1
check1
check1
Dear Maddy,
Jcarousel can display more 3 images and also can scroll more than 1 image !
you just have to mention some parameter
$(some_selector).jCarouselLite({
btnNext: someId Or Class,
btnPrev: someId Or Class,
visible: 5,
scroll:4
});
With Regards,
Chandan
I'd like to do the opposite.
Clicking any link in the tree (whether a parent or leaf) should
load the page AND toggle to expand/collapse.
In the demo, it LOOKS like this works. But the demo does not use
real links, so the page isn't reloaded with another.
You can see this on
zunga.orgfree.com
check1
check1
check1
I dont think there is a problem with your javascript code.
Did you try to set #load initial style to display:none ?
Cheers,
Daniel
On Dec 29, 5:33 pm, hcvitto hcvi...@gmail.com wrote:
come on..give me a christmas present ;)
On 23 Dic, 09:51, hcvitto hcvi...@gmail.com wrote:
i'm still
Hi,
I was trying to get 10 items from the json file. My url in $.getJSON
looks like:
$.getJSON(myjsonfile.json?count=10, {}, function(data) {
$.each(data, function(i, item) {
alert(item.title);
alert(i);
});
});
But the above code returns all 20 items from my file.
check1
check1
check1
check1
check1
What's the returned JSON look like?
On Dec 29, 6:50 am, JQueryProgrammer jain.ashis...@gmail.com wrote:
Hi,
I was trying to get 10 items from the json file. My url in $.getJSON
looks like:
$.getJSON(myjsonfile.json?count=10, {}, function(data) {
$.each(data, function(i, item) {
The page isnt loading correctly for me
On Dec 29, 4:44 pm, hcvitto hcvi...@gmail.com wrote:
http://www.tasker.it/img/demo/
hi
sorry for the long delay..i moved everything here
http://www.tasker.it/img/demo/
would you check now whether you can see it?
On 23 Dic, 16:58, Mike Alsup
It contains all items from my json file. The file looks like:
[
{title:Title1},
{title:Title2},
{title:Title3},
...
...
{title:Title20}
]
On Dec 29, 4:55 pm, MorningZ morni...@gmail.com wrote:
What's the returned JSON look like?
On Dec 29, 6:50 am, JQueryProgrammer
I love this little and flexible script. The problem i got is that i'd
like to fetch it with a PHP function instead of a plain HTNL address,
but i cannot figure out how to do this.
to explain it better, i've a php function called tep_image() wich
supplied with an image address can create a
try this
http://www.aptana.com/node/336
skyspark wrote:
Hello,
I have been trying out the code from
http://code.jquery.com/nightlies/jquery-nightly.build.zip
as a solution for doing server side javascript with dom parsing/
manipulation. when i do sample code,some error happen like
check1
Hello,
I have a tablesorter with a numeric column (the type is String so I have to
use a parser to order the column as number ), the problem is that it does
not order long numbers with comas separator.
Here is the example of the sorted column:
desc order-- -363,122,000.00;
stylesheet main.css seems to be missing.
On Dec 29, 6:56 am, Daniel dqmin...@gmail.com wrote:
The page isnt loading correctly for me
On Dec 29, 4:44 pm, hcvitto hcvi...@gmail.com wrote:
http://www.tasker.it/img/demo/
hi
sorry for the long delay..i moved everything here
Hello,
can anybody tell me where i should copy the extended files of the ZIP-
file mod_superfishmenu.zip? I want to use the basic-style menu in
my Joomla simplify-template.
I don't know exactly where I have to copy the files of teh ZIP-file to
my simplify template. Does anybody also know how I
hi am using jQuery.getJSON to request a cross-domain page using the following
code
jQuery.getJSON(crossDomainUrl, function(result) {
processResult(result);
});
but i never reach the cross domain url as the current url is always prefixed
to it, like so
Current Page Url :
JQuery users,
I'm receiving the following error:
Error: [Exception... Could not convert JavaScript argument arg 0
[nsIDOMViewCSS.getComputedStyle] nsresult: 0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS) location: JS frame ::
http://REMOVED.net/jquery-1.2.6.min.js :: anonymous :: line 22 data:
no]
Is your http://remoteServer page a json file or is it returning a json
data?
buaziz wrote:
hi am using jQuery.getJSON to request a cross-domain page using the following
code
jQuery.getJSON(crossDomainUrl, function(result) {
processResult(result);
});
but i never reach the
Hi!
it`s me again, I`m new using tablesroter and I don´t know how to solve this
problem of sorting numbers with comma separators(it doesn`t sort well), I`ve
been looking everywhere but I didn`t get a solution. Can anybody help me??
Thanks Sole.
the remoteServer is returning JSON data.
--
View this message in context:
http://www.nabble.com/jQuery.getJSON-Current-Url-Prefixed-tp21201707s27240p21203328.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Can u paste the remote server url over here. I will try from my local
m/c. I tried the sample given on http://docs.jquery.com
/Ajax/jQuery.getJSON#urldatacallback and it works perfectly fine.
On Dec 29, 6:34 pm, buaziz bua...@gmail.com wrote:
the remoteServer is returning JSON data.
--
View
this is driving me crazy!!
anyway, i moved everything here
http://www.pipelabitta.it/demo/
and this should be it!
On 29 Dic, 14:07, donb falconwatc...@comcast.net wrote:
stylesheet main.css seems to be missing.
On Dec 29, 6:56 am, Daniel dqmin...@gmail.com wrote:
The page isnt loading
hi daniel
thanks for the replay..
yes, it's initial state is hidden..As far as you know, should the
ajaxStart/ajaxStop functions work with the load function too?
On 29 Dic, 12:49, Daniel dqmin...@gmail.com wrote:
I dont think there is a problem with your javascript code.
Did you try to set
yes it should. Do you have a test page ?
Cheers,
Daniel
On Dec 29, 8:47 pm, hcvitto hcvi...@gmail.com wrote:
hi daniel
thanks for the replay..
yes, it's initial state is hidden..As far as you know, should the
ajaxStart/ajaxStop functions work with the load function too?
On 29 Dic, 12:49,
Unfortunately not at the moment. To make one a have to move everything
on another server..
i 'll wait fotr the website to be published, then i will post again.
Thanks a lot, anyway
VItto
On 29 Dic, 15:01, Daniel dqmin...@gmail.com wrote:
yes it should. Do you have a test page ?
Cheers,
Hey guys,
Sorry for a real basic question but I just cant work this out.. I
have the following structure based on a jqGrid output..
div id=div_1
div
table
tbody
tr
td class='headerLeft'IMG //tdthTEXT/th
td class='headerButton'IMG //td
td class='headerRight'IMG //td
/tr
/tbody
/table
/div
/div
The count parameter must be implemented server-side, the ajax call has
nothing to do with it. If you want to filter the first 10 items, use
something like this:
$.getJSON(myjsonfile.json, {}, function(data) {
$(data).slice(10).each(function(i, item) {
alert(item.title);
uh?
Just have your PHP script run the function and return the new
thumbnail URL, then it's easy:
$('somewhere').get('create_thumbnail.php', { url: 'http://images.com/
image.jpg' }, function(newURL){
$('img/').attr('src',newURL).appendTo('body');
});
(if that's any close to what you meant)
Sorry - left out the important part
The containing div (div_1) can be created more than one on a page --
so div_1 , div_2 , div_3 and they would all contain the structure
described above.. this is why I cant just access using $
(.headerButton) as there could be potentially more than 1.
I
Yeah, as there are 20 items returned over the wire, i'm not sure how
that loop was supposed to know to stop at 10
Time to revisit the server side code of things
On Dec 29, 10:05 am, Ricardo Tomasi ricardob...@gmail.com wrote:
The count parameter must be implemented server-side, the ajax
First, use a single function for all your sections:
function showSection(hash) {
var tp = '.'+hash.substring(1);
$(#projectselect li).not(tp).removeClass('selected').hide().end()
.filter(tp).addClass('selected').show();
}
$(#subnav a).click(function(){
showSection(
its basically the panoramio url
given here
http://www.panoramio.com/api/
sample query :
http://www.panoramio.com/map/get_panoramas.php?order=popularityset=publicfrom=0to=20minx=-180miny=-90maxx=180maxy=90size=medium
--
View this message in context:
Much more compact. Thanks for the direction. I'll wrap my head around
it, give it a whirl and let you know the results.
On Dec 29, 7:30 am, Ricardo Tomasi ricardob...@gmail.com wrote:
First, use a single function for all your sections:
function showSection(hash) {
var tp =
Depending on what you are trying to do:
$(#div_1 .headerButton img); // return the img in header button for
div_1
$(.headerButton img); // return an array of img for
each .headerButton
You can then iterate over the array for additional processing.
If you are passing the div_n (divId)
('#main-photo-next :last').name
You're missing the $/jQuery and trying to get a property that doesn't
exist.
change that to $(this).attr('name').replace(...) and you're set.
On Dec 29, 1:36 am, Rick Faircloth r...@whitestonemedia.com wrote:
Hi, all...
I'm cloning a section of code to create
You can add as many listeners as you want:
$('a').click(function(){
scrollTo(moon);
});
$('a').click(function(){
alert('Me works too');
});
$('a').click(function(){
alert('damn, stop using alerts');
});
$('a').click(function(){
openFlash();
});
On Dec 29, 7:37 am, yvonney
really? I thought one had to namespace an event for it not to
overwrite previously set behaviours.
$('a').bind('click.scroll',function(){
scrollTo(moon);
});
$('a').bind('click.alert1',function(){
alert('Me works too'); });
});
On Mon, Dec 29, 2008 at 5:06 PM, Ricardo Tomasi
These are known issues and are some of the reasons colorpicker was removed
after 1.6rc2. It will not be in the 1.6 final release, but will be
refactored, hopefully in time for 1.7.
- Richard
On Sun, Dec 28, 2008 at 4:59 PM, Samuel Santos sama...@gmail.com wrote:
I've been trying to get the UI
Try this code:
$.getJSON(http://www.panoramio.com/map/get_panoramas.php?
order=popularityset=publicfrom=0to=20minx=-180miny=-90maxx=180maxy=90size=mediumcallback=?,
{},
function(data) {
$(data).each(function(i, item) {
alert($(this)[0].photos[i].photo_id);
})
How WONDERFUL to have had your info on this. Thank you both for the
puzzle pieces!!!
I will get right to it to try to get this working.:---)))
Well...close, but no cigar at the moment.
I've got this jQuery now:
$(document).ready(function() {
$('#add-image').click(function() {
$('#image-div-1').clone(true)
.attr('id', function() {
return
Please provide a testpage.
Jörn
On Sat, Dec 27, 2008 at 1:25 AM, Olaf olaf.spaarm...@googlemail.com wrote:
Hi,
thanks for the great plugin! I'm having some problems here on Firefox
3 and Safari: When adding autocomplete to a field everything works
fine, except that the form gets submitted
The site isn't reachable...
Jörn
On Sat, Dec 27, 2008 at 8:36 PM, kenitech keithhop...@gmail.com wrote:
This is an easy way to hack Jorn's tooltip so you may hover over the
tooltip and click on a link:
http://www.artworknotavailable.com/2008/12/27/jorn-zaefferers-tooltip-hacks/
hack of:
Use the associated div's context:
$(.headerbutton img,#div_1);
This is also highly optimal as jQuery no longer searches the entire
DOM for all classes of headerbutton, only the nodes with class
headerbutton in the context of #div_1.
You can read more about context here:
Which is the right plugin writting way?
Of course, there isn't any :)
In javascript you can structure your code in almost countless ways.
For a simple plugin here's what you need:
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
but if you want to write object oriented plugins
If you generate the IDs dinamically and somehow an empty string is
passed as the selector the document will be selected, so all these are
the same:
$()[0];
$()[0];
$(document)[0];
On Dec 27, 9:25 pm, Stephen sathoma...@gmail.com wrote:
Sorry to bother folks with what is probably a silly
OK... I'm flying fairly blind though I'm enjoying it!
1) I guess that the scrollto stuff I'm doing is irrelevant.
2)The menu items each have a different #. There's nothing in the html
other than the following example. (except for a jpg call or an
alt=) Each pair surrounded by unique UL # of
Worked it out through process of elimination. Looks like the menu is
ducking behind items with position:relative in the css. Not sure why,
and I think bgIframe should display over it regardless of position
rule, but I'll post more as I unravel it all in case someone in the
future has this issue.
How didn't I notice... IDs are unique, you can't do that. Use a class
instead, .main-photo-next. You can also chain everything so you don't
need to search again for the new element:
$(document).ready(function() {
$('#add-image').click(function() {
$('#image-div-1').clone(true)
Similar thread here, so mine doesn't seem to be an isolated case:
Superfish with bgiframe does not cover position:relative div in IE
http://groups.google.com/group/jquery-en/browse_thread/thread/49e836df04d9b45b
I've got this jQuery:
$(document).ready(function() {
$('#add-image').click(function() {
$('#image-div-1').clone(true)
.attr('id', function() {
return this.id.replace(/(.+)(\d+$)/, function(s, p1,
They will all add up, that's the native addEventListener behaviour.
You 'add' listeners, not replace them :)
But that way you can only remove them all at once with unbind('click')
or having the original function at hand, namespacing allows you to
remove them separately and by name only.
On Dec
Thanks, Richard...I'll give it a go!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Ricardo Tomasi
Sent: Monday, December 29, 2008 2:35 PM
To: jQuery (English)
Subject: [jQuery] Re: Why isn't the name attr in this code
$(document).ready(function(){
$('li a').click(function(){ //get all as inside the lis
$(this).attr('href') //do something, get the images etc.
});
});
calling click for multiple elements is the same as calling $('li
a').each(function(){ $(this).bind('click', ...)
On Dec
Been working on this page:
http://www.farmanddairy.com/shop/index.php?main_page=product_infocPath=65products_id=181
Div #absolutekartbutton was position:relative with float:left.
Columns under News was disappearing behind many objects. I fixed
most by removing float:left from
SO nice Ricardo!
I must explain and say sorry in advance for asking for help on such
simple problems and my lack of understanding. I do not yet know how
everything works together quite. I will be much better in the future
as I am really studying though the following may be very boring,
though I
This now makes more sense to me.
http://nettuts.com/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/
I've started to attempt things. I added the UL class as there are
other lis though I only need the #nav ones affected.
$('#nav li a').click(function(){
One small step for
Hello all-
As a newbie to jQuery, let me first say I'm terribly impressed. I
like to think I've created a great project by using jQuery and the
credit should go where it's due- the devs. Thanks guys!
My question pertains to the accordion plugin. I have it fully
functioning (I can post it if
I'm trying to do the same thing, the code you suggested works, but the
text on the page changes to what's in the html file I link to but then
the browser also moves to the page, how do i stop this?
On Dec 22, 1:51 pm, Alexandre Plennevaux aplennev...@gmail.com
wrote:
say the container that will
HI, I am making a website kinda like a social networkng site.
I am trying to make a hover effect when the mouse is over the users
image I want to pop up a image menu like upload image and edit image
etc.
I so far do have the codes working. The problem I face is... when the
user puts the mouse
i've loaded all js files to root. script not executing. help please.
thanks.
script type=text/javascript src=jquery-1.2.6.min.js/
script
script type=text/javascript src=jquery.corners.min.js/script
script type=text/javascript
div style=background-color:#acc; padding:10px class=rounded
{10px}
I am currently grabbing data from a mysql db and presenting it to the user in
a table. In certain cases, a volunteer button is displayed to the user. I
want the user to click on the volunteer button, and have an iframe dialog
pop up. When the user clicks on this volunteer button, the
Hi i am using jquery validator plugin to validate my form.
In my form, the field numero_commissione must contains a non-
negative number and this must not be in use. So i use a remote
validation in order to accomplish this.
The problem occurs when i want to modify an item. The edit page shows
the
Hi,
I've seen a Jquery plugin before that triggers an event which pulsates
or highlights a div of your choice. I've also seen the plugin
scroll the page to the correct div. Does anybody know what this
plugin is called? I'd really like to use it...
I've been searching the plugins directory
1 - 100 of 162 matches
Mail list logo