|
Posted by admyc on June 14, 2006, 6:53 pm
Please log in for more thread options
Hi,
I have a site I designed using frames.The document that sets up the
frame structure is called index.html, and one of its frames contains
the main document called main.html.
The search engine that points to the site has for some reason chosen
not to link to www.mydomainname.co.uk/index.html but to
www.mydomainname.co.uk/main.html.
Is there any way to add HTML or other code to this main.html document
so that it is displayed in a frame in index.html as oppossed to being
displayed on its own?
Any help most gratefully recieved
AM
|
|
Posted by Darin McGrew on June 14, 2006, 7:09 pm
Please log in for more thread options
show/hide quoted text
> I have a site I designed using frames.The document that sets up the
> frame structure is called index.html, and one of its frames contains
> the main document called main.html.
>
> The search engine that points to the site has for some reason chosen
> not to link to www.mydomainname.co.uk/index.html but to
> www.mydomainname.co.uk/main.html.
>
> Is there any way to add HTML or other code to this main.html document
> so that it is displayed in a frame in index.html as oppossed to being
> displayed on its own?
See http://www.htmlhelp.com/faq/html/frames.html#frame-context --
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/ Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/
"Cheaters never win; they just finish first." - Johhny Hart
|
|
Posted by David Dorward on June 15, 2006, 1:55 am
Please log in for more thread options
Darin McGrew wrote:
show/hide quoted text
> See http://www.htmlhelp.com/faq/html/frames.html#frame-context
Ouch! Ouch! Ouch!
Last time I ran into the bit of JavaScript, it took me 15 minutes to get to
the content I wanted - and I only bothered because I couldn't find any
other site offering the same information (which is rare). This is because
the information was on page A, but when I viewed it outside the frameset, I
was redirected to the frameset page ... which didn't have page A as one of
the default documents.
Just don't use frames, much easier all round.
http://allmyfaqs.net/faq.pl?Problems_with_using_frames
--
show/hide quoted text
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
|
|
Posted by Darin McGrew on June 15, 2006, 12:08 pm
Please log in for more thread options
I wrote:
show/hide quoted text
>> See http://www.htmlhelp.com/faq/html/frames.html#frame-context
show/hide quoted text
> Ouch! Ouch! Ouch!
>
> Last time I ran into the bit of JavaScript, it took me 15 minutes to get to
> the content I wanted - and I only bothered because I couldn't find any
> other site offering the same information (which is rare). This is because
> the information was on page A, but when I viewed it outside the frameset, I
> was redirected to the frameset page ... which didn't have page A as one of
> the default documents.
That's why the FAQ entry says, "Note that in either case, you must have a
separate frameset document for every content document."
show/hide quoted text
> Just don't use frames, much easier all round.
Oh, absolutely. Doing a framed site right is much harder than doing an
equivalent non-framed site right.
--
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/ Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/
"I'd love to make time, if only I could find the recipe."
|
|
Posted by Dan on June 15, 2006, 12:14 pm
Please log in for more thread options
David Dorward wrote:
show/hide quoted text
> Darin McGrew wrote:
> > See http://www.htmlhelp.com/faq/html/frames.html#frame-context
> Ouch! Ouch! Ouch!
> Last time I ran into the bit of JavaScript, it took me 15 minutes to get to
> the content I wanted - and I only bothered because I couldn't find any
> other site offering the same information (which is rare). This is because
> the information was on page A, but when I viewed it outside the frameset, I
> was redirected to the frameset page ... which didn't have page A as one of
> the default documents.
I'll often disable JavaScript altogether in my browser when attempting
to retrieve information from sites that see fit to redirect you against
your will like that.
--
Dan
|
| Similar Threads | Posted | | text based html editor with master page? | December 15, 2008, 6:17 pm |
| Converting frame-based webpages to ones that don't use frames | June 23, 2006, 4:57 am |
| How can I dynamically add file links to a html document? | May 31, 2005, 7:40 am |
| AJAX Based File Managment Web Application | July 18, 2006, 12:12 am |
| Resource to search HTML code for links to a specific file | November 18, 2005, 1:13 pm |
| w3c recommended provision of a UA UI element for link based document relationships? | December 6, 2004, 7:29 pm |
| Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content | February 7, 2007, 5:40 pm |
| Autogenerating a HTML links/bookmarks page | December 22, 2004, 6:21 pm |
| How to define links (css?) for just one part of a html page? | October 19, 2005, 8:43 am |
| Target frame link anchor in new parent html file | December 13, 2004, 3:47 am |
|
> frame structure is called index.html, and one of its frames contains
> the main document called main.html.
>
> The search engine that points to the site has for some reason chosen
> not to link to www.mydomainname.co.uk/index.html but to
> www.mydomainname.co.uk/main.html.
>
> Is there any way to add HTML or other code to this main.html document
> so that it is displayed in a frame in index.html as oppossed to being
> displayed on its own?