Using Toolbar Edit Button to Edit Iframe Contents

  • Thread starter Thread starter webster.joe
  • Start date Start date
W

webster.joe

Hi,

In IE6, is there some way to launch an editor for the .html file
currently displayed in an iframe?

For example, if I am currently viewing a file called C:/A.html, I can
press the "Edit" button on my toolbar and my default HTML editor will
open in a separate window with A.html loaded.

If A.html contains an iframe that displays B.html, how can I get IE6 to
open my HTML editor in a separate window with B.html loaded, not
A.html?

Thanks in advance for your help.
 
In case anyone else needs a workaround to this problem, I've found that
I can Right-Click in the iframe and choose "View Source" to launch the
Notepad editor.

This method is not as good as the Toolbar's "Edit" button, which will
launch your default HTML editor, but it comes close. If you want to
get even fancier, you can change the default editor that IE uses for
the "View Source" function from Notepad to anything you choose. For
XP, I believe you can do this via the "Tweak" utility. For other
Windows o/s's a registry hack like the following may work (tested on
Win2K). Attempt it at your own risk.

0) backup your registry

1) Open Regedit, in the left pane, navigate to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer

2) Right-click Internet Explorer, select New > Key

3) Type in "View Source Editor" (no quotes) as the key name

4) Right-click View Source Editor, select New > Key.

5) Type in "Editor Name" (no quotes) as the key name.

6) Click to highlight "Editor Name".

7) In the right pane, double-click Default.

8) Type in the entire path of the desired program.

[Example - only!]
D:\Program Files\ConTEXT\ConTEXT.exe

9) Click OK, and then close the Registry Editor.
 
Back
Top