473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Link to a frames based page links to wrong html file.

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

Jun 14 '06 #1
4 1378
<ad***@hotmail.com> wrote:
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/fra...#frame-context
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"Cheaters never win; they just finish first." - Johhny Hart
Jun 14 '06 #2
Darin McGrew wrote:
See http://www.htmlhelp.com/faq/html/fra...#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

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jun 15 '06 #3
I wrote:
See http://www.htmlhelp.com/faq/html/fra...#frame-context

David Dorward <do*****@yahoo.com> wrote: 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."
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, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"I'd love to make time, if only I could find the recipe."
Jun 15 '06 #4
Dan

David Dorward wrote:
Darin McGrew wrote:
See http://www.htmlhelp.com/faq/html/fra...#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

Jun 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mat | last post by:
How can I detect when a link has been clicked but the new page is still in the process of loading? The document.location.href property still displays the current location (understandably) not the...
36
by: Peter Brause | last post by:
Hello, my stylesheet shows different colors for visited, active and hovered links. It works fine in IE 6, but in Opera 7 the color for the active link (red background) is never shown. How to...
1
by: Aki | last post by:
Hi! I've been trying to create a home link in a document that is shown in a frameset of two frames. My aim is to show the first documents that were shown in the frames when the frameset was...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
2
by: zglazer | last post by:
Hi -- I'm working on a website that uses Javascript and CSS to show or hide portions of text on each page. There's a sort of table of contents at the top of each page, and rather than using anchor...
27
by: Murray R. Van Luyn | last post by:
Hi, Is using frames in a website as big an issue nowadays as it was maybe 5 or so years ago? I can remember that you used to have to have a frame site, as well as a non frame site for browsers...
3
by: synergy_711 | last post by:
I feel like this should be fairly easy but I have been struggling with this for sometime. I have not been able to find someone who's had the same problem as mine yet. ...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
9
by: newbiegalore | last post by:
Hello everyone :-) , Thanks to the gentle people on this group for helping me out with previous issues. :-D This time round I am facing what I perceive as a simple problem, which I have not found...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.