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!

Viewing Source

Status
Not open for further replies.

MarcLodge

Programmer
Feb 26, 2002
1,886
GB
Hi All,
I wish to view the source of a website which contains frames. When I click View Source, all I get is the source of the outer frame, and I would like to see the inner workings. Is there anyway that I can do this?

Also when using DreamWeaver, does it leave a particular footprint on the source code which would identify it as being written with Dreamweaver?

Many thanks.
Marc
 
Hi,

To view the source of a frame, simply right click on the frame and view the source that way.

As for dreamweaver, I don't use it, but there could be a meta tag that is present distinguishing it as being made with dreamweaver or anyone familiar with dreamweaver could see a pattern in how the code is writen and how indentation and tag attribute priority is created.

Hope this helps!

relax.gif


Keep up to date with my 2003 NHL Playoffs Wallpaper
 
Rather than selecting View>Source from the menu, first single-click somewhere in the frame you want the source for (not necessary in all browsers but plays it safe) an then right-click (control-click on the Mac) in that same frame and choose View Source: you'll just get the source for that frame.

Dreamweaver doesn't leave any noticeable footprint unless you use templates (in which case it inserts comments like "Begin EditTable" and such) or you use any behaviors, including the simple Javascript behaviors (in which case there will be Javascript functions that start with MM_).
 
Nope, doesn't work for me. I hilight some text in the frame I want to see and then right click, but there's no view/source option. If I leave the text highlighted and click view source from the top, I get the same source (think it's the initial frame).

I'm using IE4 and IE6 on different machines and get the same result.

Any clues?
 
OK, I'm obviously doing something wrong. Incompetence I call it! The site I'm trying to look at is which has a welcome-click-on-this-button screen which takes you to This page appears to be split into frames, but I cannot seem to view the source of any of them.

Sorry, but what am I doing wrong?
 
save the page in a temporary folder in your local harddrive.
once you do that a folder with the same name as the file will be created, go to the folder and open it you'll see the individual pages that make up the website.
You can open each one individually with dreamweaver or just work on the frameset.

About the question of Dreamweaver I normally look for small signs like the prefix MM_ on javascript functions, the begina nd end comments for DW Templates and sometimes the name of the images (mix of fireworks and DW).

let me know if it helps.

grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
 
That's certainly weird. I'm using IE6 and -- without highlighting anything, which is key -- right-clicking works perfectly. I don't have any special goodies installed that allow this, as it's default behavior of the browser.
 
This is working fine for me. Just make sure when you right click on a frame you are right-clicking on an area that doesn't contain an image or text or anything else. Only right-lick on a part that is just the background, then view the source from the right-click menu.

relax.gif


Keep up to date with my 2003 NHL Playoffs Wallpaper
 
For the middle frame, right click to the far right where there is no text or pics.

For the left frame, right click to the very bottom.

For the top frame, right click to the far right.

Click view source after right clicking.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top