JavaScript and client side scripting.
Moderator: General Moderators
aquilai
Forum Newbie
Posts: 3 Joined: Tue Oct 09, 2007 11:22 am
Post
by aquilai » Tue Oct 09, 2007 11:29 am
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Oct 09, 2007 12:00 pm
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 » Tue Oct 09, 2007 12:03 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Oct 09, 2007 12:19 pm
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 » Tue Oct 09, 2007 12:40 pm
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 » Tue Oct 09, 2007 1:07 pm
Of course it is possible with php, you just have need to reload the page everytime you select a category.
phice
Moderator
Posts: 1416 Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:
Post
by phice » Tue Oct 09, 2007 6:33 pm
You probably shouldn't have agreed to a job that you have no idea how to do