Jump to content

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 post
Share on other sites
  • 2 weeks later...
  • 4 weeks later...

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...