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 8 of 8
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mixing php and javascript for a "refreshless" window

    not really sure if this should go in javascript or php so i did a inni mini minee moo (spelling?) Im just wondering if its practical to use a series of hidden iframes and onclicks to make a php page "streamless" or "refeshless" aka, it doesnt "reload" or appead to be, you dont get the white refresh

  • #2
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    yes,google for 'ajax'.

  • #3
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by GJay
    yes,google for 'ajax'.
    guessing its a easier way of what i planned on doing, ive heard of ajax, but never really studied it. Thanks.

  • #4
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    AJAX is javascript (or a detergent).
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #5
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by marek_mar
    AJAX is javascript (or a detergent).
    yeah, from what ive been reading..its going to be hard to convert my site

    Any recommended links that are tuts? found a couple...but there not the basic things to start with
    THanks

  • #6
    Regular Coder
    Join Date
    Oct 2005
    Location
    Newberg, Oregon
    Posts
    252
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Somewhat recently I had to do the same thing for a site I made awhile back. It's at StephenCastillo.com. I had to make all the navigation in AJAX in order to include a Flash music player that wouldn't refresh everytime you went to a new page. Check out the source code there and you might figure it out.

  • #7
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The AJAX tutorials never really made any sense to me until I read this one

    http://rajshekhar.net/blog/archives/...-Tutorial.html

    Its not that difficult once you get it and it really is the way to go. I split up the response from the server just like in this example, so there isn't any xml involved.

  • #8
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    Adding AJAX functionality after a site is built has a lot of things to be said for it, as it will mean that the core functionality won't rely on javascript.

    Obviously, if you're able to do both 'standard' and ajax'd developement at the same time, you'll probably end up with a more cohesive and sound application, but many people seem to rely on XMLHttpRequest instead of traditional methods, which in the majority of cases just isn't (currently...) acceptable.


  •  

    Posting Permissions

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