Jump to content

Help with iframe


Edward_75

Recommended Posts

I am trying to get some help with iframe. I want to be able to open ad links within the same iframe. The clicking on a link generally works for me when I pull up craigslist webpage, but wants a new window to be opened when you click on a individual's ad post. Now I realize Craigslist has a policy for not wanting their pages to be redisplayed and maybe they have something in the webpage code that is doing this to me, but if I could get help anyways.

 

Here is my code

 

<body>

<iframe height=400px width=500px src="http://flint.craigslist.org"></frame

</body>

Viewable and clickable links with iframe at http://jsfiddle.net/Edward_75/yqM7c/1/

but going to say this

 

<iframe height=400px width=500px src="http://flint.craigslist.org/sss"></frame>

Viewable and clickable at http://jsfiddle.net/Edward_75/heb74/3/

 

It will come with an error page asking you to open in new window.

 

Also this being my first time here can someone explain why I cannot copy/paste? I am using IE ver.11

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Iframe application element

<html><title>Iframe Application Element</title><body><iframe application="yes" src="happy.gif" style="width:50%;"></iframe><iframe application="no" src="happy.gif"  style="width: 50%;"></iframe></body></html>
Edited by Ingolme
Advertising
Link to comment
Share on other sites

Iframe style

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>    <meta http-equiv="content-type" content="text/html; charset=utf-8" />    <title>Iframe Style</title><style type="text/css" title="text/css">#iframewrapper {    width: 400px;    border: solid 8px pink;}#bordered {    width: 400px;    height: 400px;}iframe {    width: 400px;    height: 400px;}</style></head><body>    <div id="iframewrapper">        <iframe src="http://www.example.com" scrolling="auto" name="news" frameborder="0" id="news">    Your browser doesn't support iframes. Please                          <a href="http://www.example.com">click here</a>        </iframe>    </div></body></html>
Edited by Ingolme
Advertising
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...