I understand that the first argument passed to resolveWith defines the 'this' for the done callback, I just can't figure out how to access the second argument from the call back.
Here's two screenshots to illustrate my problem. I have a mini scroll bar in the content section of my app, and the footer and header don't move. Yet when they are dragged on the iphone, they show this white space, that I can't seem to get rid of by decreasing the page's height or anything.
I have a slider in the footer of every page, and I'm trying to make them all act as one, so if one changes on a page, they all change, but so far I can only get the slider on the menu page working, even though all the sliders are identical.
Basically when the slider is hit on the menu page, it changes the value of all the other sliders and works correctly, but when the sliders on other pages are hit, the change events don't register
click on black book interview - which works because it's shorter I guess
Then click on either creative living or why we like david. It's like it's too much text show it cuts the header off and places the footer according to screen size. any idea?
Here's the code for the black book page, which is identical to the other pages, except the others have like 3 times the text
<div data-role="content"><h2>Black Book Interview</h2>
Thank you for your time David. Please tell us, how did you get into the industry?<BR><BR><font color="#5C4A64">I hated my previous job and one day I said that I would not allow anybody to boss me around, so I quit my job in the garment industry. Then in early spring of 1980, Paul Margolies, one of my best friends growing up, asked me if I would consider representing his career as a location photographer. Paul believed strongly that I would do well as a photographer's representative. I told him "All I needed was a desk, an office, a phone, guidance, and a $200/week guarantee, and I would start on May 1st."</font><BR><BR>How was it trying to break into becoming an artist's representative?<BR><BR><font color="#5C4A64">My journey between '75-'80
Having issues with the video plugin for jQuery. This works great for Chrome but not Safari or Firefox. In Firefox it just shows up as a grey box with a light grey 'X' in the middle, and in Safari as nothing. I'm guessing it's something about the MIME but I have no idea what to do about that.
at the end of the animation, I'm trying to run a function that relates to 'i', but every time it represents the last possible number instead of a range
for (var i = 0; i < bubbleArray.length; i++) {
var _this = bubbleArray[i]
var mLeft = parseInt($(_this.div).css('margin-left').split('px')[0]);
I've got an object that when clicked triggers an animation that expands the div based on variables defined right before the animation. The first animation works fine without problems.
I've got two problems, first after the animation is complete, It can no longer find css properties (Ex. line 22) which are required to to trigger to second animation to return to normal, second, the second animation won't do anything at all
I have a for loop which has a length of 8. It's meant to run through an array of objects and bind a click function to all of them. So the alert should run a range 0-7 but instead it returns 8 no matter which object is being clicked.
for (var j = 0; j < bubbleArray.length; j++) {
$('#icon' + j).bind('click',function() {
var icon = this.id;
this.diam = $(this).width();
var iconID = setInterval(function() {iconExpand(icon)},0);