jlspurling's Profile
Reputation: 3
Neutral
- Group:
- Members
- Active Posts:
- 232 (0.19 per day)
- Joined:
- 09-January 09
- Profile Views:
- 8,196
- Last Active:
May 01 2012 01:58 PM- Currently:
- Offline
My Information
- Member Title:
- Dedicated Member
- Age:
- 24 years old
- Birthday:
- February 3, 1988
- Gender:
-
Not Telling
Contact Information
- E-mail:
- Private
- Website URL:
-
http://jolora.co.uk
Users Experience
- Experience:
- Advanced
- Area of Expertise:
- Designer/Coder
Topics I've Started
-
Strange bug in iOS
01 May 2012 - 07:58 AM
Hi everyone,
I am experiencing a very frustrating bug on the following page with iOS: http://makethemostof.co.uk/test.html
There is a tab in the top right that says "Shopping Bag (empty)" that disappears on iOS. I have attempted to diagnose the issue with Firebug for iPad but can't seem to find the cause. I suspect it has something to do with the fact the element is position:fixed but I'm really not certain.
Does anybody know why iOS would behave this way when webkit on mac (and windows as far as I have seen) works just fine? What am I missing?
By the way there is also some jQuery acting on that area of the page (around line 100) which could also hold the cause of the problem.
Thanks in advance for any help! -
Javascript for loop
26 June 2011 - 10:23 PM
Hi everybody.
I'm being forced to work with javascript at the moment which is not by any stretch of the imagination my main strength. Currently I have a function that is pulling up accounts (pages, apps etc) from facebook profiles using the graph api. My question is a basic syntax related one which I am sure is simple enough but for some reason I can't get my head around it.
Here is my code right now:
function pages() { FB.api('/me/accounts', 'get', {}, function(response) { if(response.data) { for(var i=0,page; page=response.data[i]; i++) { if(page.name) { $('.fb_pages').wrapInner(function() { return '<option value="' + page.id + ' - ' + page.access_token + '">' + page.name + '"></option>'; }); } } } }); };
What the above does is output something like this:
<select class="fb_pages"> <option value="foo">Foo<option value="bar">Bar<option value="argh!">ARGH!</option></option></option> </select>
What I would like is the following:
<select class="fb_pages"> <option value="foo">Foo</option> <option value="bar">Bar</option> <option value="wahey">Wahey!</option> </select>
Thanks in advance for any help!
Also please excuse the messy inclusion of jquery in the middle... it seemed to be the best way to target a class as I already had jquery loaded.
Help




Find My Content
Display name history