Is it feasible to use ifarme for website background on a single page?

Source: Internet
Author: User
Is it feasible to use ifarme for website background on a single page? Background iframe

Specifically
There is a set of background templates that do not want to be changed to nested iframe, but the problem is that the function address will change constantly, and every operation needs to refresh the entire page

In what ways can users experience better?


Reply to discussion (solution)

Ajax can satisfy you.

Ajax can satisfy you.

How to write it? I have never written it ....

$. Post ('URL', {data}, function (msg ){
// Process data
});
Open the jquery manual. Search for post.

What is the returned page?

Previously, only ajax was used to return a small amount of data.

What is the returned page?

Previously, only ajax was used to return a small amount of data.
Change it to the majority, and perform ajax for the entire body.

It's actually very easy!
Use jq to set the link.

$(function() {  $('a').click(function(){    $('#test').load(this.href)    return false;  });});
The test id is the position occupied by the original framework page (change to p of course)

It's actually very easy!
Use jq to set the link.

$(function() {  $('a').click(function(){    $('#test').load(this.href)    return false;  });});
The test id is the position occupied by the original framework page (change to p of course)
Discuz phpwind does not need iframe now

It's actually very easy!
Use jq to set the link.

$(function() {  $('a').click(function(){    $('#test').load(this.href)    return false;  });});
The test id is the position occupied by the original framework page (change to p of course)

Is p directly replaced with the content of this. href link? So how do I write the link content based on the original iframe content?

Yes, or based on the original content

Yes, or based on the original content

Well, let me try.

In this case, the address bar of the page will not change.

That is ajax, and will not affect the address bar.

That is ajax, and will not affect the address bar.

En, I will try again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.