Web Design and Web Development Forum

  1. #1
    vento's Avatar
    Join Date
    May 2009
    Location
    Lithuania
    Age
    18
    Posts
    185
    Rep Power
    3
  2. vento is on a distinguished road
  3. GMAIL-like page loading

    Hello. I'm writing a website and tried to load everything using AJAX. But it sucks. I mean. it's a nice way to save traffic, but I can't use back button and open in a new tab. I think that back button problem can be fixed, but I have no idea about the open in a new tab. I mean when the user clicks on URL, there is no "open in a new tab". In GMAIL you can do so and I believe they use some JS to load the page because only some parts of the mail update, not the whole page. How could I fix it? Or any other comment on this would be nice.

    How to set up portable C++ IDE (Dev-C++)

    Writing in C or C++ is like running a chain saw with all the safety guards removed," — Bob Gray.
    Reply With Quote Reply With Quote
  4. #2
    Join Date
    Oct 2004
    Age
    20
    Posts
    1,967
    Rep Power
    9
  5. Reaper is on a distinguished road
  6. Re: GMAIL-like page loading

    Perhaps try to right click and view the source? Google is a huge organization with the top programmers so it shouldn't come as a surprise that they some how manage to make such a seamless website with flawed languages.
    Reply With Quote Reply With Quote
  7. #3
    vento's Avatar
    Join Date
    May 2009
    Location
    Lithuania
    Age
    18
    Posts
    185
    Rep Power
    3
  8. vento is on a distinguished road
  9. Re: GMAIL-like page loading

    That's the problem. I can't manage to find the JavaScript that would take care of it. Now I thought, maybe they simply resend the code, without generating it and as the code is just a few kilobytes, the web browser loads it extremely fast and then, the JavaScript inside loads the content, because I've found Script that holds all my emails. And as I imagine, if the script takes over the browser functions (to load the page) and load just some of it. In additional it has target="_top" which says to load the page using the whole document size. I think it's made to go out of frames. Doesn't it make a feeling like they do load everything like a normal website? Well, the only confusing thing about it is the speed of loading. As I press, nothing but a few divs changes.

    P.S. I think I understand why do they do all the confusing things. It may be useful in my case. Close the thread.

    How to set up portable C++ IDE (Dev-C++)

    Writing in C or C++ is like running a chain saw with all the safety guards removed," — Bob Gray.
    Reply With Quote Reply With Quote
  10. #4
    Join Date
    Feb 2011
    Location
    (1993->2010): HCMC, Vietnam; (2010->Unknown): Pensacola, FL
    Age
    19
    Posts
    4
    Rep Power
    0
  11. xx3004 is on a distinguished road
  12. Re: GMAIL-like page loading

    Ok, answer me this question and I will solve it for you (my knowledge only):
    Do you want it to load in the new tab in your site (tab view interface for your website) or do you want it to load in the new tab of your browser?
    Reply With Quote Reply With Quote
  13. #5
    Join Date
    Sep 2011
    Posts
    7
    Rep Power
    0
  14. webdesigner12345 is on a distinguished road
  15. Re: GMAIL-like page loading

    We offer several web development packages that could fit all types of businesses.
    Reply With Quote Reply With Quote

Similar Threads

  1. Loading a page every x minutes.
    By Aaron in forum General Web Programming
    Replies: 5
    Last Post: 06-02-2007, 10:52 AM
  2. My newer website. Need some help.
    By NaRzY in forum HTML/CSS Coding
    Replies: 4
    Last Post: 03-26-2007, 03:49 AM
  3. installing red hat
    By rich_m in forum Unix/Linux/BSD
    Replies: 12
    Last Post: 01-29-2006, 10:25 AM
  4. Writing Your First Page
    By wizard in forum HTML & CSS Articles
    Replies: 2
    Last Post: 01-06-2005, 02:34 AM
  5. READ: Gmail Forum
    By Shane in forum Chit Chat and Hangout
    Replies: 0
    Last Post: 09-09-2004, 01:55 AM