Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: little Javascript issue

date posted 9th October 2007 09:04

Why are you using JSON if you are not totally confident with javascript?

Send you data as XML and use XSLT to build your HTML - it makes far more
sense because it will generally be less work for you.

"I tried to sort the JSON with the php using ASORT" - I don't understand
that phrase. Javascript is client-side and php is server-side. Can someone
explain to me why one would want to "sort the JSON with the php"?

Mark Pawelek


-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of cedric
Sent: 08 October 2007 14:30
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: little Javascript issue


Hi again,

Thank you guys for your replies, the php file builds some JSON which the
JS script uses to build the gallery:
http://missoma.com/inc/pyxy3.js

I understand how it works and where I need to apply new code to order
the items however I don't have the necessary JS knowledge to write it.
I don't think its a massive job as it looks like I need to get the JS to
systematically run through the JSON, create a page then output rather
than allowing it to create the items and pages on the fly.

I've mostly worked with php although I am trying to teach myself the
javascript in between projects so any hekp would be great.

btw, I tried to sort the JSON with the php using ASORT but it doesn't
make any difference.

date posted 6th October 2007 12 :21

cedric wrote:
> Hi everyone,
>
> I have a little issue with a script, maybe you could help. The URL is
> as follows: http://missoma.com/fashion/aw07/
>
>
> It looks nearly as I want it except the pictures are not in order (The
> order needs to be by file name). Page one seems fine but page two
> starts causing problem... Anyone ?
>
> Cheers!

Cedric,

From what I can see this is a third party javascript gallery that uses ajax
to get a list of images from (presumably) a server-side script. I may be
wrong but from what I can see it is not really a simple "what is wrong with
my javascript" question it is a major debugging exercise you are asking for?

Regards,

Dai

--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
October 31st 2007
October 30th 2007
October 29th 2007
October 28th 2007
October 27th 2007
October 26th 2007
October 25th 2007
October 24th 2007
October 23rd 2007
October 22nd 2007
October 21st 2007
October 20th 2007
October 19th 2007
October 18th 2007
October 17th 2007
October 16th 2007
October 15th 2007
October 14th 2007
October 13th 2007
October 12th 2007
October 11th 2007
October 10th 2007
October 9th 2007
October 8th 2007
October 7th 2007
October 6th 2007
October 5th 2007
October 4th 2007
October 3rd 2007
October 2nd 2007
October 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000