Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > What type of HTML trickery am I up against here?

What type of HTML trickery am I up against here?
Thread Tools
skalie
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jan 29, 2006, 04:21 AM
 
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 05:21 AM. )
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jan 29, 2006, 05:31 AM
 
jsessionid = java ( ? ), which could mean the developer used Cold Fusion?
     
Simon Mundy
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jan 29, 2006, 07:21 AM
 
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...
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jan 29, 2006, 07:29 AM
 
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* )
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Jan 29, 2006, 07:35 AM
 
..... and here was the offending code

Code:
function checkFrames() { if (parent.frames.length == 0) { location.pathname = "index.html?main=" + location.pathname; } }
     
Simon Mundy
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jan 29, 2006, 09:45 AM
 
Computer thez nohhh...
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 08:24 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,