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!

Reply
iframe - can i make a frame work like a browser?
Old 08-11-2009, 02:48 AM iframe - can i make a frame work like a browser?
rober7's Avatar
Skilled Talker

Posts: 96
Name: robert haba
Trades: 0
can i make the websites opened in frames comporte like it is in a browser?
__________________

Please login or register to view this content. Registration is FREE
- open blog | working on it ...
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
 
Register now for full access!
Old 08-11-2009, 02:51 AM Re: iframe - can i make a frame work like a browser?
freeloader's Avatar
Experienced Talker

Posts: 35
Trades: 0
With JavaScript, yes, to some extent. You can set iframe.src= to what the user enters in the input field. Maybe you can also do parent.history.go(-1) and similar. What exactly did you have in mind?
__________________
"It is a profitable thing, if one is wise, to seem foolish." --Aeschylus

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
freeloader is offline
Reply With Quote
View Public Profile
 
Old 08-11-2009, 04:47 AM Re: iframe - can i make a frame work like a browser?
rober7's Avatar
Skilled Talker

Posts: 96
Name: robert haba
Trades: 0
to put website like twitter and digg on frames.
digg work but on twitter when i want to login doesn`t work
__________________

Please login or register to view this content. Registration is FREE
- open blog | working on it ...
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Old 08-11-2009, 07:25 PM Re: iframe - can i make a frame work like a browser?
cim
cim's Avatar
Novice Talker

Posts: 3
Name: Manacim Medriano
Location: Stockton, CA
Trades: 0
I haven't tried this but in the <iframe> tag, you need give it a name. Once you set the name, in your <a> tags, you can set the target="whatever the name of the iframe".

Hope that makes sense for you.
cim is offline
Reply With Quote
View Public Profile
 
Old 08-11-2009, 08:43 PM Re: iframe - can i make a frame work like a browser?
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
you can also try making a frame based page, or when you get more advanced use a combination of ajax, php, to create what you need.
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
Old 08-12-2009, 02:26 AM Re: iframe - can i make a frame work like a browser?
rober7's Avatar
Skilled Talker

Posts: 96
Name: robert haba
Trades: 0
can you show me how can i make the combination pf ajax and php? some tips please
__________________

Please login or register to view this content. Registration is FREE
- open blog | working on it ...
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Old 08-12-2009, 05:52 AM Re: iframe - can i make a frame work like a browser?
rober7's Avatar
Skilled Talker

Posts: 96
Name: robert haba
Trades: 0
can i put a frame with a website in lightbox 2.04 ? ... anyone know?
__________________

Please login or register to view this content. Registration is FREE
- open blog | working on it ...
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Old 08-12-2009, 07:15 AM Re: iframe - can i make a frame work like a browser?
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Be sdvised that some sites have what is called an "frame buster", which will get ride of the iframe, by redirecting the browser directly to their site if they detect 1 frame in the browser window.
Yes, an iframe count as a frame.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 08-12-2009, 08:22 AM Re: iframe - can i make a frame work like a browser?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by tripy View Post
Be sdvised that some sites have what is called an "frame buster", which will get ride of the iframe, by redirecting the browser directly to their site if they detect 1 frame in the browser window.
I was going to say the same thing, until I scrolled down and saw that you said this.

Never assume that you'll have control over your frame when you're using it to port another website.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-13-2009, 12:15 AM Re: iframe - can i make a frame work like a browser?
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
that's why I wouldn't use a simple frame based page, but use some scripting with it. I wouldn't know exactly how to do it just since I don't have enough knowledge of javascript. I almost naver use it and when I do I try to find simething that will help me with google. If you're going to be building a web site using it and maintaining it, I would never steal a complete script. It'll make it too hard on yourself when you'll have to change something. Try these out

Ajax Tutorial:
http://www.w3schools.com/Ajax/default.asp

Php Tutorial:
http://www.w3schools.com/php/default.asp

You might want to learn these too before you even start PHP and AJAX

XML Tutorial:
http://www.w3schools.com/xml/default.asp

JavaScript Tutorial:
http://www.w3schools.com/js/default.asp
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
Old 08-14-2009, 12:02 AM Re: iframe - can i make a frame work like a browser?
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
Try this...i am not sure if this is what your looking to do...


HTML Code:
<a href="http://www.twitter.com" target="frame"><b>See Twitter</b></a> || <a href="http://www.digg.com" target="frame"><b>See Digg</b></a><br><br>
<iframe name="frame" src ="http://www.yahoo.com" width="820" height="300" border="0">
  <p>Your browser does not support iframes.</p>
</iframe>
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 08-14-2009, 08:45 AM Re: iframe - can i make a frame work like a browser?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
JavaScript is not able to read anything from, or manipulate anything contained within, a frame which has an external site as its source.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to iframe - can i make a frame work like a browser?
 

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.80176 seconds with 12 queries