//This code is withing a larger function, but the error is coming into
play when the 'ppButton' is clicked
// It throws the following error in IE 7 (6 not yet tested):
//
// Error: 'data.items[...].background' is null or not an object
// Code: 0
//
var PP = $('.pomonaPeople');
, or in a format you didn't exepct, or
that the data.items[0].background didn't fit the provided format.
Michel Belleville
2009/11/17 roryreiff roryre...@gmail.com
//This code is withing a larger function, but the error is coming into
play when the 'ppButton' is clicked
// It throws
, or in a format you didn't exepct, or
that the data.items[0].background didn't fit the provided format.
Michel Belleville
2009/11/17 roryreiff roryre...@gmail.com
//This code is withing a larger function, but the error is coming into
play when the 'ppButton' is clicked
// It throws
Could it have something to do with the 'data' variable not being
available to the function that I have placed inside the $.getJSON
call? Is there a way to force it to pass on/be available to my
ppButton.click(...) function? This is all I can think of for now.
Belleville
2009/11/17 roryreiff roryre...@gmail.com
Could it have something to do with the 'data' variable not being
available to the function that I have placed inside the $.getJSON
call? Is there a way to force it to pass on/be available to my
ppButton.click(...) function? This is all I
( typeof aIndex );
alert( data );
alert( data.items );
alert( data.items.length );
alert( data.items[aIndex] );
alert( data.items[aIndex].background );
What do the alerts say?
-Mike
On Tue, Nov 17, 2009 at 10:26 AM, roryreiff roryre...@gmail.com wrote
I am using v1.3.2
I replaced var aIndex = $(this).attr('href'); with var aIndex =
+this.href.match( /\d+$/ )[0]; and it works now. Thanks for the help!
Thanks Scott...you have given me some food for thought.
On Nov 12, 9:18 am, Scott Sauyet scott.sau...@gmail.com wrote:
function getData(url) {
var storedData;
return function(callback) {
if (storedData) callback(storedData)
else $.getJSON(url,
Thanks Scott...you have given me some food for thought.
On Nov 12, 9:18 am, Scott Sauyet scott.sau...@gmail.com wrote:
function getData(url) {
var storedData;
return function(callback) {
if (storedData) callback(storedData)
else $.getJSON(url,
Hi,
I have created a function that binds behavior to a set of links, the
result of clicking being that the container div of the navigations
gets a new background image, and eventually gets html injected into
the div as well (currently that part is not coded)...
Given the following function, it
Hello,
I am in the process of creating a slideshow/gallery of 5 'panes', each
of which will have some interactive content with hover/click behaviour
and hidden/animated sections of content that can be accessed and
manipulated. Currently, the gallery is pulling in each 'pane' from a
json file. It
The problem ended up being my call to .getJson and something about how
jQuery was recogzing the url as being cross domain. I changed the call
to the file to be relative and it is working now. Thanks for the help.
On Sep 11, 4:57 pm, Scott Haneda talkli...@newgeo.com wrote:
Maybe your use of
Hello,
Below is a script I am working on for a slideshow for a set of 5 divs.
I am generating a random number to represent the index of the starting
div, i.e. the one that gets displayed in the middle. All of the other
4 divs get relative indexes so that they appear either to the left or
right
.
On Sep 14, 10:28 am, roryreiff roryre...@gmail.com wrote:
Hello,
Below is a script I am working on for a slideshow for a set of 5 divs.
I am generating a random number to represent the index of the starting
div, i.e. the one that gets displayed in the middle. All of the other
4 divs get
, roryreiff roryre...@gmail.com wrote:
I would also be interested in comments/suggestions about how this code
or even approach could be simplified/improved. It seems pretty
lightweight and simple to me, but I have very little idea about it's
performance and am curious if I am doing something
Hello,
I have the following code:
// pull in json feed and inject panes into page
$.getJSON(http://www.pomona.edu/dev/home/spotlight.json;,
function(data){
$.each(data.items, function(i,item){
$('div
Hi there,
For our sitemap, I am attempting to create functionality that when a
user hovers over a link, a description is shown in a tooltip, similar
to how a video and it's description show on hover at netflix.com. Our
sitemap has a sister json file, that has the description fields in it.
My
I would also like to add that it would be very easy to bake in the
description fields into the title tags...but for a sitemap of a very
large site, I am thinking this will bloat the html to be very obese
(We will easily have well over 5,000 pages). Any thoughts on this as
well?
that the visitors would use
very often, I would have it in the HTML.
On Jul 6, 10:25 am, roryreiff roryre...@gmail.com wrote:
I would also like to add that it would be very easy to bake in the
description fields into the title tags...but for a sitemap of a very
large site, I am thinking this will bloat
that the visitors would use
very often, I would have it in the HTML.
On Jul 6, 10:25 am, roryreiff roryre...@gmail.com wrote:
I would also like to add that it would be very easy to bake in the
description fields into the title tags...but for a sitemap of a very
large site, I am thinking this will bloat
ideas what the problem is I am
having? Thanks...
Code: http://www.pomona.edu/dev/spock/spock-feed-3.js
Code in action: http://www.pomona.edu/dev/spock/index-3.asp
-Rory
On Apr 27, 10:19 am, roryreiff roryre...@gmail.com wrote:
I have approached a solution, or at least am very close. I have run
I have approached a solution, or at least am very close. I have run
into a problem though...
In my initial binds to my forward and backward controls, I am binding
the functions backwardClick() and forwardClick(), as well as to each
an if statement that calls pause() if my variable 'gallery' is
Hello there,
I have created a simply navigable image gallery with a bit of json, as
well as .animate() and altering the margin of elements. Currently, I
am pulling in the 5 most recent images with a tag of 'spock' from
flickr. It seems to be working fine, except that when clicking through
very
Hi there,
I want to start developing a simple interactive image gallery for a
home page. My goal is for it to behave similar to SlideViewer (http://
www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html)
in it's functionality, except that instead of clicking on a
ml2009,
I seem to have it working within the confines of validating multiple
email addresses within the plugin's reg exp. I made the validation
check run only if the email length is greater than one...this takes
care of the case when a user has a comma after the last email address
(i.e., this
ml2009,
I seem to have it working within the confines of validating multiple
email addresses within the plugin's reg exp. I made the validation
check run only if the email length is greater than one...this takes
care of the case when a user has a comma after the last email address
(i.e., this
Does anyone know if this can be easily addressed? It is Safari 4 Mac,
to be precise.
Thanks,
On Mar 10, 8:52 am, roryreiff roryre...@gmail.com wrote:
Hi there,
In my implementation of the tooltip plugin, I have notice that in
Safari 4 the tooltip does not resize when the cursor moves
Does anyone know if this can be easily addressed? It is Safari 4 Mac,
to be precise.
Thanks,
On Mar 10, 8:52 am, roryreiff roryre...@gmail.com wrote:
Hi there,
In my implementation of the tooltip plugin, I have notice that in
Safari 4 the tooltip does not resize when the cursor moves
Thanks...this did the trick:
$('a[rel^=shadowbox]').each(
function(){
var linkRel = $(this).attr('rel');
var linkTitle = $(this).attr('title');
$(this).attr('rel', linkRel + title= + linkTitle);
});
On Mar 10, 1:46 pm, BB buchholz.bast...@googlemail.com
Hi there,
In my implementation of the tooltip plugin, I have notice that in
Safari 4 the tooltip does not resize when the cursor moves against the
window. That is, I have track set to true as default, so initially the
tooltip formats so that it does not overflow over the side of the
window, but
Hi there,
I am using the tooltip plugin successfully, though I have run into a
problem in that I have another plugin, Shadowbox, that needs to access
the title attributes that tooltip if blasting away. Is there any way
to make the tooltip variable 'tooltipText' global such that I can call
it
am, roryreiff roryre...@gmail.com wrote:
So far, I have adapted this:
[...]
into this:
email: function(value, element) {
var emails = value.split(,);
for(var emailAddress in emails
Yeah, I actually have that fixed in the posted link, but thanks for
pointing that out. So, something else is at error now.
On Feb 17, 9:04 am, Stephan Veigl stephan.ve...@gmail.com wrote:
Hi
is this just a copy paste error, or a real syntax error? You have to
quote the comma in your split
So far, I have adapted this:
email: function(value, element) {
return this.optional(element) ||
/^((([a-z]|\d|[!#\$%'\*\+\-\/=\?
\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\
$%'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)
Allow me to show you what I have so far. It seems to validate base on
the first email, but none of the successive ones, in regards to the to
field: http://www.pomona.edu/asp/mailthis-redux.asp
On Feb 16, 4:53 pm, roryreiff roryre...@gmail.com wrote:
So far, I have adapted this:
email
Hi there,
I am using the Validation plugin to validate a form that emails the
current pages URL to the recipients entered in to the email to
field. I want to validate that field for multiple emails addressed
separated by commas...and ideas on how to do this? I'm a bit new to
jQuery so I am a
Hi there,
I was wondering how I might approach altering the jQuery Validate
plugin to allow for an input with multiple email addresses, separated
by commas, that validates each email address as being correct. I'm
still a bit new to jQuery/javascript, so I'm curious as to how exactly
I might
37 matches
Mail list logo