All Questions
30 questions
27
votes
3
answers
51k
views
When to use target="_self"
When does the _self frame target becomes useful or worth using it?
Isn't it (always?) the default behavior?
17
votes
7
answers
6k
views
How to avoid anchors in iframes to scroll parent page
So, here's the problem: I have a quite long page with an iframe in the middle. Now, if an anchor is clicked in the iframe, the entire page is scrolled to the iframe, which is what I want to avoid.
...
8
votes
2
answers
35k
views
Anchor links inside iframe does nothing
Is it possible to have a non-scrolling iFrame inside a scrolling div, and have anchor links inside the iFrame work correctly? The anchor links inside the iFrame should scroll to the spot inside the ...
5
votes
1
answer
3k
views
Iframe scroll due to the links inside it
I have a page with a fixed header div like a tool bar and an Iframe which loads content form the same/different domains.
The problem is whenever a link inside the iframe is clicked, it scrolls the ...
4
votes
2
answers
2k
views
<iframe src="reallylongpage.html#bottom" /> doesn't work
I have the following embedded iframe
<iframe width="100%" height="400" src="reallylongpage.html" />
reallylongpage.html has 2 anchors #top and #bottom
I want my iframe to load reallylongpage....
3
votes
1
answer
3k
views
linking parent page link to anchor in an iframe
I've been searching and searching, but I'm absolutely stumped on this: I have an index.html page that has a few iframes in in- 100% width and height stacked atop one another. The index has fixed ...
2
votes
0
answers
985
views
Anchor tag from iframe to parent cross-domain/cross-browser
I'm not sure if this is even possible, but can a link that lives inside of an iFrame (on another domain) be used to access an anchor on its parent page?
For example:
Parent url: http://www.parenturl....
1
vote
2
answers
91
views
Links in embedded html
I have some HTML code I'm trying to embed into a site.
The code is an iframe that is supposed to have a bunch of links in it, but when I click the links, they just load the page inside the iframe ...
1
vote
2
answers
7k
views
Link to anchor in frame
I'm building a portfolio website for a comics label and would like to integrate the store within the site. The site is built in Indexhibit and I've been trying several options.
At the moment I would ...
1
vote
0
answers
107
views
How do I make iframe scroll to an anchor in parent content on iOS?
I have the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="...
1
vote
1
answer
68
views
I got an scroll position problems when I link anchor from page1 to page2 with a fixed header
I got an scroll position problem. When I link anchor from page2 to page3, page3 is under the fixed header. BTW, page1 and page2 share the same fixed header and in the same <iframe></iframe>...
1
vote
1
answer
1k
views
Anchor with target="_blank" inside iframe sometimes doesn't work in IE 8
I have an iframe with the following doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Inside this iframe, there is an anchor that ...
1
vote
0
answers
577
views
mobile browser refuses to scroll to # anchor inside an iframe
I have a mobile web site with of a fixed header (divs) and below an iframe in which a page from a different domain is being displayed.
As I wanted a specific area of the page to be displayed inside ...
0
votes
1
answer
73
views
iFrame links to open in new window
I have the following iframe in my html page.
<iframe src="www.w3schools.com"></iframe>
Is it possible to force all anchor links within the iframe to open in a new window (without using ...
0
votes
1
answer
2k
views
playing a youtube video on a click within iframe in a single webpage
<a href="http://www.youtube.com/watch?v=NxO8LanzoiU"
target="vid1">Geriatrics Informatiion</a>
<iframe height="315" name="vid1" width="560"></iframe>
When I click the ...