Jump to content

Archived

This topic is now archived and is closed to further replies.

Perad

How do i do the following?

Recommended Posts

I want to create a single script which has the following(see below). I am looking for a tutorial but don't have a clue what to search for.. I know how to make each of the pages individually but i don't have a clue how to combine the functions into 1 page.

Could someone point me to a tutorial or quickly explain how to link a bunch of functions so the user stays on the same page when they go to different articles.

Category View
Category 1
Category 2
Category 3

Expanded Category View
Category 1
-Article 1
-Article 2
Category 2
-Article 3
-Article 4
-Article 5

Article View
Title
Content

Thanks for any help given

Perad

Share this post


Link to post
Share on other sites
You'll want to use javascript rather than PHP. PHP can only be used on a page request and not on a users action, without the page having to reload/refresh.

Share this post


Link to post
Share on other sites
Do you know what i would need to google to find a tutorial or example of this?

Share this post


Link to post
Share on other sites
check out [url=http://www.w3schools.com]http://www.w3schools.com[/url]. they've got easy-to-understand tutorials on almost every web design language.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.