Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    21
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Post 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

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,691
    Thanks
    25
    Thanked 657 Times in 656 Posts
    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

  • Users who have thanked sunfighter for this post:

    HQWebs (01-21-2013)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •