Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
question about iframe
Old 10-01-2010, 07:43 PM question about iframe
Ultra Talker

Posts: 254
Trades: 0
using iframe from one particular page the entire content of the url provided in the iframe src attribute will be displayed by default from the top left

my question is, is it possible to show a specific content area in the url provided of the iframe so that content at a specific location will only be shown instead of the top left by default

for example is there is a specific element in the target page that is being shown using an iframe tag, ex=<div id="content"></div>

in the iframe tag can this be used or is there any other way

HTML Code:
<iframe src="page.html#content" width="900" height="300" scrolling="no" frameborder="0"></iframe>
please advice

thanks

Last edited by chrishirst; 10-02-2010 at 05:00 AM..
sudhakararaog is offline
View Public Profile
 
 
Register now for full access!
Old 10-02-2010, 07:21 AM Re: question about iframe
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
If your code works, you have your answer, if not then there isn't.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 10-02-2010, 01:22 PM Re: question about iframe
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
There's no way to do this with an IFRAME by default, but you could position it within a parent contain which is smaller than it, and move it up and to the left to wherever you like. The parent needs hidden overflow for this to work. I do this with Google Map iframes sometimes, when I need the info-bubble to show up more towards the center of the box.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
View Public Profile Visit wayfarer07's homepage!
 
Old 10-02-2010, 08:41 PM Re: question about iframe
Ultra Talker

Posts: 254
Trades: 0
thanks
sudhakararaog is offline
View Public Profile
 
Closed Thread     « Reply to question about iframe
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.79242 seconds with 12 queries