This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12775 - Suggestion for html.next and iframes
Summary: Suggestion for html.next and iframes
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 07:54 UTC by Michael[tm] Smith
Modified: 2011-08-04 05:06 UTC (History)
4 users (show)

See Also:


Attachments

Description Michael[tm] Smith 2011-05-25 07:54:45 UTC
public-html-comments posting from: "Marke Johnston" <Marke@omnibot.info>
http://www.w3.org/mid/FC62CA8F1B1FA246B2DB9C427F3F3CB7B205@84slp71.AFRHLLC.local

This seems the best mail list for the general public to make
suggestions.

I maintain one fairly simple commercial website I authored and designed.
I have dabbled in html for over ten years.

for my current rennovation, I did find iframes to be the best viewing
solution; 
and struggle with the same bookmarking shortcomings that perpetuates the
'frames are evil' meme.
Most specifically, I wish I could transmit via email links that would
load my iframe containing page in a specific way.

My suggestion:
an additional identifying tag could be added to each A href that has a
target= statement
that extra tag would contain a short and unique (example 2 alpha digits)
code identifying the link selected.

as an example, any link that contains target="I1" would have also
named="aa" 
where the alpha code is meant to be specific to each ahref & target
combo on the page

a different link on the same page would have target="I1" named="ab" for
the second link...

then  browser specifications would be set to recognize codes and append
them to the end of urls, much in the manner of asp pages with arguments
passed to the server-- but read by the static browser-- and further, if
links caused the iframe contents to change and names were set- the
displayed address url would change to match

so a website would initially be at a page of
http://www.example.com/index.htm
but if an end user selected a link (the first target link in my example)
that put name AA in iframe I1--  the browser would load the subframe,
and then automatically append to appropriate code to the url displayed

http://www.example.com/index.htm?i1=aa    or if I had two frames in the
page, I might see
http://www.example.com/index.htm?i1=aa?i2=ca

then by whatever means necessary, I can distribute, bookmark, and rename
frames and ensure the correct linking

Browsers- when loading of such a bookmark, would interpret the html,
searching for those unique names, and load the target frames as if they
had been clicked.

I have no dedication to my choice of names -  I just want to send out
links that will load the page as I wish it.
Comment 1 Aryeh Gregor 2011-06-24 20:56:27 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Additional Information Needed
Change Description: no spec change
Rationale: The proposed solution only works if the parent page and the iframe are cooperating closely.  If that's the case, why don't you just have an onbeforeunload handler on all the pages in the iframe that alters the URL bar using pushState()?  Alternatively, why don't you just not use frames at all here, and include everything in the same page?  You have to explain your use-case better.
Comment 2 Michael[tm] Smith 2011-08-04 05:06:01 UTC
mass-moved component to LC1