Jump to content
Sign in to follow this  
Edward_75

Help with iframe

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

Share this post


Link to post
Share on other sites

Your JSFiddle works fine for me.

 

I think you should explain in more detail.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


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...
Sign in to follow this  

×
×
  • Create New...