Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get to the source code on a frames page? 3

Status
Not open for further replies.

Aishaa

Technical User
Apr 12, 2001
90
CA
Hi!

I am trying to view source on a frames page but haven't been able to.

Does anyone know how to do this?

Ty
Aisha
 
Right click on the frame you want to view the source and select view source. If you want the main frame, load the page in your browser, go directly to the view menu on IE and choose view source. If you click on the page first that becomes the active frame. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
In Netscape:

1)On the specific frame: right click -- view frame source (if there are no frames you'll see view source)
[an extra option here is: view info]


2)The main frame: go to the view menu and choose Page source
[an extra option here is: page info]

Erik
<!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
or you could simply, choose VIEW | View source, find the address of the page you want to view, type it in the URL bar and then voila you have the page that you want the source for
 
type the following into address bar: (or copy-paste)

Code:
javascript:for(ii=0;ii<top.frames.length;ii++){top.location.href=&quot;view-source:&quot;+top.frames[ii].location.href}

in netscrap 4-6 i had to do it this way:
Code:
javascript:for(ii=0;ii<top.frames.length;ii++){url=&quot;view-source:&quot;+top.frames[ii].location.href;open(url,&quot;&quot;,&quot;&quot;)}
as first method gave me only 1 first frame's content


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top