CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   Changing specified content on one page (http://www.codingforums.com/showthread.php?t=286111)

HQWebs 01-19-2013 10:50 PM

Changing specified content on one page
 
Hello

First of all i should tell you > My english is bad , but i hope you will understand me.

I am new in PHP coding language , that becouse i am here to ask you for support. Well , what do i need ?
Example : I have one page named " news.html " and in this page will be placed 10 news , but on this page will be little " page menu " something like this :

<< 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 >>

but when some1 read this 10 news , he will choose another page like page " 2 " from this little menu , but when some1 click on this page " 2 " it should not change the whole page like news.html to news2.html , it should stay the same page , but only this specified content should change and show another text(news) .

Do anyone have some time to help me around this ?
I will be thankful

sunfighter 01-20-2013 12:08 PM

Nothing to do with the PHP coding language. It is AJAX, part of the javascript language.
Things also depend on how the news articles are placed on your html page. Are the in <div>s or <frame> tags.

Good page for resources to learn ajax: http://sixrevisions.com/ajax/20-exce...learning-ajax/

Start with Mozilla Developer Center (AJAX) or look here http://www.w3schools.com/ajax/default.ASP


All times are GMT +1. The time now is 02:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.