Is they any way that I can use some sort of code like iframe to view a specific part of a website?
Like when I use iFrame it always loads of course the top left of the page if the iframe is a small box.
What I'm trying to do it fetch a part of the website that so far down the screen and in the middle.
Now the website isn't mine so I don't have access to change anything like that or it would be simple.
Any ideas?
View specific part of website, iFrame?
Page 1 of 13 Replies - 654 Views - Last Post: 23 September 2012 - 05:01 PM
Replies To: View specific part of website, iFrame?
#2
Re: View specific part of website, iFrame?
Posted 23 September 2012 - 10:36 AM
You can't do this simply with <iframe> but you could use javascript to do this using jQuery's load() function. This function allows you to load another page into a container (like a div) and specify which node of the page you want to pluck out.
Check out the section titled "Loading page fragments".
Hope this helps.
Check out the section titled "Loading page fragments".
Hope this helps.
#3
Re: View specific part of website, iFrame?
Posted 23 September 2012 - 04:18 PM
Confused me a little haha?
If I was going to let's say this website, How could I do that? What code?
If I was going to let's say this website, How could I do that? What code?
#4
Re: View specific part of website, iFrame?
Posted 23 September 2012 - 05:01 PM
Wait..
If I use..
How could I view a specific part of that page?
If I use..
<?php echo file_get_contents('EXAMPLE.php');?>
How could I view a specific part of that page?
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|