Recreating apple widget browser

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
aquilai
Forum Newbie
Posts: 3
Joined: Tue Oct 09, 2007 11:22 am

Recreating apple widget browser

Post by aquilai »

Hi, i'm a bit of a newbie at this and a friend of mine has asked me to recreate the apple widget browser found at:

http://www.apple.com/downloads/dashboard/

(you have to scroll down a bit)

using php (and of course his own information), the only way I can think of doing this is to use 'include' but this would result in the page being reloaded every time the user clicked a new catagory, which although not a massive problem lacks the style of the one on the apple website, anyone got any ideas??

cheers
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

This is a Javascript-related question... moving :)

Take a look at http://script.aculo.us/ and moo.fx
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I believe you are referring to Ajax handling inline replacement and such, or at minimum Javascript switching visibility and such.

The only thing I recommend is making sure it works in some fashion without Javascript enabled. This is a legal/accessibility issue more than anything.
aquilai
Forum Newbie
Posts: 3
Joined: Tue Oct 09, 2007 11:22 am

Post by aquilai »

So there's no way to do this sort of thing with php, I know the apple one is done with Javascript I just wondered if it was possible with php?

cheers
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

aquilai wrote:So there's no way to do this sort of thing with php, I know the apple one is done with Javascript I just wondered if it was possible with php?
PHP has no influence on that end as it's handled by the browser.
aquilai
Forum Newbie
Posts: 3
Joined: Tue Oct 09, 2007 11:22 am

Post by aquilai »

Right, nice one thanks guess i'd better pick up the javascript textbook!!

Cheers
SwizzCodes
Forum Newbie
Posts: 20
Joined: Tue Dec 19, 2006 3:23 pm

Post by SwizzCodes »

Of course it is possible with php, you just have need to reload the page everytime you select a category.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

You probably shouldn't have agreed to a job that you have no idea how to do ;)
Post Reply