 |
 |
What type of HTML trickery am I up against here?
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
I need to advise someone how remove a frameset from a site for Search Engine Optimisation.
http://www.********.com/index.html ;jsessionid=4876BDAFC4B02DC423F3384B673B64A9
For example.
When I view the source I get a frameset.
Code:
<frameset framespacing="0" frameborder="0" rows="*,0,0">
<frame name="main" src="homepage/welcome.html">
<frame src="menu/menu.html" name="menu">
<frame src="settings.html" name="settings">
<noframes>
So I try and access the main frame....
http://www.********.com/homepage/welcome.html
I get redirected to this.
http://www.********.com /index.html?main=/homepage/welcome.html
I'm intending to ask for FTP access (of course), but I'd really like to be able to view the source of the frames first.
Thanks in advance.
(Last edited by skalie; Jan 29, 2006 at 03:21 AM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
jsessionid = java ( ? ), which could mean the developer used Cold Fusion?
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Originally Posted by skalie
I need to advise someone how remove a frameset from a site for Search Engine Optimisation.
...
Thanks in advance.
Have you tried viewing the site with JavaScript disabled? A lot of frame-based sites use it to do an onload check to ensure the current page is sitting in the correct frameset.
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
Bingo! I'm in.
Thanks Simon. (once again)
As a side note I was wanting to dedicate my 1000th post to those that have offerred so much help in this forum over the years, mucho gracias.
( except I ended up using my 1000th in a Brady Bunch thread *shrugs* )
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
..... and here was the offending code
Code:
function checkFrames() {
if (parent.frames.length == 0) {
location.pathname = "index.html?main=" + location.pathname;
}
}
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
|
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |