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 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Annoying total page refresh

    In past versions of HTML I used frames. This gave me the ability to loan item was without having to refresh the entire page.

    With HTML 5. I would like to use frames only because when I load something I don't want to refresh the entire page.

    Am I going in the right direction by using frames to avoid a total page refresh. Is there something else or a different method, besides frames, I could use to accomplish this. I heard something like I-frame, but don't know exactly what it will accomplish. I am listing to sites. The first one is not HTML 5 and it uses frames, so I get the feel I'm looking for. The second one is HTML 5 and it has the annoying practice of a total refresh.

    www.home2000.com
    www.home2000.com/h2

    Bob

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Posts
    424
    Thanks
    22
    Thanked 56 Times in 56 Posts
    To be honest, i would not iFrame in all your content just so the whole page doesnt refresh.
    Thats pretty much how all websites work.
    The only thing i would "possibly" do would be dynamically loading in the page content like this example

    http://css-tricks.com/dynamic-page-replacing-content/

    and also here is a site i found the explains a little about why not to iframe content in.

    http://blondish.net/iframes-why-not-to-use-them/

    Hope this helps.

  • #3
    New Coder
    Join Date
    Apr 2012
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I agree that most websites have that refresh issue.

    I have a definite reason why I want to avoid a complete refresh. Most of my clients are fairly new or have limited inexperience with the website. it's possible that some people will see a total refresh as if they were going to a different website, being hijacked, and be very uncomfortable. sometimes it is nothing more than someone planting a seed to make people nervous. I know this seems a bit over the top, but I have had problems with this.

    I see your concern for I-frame and from what I have read since your comment I plan on shying away.

    But the fear most programmers have regarding frames is something I don't understand. Is it that some browsers do not support them. The only browsers. I'm concerned with are the ones within the last one or two years. and mostly chrome and Internet Explore. Most of my clients stay within the basics.
    www.home2000.com Frames
    www.home2000.com/h2 needs to be updated to frames (possibly)

    Bob


  •  

    Posting Permissions

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