HTML - Using <object> Instead Of Iframe, Link Targets
Hello,
I was told it's better to use <object> to nest an html file inside another html file, rather than using iframes. My question is, how do I via a link target the <object> to make it switch html files? Similar TutorialsI've got a photo gallery set up for my site, each gallery pops up in a new window. Within each gallery there are various thumbnails. Is there anyway I can link the thumbnails to open in a specified area of the window? (while still showing the other thumbnails) This is what I do have: <img src="images/Thumb/dress/dress3.jpg"> <img src="images/Thumb/dress/dress4.jpg"> <img src="images/Thumb/dress/dress5.jpg"> <img src="images/Thumb/dress/dress6.jpg"> --I haven't added the link html yet because I'm not sure if it will be different from the norm..please help I have a page containing 3 frames as follows; Code: <frameset rows="130,*" border="0"> <frame src="project01_head.htm" name="header" scrolling="no"c/> <frameset cols="150,*"> <frame src="project01_links.htm" name="links" frameborder="0"/> <frame src="project01_home.htm" name="content" frameborder="0"/> </frameset> </frameset> When the user clicks any link except the "home" link in the "links" frame, I want the page selected to be displayed in such a way that it takes up the "links" AND "content" frames. How do I do this? I can make the target frame "content" easily enough, I do this for the "home" page only. How do I make the target frame for a link page the "links+content" frame? I want the "links" frame to disappear when all links (except home) are selected and reappear only when the user returns home. Currently, I have a link that pops up. My issue is that within that popup, I have a link that I want to: - target the parent window - close on click I can get the link to either target the parent window or close on click, but I can't get it to do both. Help? Hello, I am wondering if something is possible.. and if it is, how I would go about accomplishing the desired result.. This is a sample page to illustrate the problem http://comp.uark.edu/~bcagnin/test/index.html Is there a way to resize the object from a link that is within the website being displayed in that very same object?? Also, I am willing to use iframe if there is a solution that can be found with that... Thanks!! Tyrick What I want to do is have an iframe or something that contains only a portion of an external website. Specificically, I want to only include the search results of an ebay search URL. I can use an iframe, object, or server-side include to include the whole page in my page; however, I can't figure out how to access the dom on those objects so as to locate only the search-results div. It must be doable, since I can see that dom via firebug, but I can't seem to access it programmatically myself. Any suggestions? Hi, I'm newly registered and seeking some assistance. I'm working on a website for a client and come across an issue. The following is my iFrame code: Code: <div id="iframez"> <iframe src="main.html" width="100%" height="400px" name="framez"></iframe> </div> I have a link that is at the bottom of the page that is supposed to load in the iFrame when clicked upon. The code is as follows: Code: <a href="somelink.html" target="framez">some link</a> What I want is when the link is clicked that it loads in the iframe (this works as intended) AND I want the page to scroll up to the iframe. I tried doing this without success: Code: <a href="somelink.html#iframez" target="framez">some link</a> This is interpreted as #iframez in somelink.html, and not the page its on. Is there any way around this? Thanks for your patience. hi all, i included "http://www.mapsofindia.com/pincode/index.html" page in my web page & now want to focus on search zip code table but don't know how to focus on that table.can any 1 help. I am waiting. Thanks to Coothead I got '<object...' and 'title...' working -http://www.htmlforums.com/html-xhtml...tml#post661659 but now there is a new problem. Have a look at http://www.telfordsteamrailway.co.uk...ture/index.php On the right is a scrolling banner. In IE6 and 7, Opera and Safari this works as a link to open a different website in a new window. In FF3 it doesn't link Anyone any ideas? The code I used is Code: <div class="esScroller120x60"> <div class="inner" title="The scrolling banner shows just a few of the shops that will make a donation to TSR. Click here to go to the fundraising shopping site which opens in a new window or visit the link below to find out more."> <object type="application/x-shockwave-flash" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" data="http://www.easyfundraising.org.uk/images/user-banners/ef-flash/120_60_us.swf?target=_blank=try&clickThrough=http%3A%2F%2Fwww.easyfundraising.org.uk%2Ftelfordsteamrailway%2F" width="120" height="60" id="a120_60_us" > <param name="allowScriptAccess" value="always" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="http://www.easyfundraising.org.uk/images/user-banners/ef-flash/120_60_us.swf?target=_blank=try&clickThrough=http%3A%2F%2Fwww.easyfundraising.org.uk%2Ftelfordsteamrailway%2F" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent" /> <a tabindex="591" href="http://www.easyfundraising.org.uk/telfordsteamrailway/" title="Click to Raise Funds for TSR whilst you shop on-line."> <img src="images/efund120.gif" width="120" height="48" alt="Click to Raise Funds for TSR whilst you shop on-line." title="Click to Raise Funds for TSR whilst you shop on-line." /> </a> </object> </div> </div> hi. i'm trying to make a simple site for my artwork, and i'm putting on a link to a page i'm working on. in the blank area, i want to put an image map of thumbnails, and i want them to target to the right, where the girl is so there aren't any new windows popping up or anything. so i don't know how to make the girl into a frame without the scrollbars so i can target the thumbnails. if that makes sense, any help would be VERY appreciated. here's the link - http://www.hotheadcrafts.com/x2.html So we're fixing another one of our websites and it seems that when you click on the "home" button in the left frame... it opens up the home page in a new window rather than in the main frame. Ahhh difficulties. I've been thinking it's a target issue, but I can't figure it out where and why. Any help? http://www.carlsonbldgservices.com Thank you! I'm designing a site and have a bunch of targets on one page. I had come across this site (http://www.welcomebrand.co.uk) and while back and liked how when the top links are clicked, instead of shooting straight down to the corresponding content, it was a quick, but smooth scroll. I looked in the code of the site, but couldn't eye out what it was. Any hints? hello, I'm trying to open a greybox where the link to it is inside an iframe. My problem is that while it works, it only takes the dimensions of the iframe, and not the parent window... so it doesn't look good. I'm hoping there's some code I can add to the link so that it targets the parent window. here is the link code for my greybox: HTML Code: <a id="video-link" href="../videos/Pallets.html" title="Pallets" rel="gb_page_center[640, 385]"> and here is the link to see what I'm talking about: (there is a "video" link on the left side menu that is located in the parent winodow and there is several "video" links within the iframe once you enter the products) http://www.solstudio.eu/skycore/demo...-Multiparking/ I am trying to figure out a way to load the index page with a requested iframe page without clicking the link. Instead of going to site.com/embeddedpage.html i want to essentially go to site.com/#iframeembeddedpage.html is there a way to load an iframe within the index page via a direct url??? I have <iframe src="example.html"></iframe> and I have some links in that page. I want to open them in a new tab or in the main windows that has <iframe></iframe>. how can I do that i have an iframe set up using the code Quote: <iframe href="http://www.maidenerleghweather.com/forecast2.php" target="_self" scrolling="no" src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=IWOKINGH4&freq=2.5&units=metric&lang=EN onClick=" style="zoom: 85%;"></iframe> which is displayed at http://www.maidenerleghweather.com/livedata.html the trouble is when i click on the iframe it links to a weatherunderground weather website, rather than the one i have specified in the code. is it possible to take control of this and use my own link instead? is it possible to use a transparent box over the iframe and then have my link connected to this? hopefully someone can point me in the right direction. i am a beginner with iframes and html so please be patient! I have my website and inserted an iframe. Code: <iframe src ="link" name="forumframe" id="forumframe"> This works fine but if I click a link INSIDE this it doesnt remain inside the iframe and instead brings up the page as the entire window. Is there a simple solution for this? i have a site where there is an iframe. The iframe loads a page from another website which has links on it. when a person clicks on a link, it loads the next page within the iframe which is ok. This next page it load also contains links and when a person clicks one of these things, it then loads a checkout page within the iframe which is not so good at all as this page is secure, but because it exists within the iframe now, it wont show as secure to people viewing it. I would like to know how i can have the links from the next page mentioned load in a new tab or browser window so that the secure checkout page is now on its own and the https and secure padlock show to the user. Any help is greatly appreciate! Hi guys! I need to show the content of a html link (<a href>) in an iframe placed into div tags, hiding the content between the divs when I click the link . I do the following : heading.html Code: <a href="http://maps.google.es target="centre">Where are </a> and in the div placed behind of the link , I do the following: index.html Code: <div id="centre"> <iframe src="../html/heading.html" name="centre"> --> <form action="../Fillm" method="post"> ... </form> </iframe> </div> But the page appears me duplicated, one above and the other page behind this one, and when I click the link, the content appears me in the behind page. I would be grateful if somebody could help me, because I am Stuck. Bye Hey everyone, first post here. I have a problem :S Is it possible to use to input fields and a submit button with this code: Code: <form name="input" action="LINK" method="get"> Code: <input type="text" name="codice"> Direzione: <input type="text" name="direzione"> <input type="submit" value="Submit"> </form> I want the user inputed code and the "Direzione" values to be added into a link: http://something.com/random.asp?direction=DIREZIONE&code=CODE Then I would like this generated link to be automatically added as the "src" of an iframe on the same page once the user presses submit....is this possible? What sort of syntax do I need to use in the form/input/submit fields? How do I get it to work? Here is the basic layout of the page: Code: Direction: [direction input field] Code: [code input field] (SUBMIT BUTTON) // the above values are then added into the link so that the the link becomes: // http://something.com/random.asp?direction=DIREZIONE&code=CODE // the link is then added as the "src" for the iframe underneath <iframe src="link above"></iframe> If all of this is possible then it would be great! p.s. is it possible to make an iframe refresh on itself every 30 seconds? Sorry for all the questions and thanks! Is there a way to make a link within an iFrame to change the page the user is on? e.g. I have a menu, I put the iframe code on all my web pages, someone clicks on a link in the iframe and it changes the web page. Thanks in advance! |