<iframe> Question

Her kan du stille og svare på spørgsmål omkring HTML. Du kan altså med andre ord finde en masse hjælp til HTML og HTML5 på dette forum
Besvar
Crow
Rutineret
Rutineret
Indlæg:64
Tilmeldt:15. apr 2014, 11:24
<iframe> Question

Indlæg af Crow » 19. maj 2014, 13:10

I was wondering regarding iframe's if it is possible to add some focus point's for example if you use a pdf document. would it then be possible to make link's to the different page's from a menu on the sideline or to use 2 iframe's where 1 is the original document and the 2nd only the "index/Table of Contents" with link's to different page point's throughout the document ?

what i am searching for is a method to remote the <iframe> content via link's or a seperate <iframe> serving as a static remote rather than using the same iframe to navigate.

Crow
Rutineret
Rutineret
Indlæg:64
Tilmeldt:15. apr 2014, 11:24

Re: <iframe> Question

Indlæg af Crow » 19. maj 2014, 22:04

i also stumbled across the word "X-Frame-Options" that prevent's other websites to iframe sites and was wondering how and where exactly to implement it

Crow
Rutineret
Rutineret
Indlæg:64
Tilmeldt:15. apr 2014, 11:24

Re: <iframe> Question

Indlæg af Crow » 20. maj 2014, 23:44

i found out about "X-frame option" and i think it might prove to be rather interesting for other's so i am posting it here:
http://www.webmasterworld.com/webmaster/4022867.htm

however i am still wondering how to use <iframe> better, such as remoting to specific spot's in a document from a sidepanel or simply a 2nd <iframe> that point's at another spot/page that can be used to guide around.

Brugeravatar
scootergrisen
Moderator
Moderator
Indlæg:709
Tilmeldt:21. jun 2012, 23:40
Kontakt:

Re: <iframe> Question

Indlæg af scootergrisen » 21. maj 2014, 05:25

You can use #page=X to select a page.
Demo http://netkoder.dk/test/test0284.html

Crow
Rutineret
Rutineret
Indlæg:64
Tilmeldt:15. apr 2014, 11:24

Re: <iframe> Question

Indlæg af Crow » 21. maj 2014, 14:50

mange tak :)

Besvar