Click here to get back home

iframe problem in firefox

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
iframe problem in firefox Valued Customer 02-05-2006
Posted by Valued Customer on February 5, 2006, 9:31 pm
Please log in for more thread options


Hello,

I'm really at a loss here. I have the following index.html:

<div align="center">
<iframe src="left.htm" width="15%" height="100%" frameborder="0"
name="left" target="contents">
<iframe src="main.htm" width="85%" height="100%" frameborder="0"
name="main" scrolling = "no">
</iframe>
</div>

In left.htm, is code prett much for navigation. I'm using links like
this:

<A href="pages/FL000001.htm" target="main">

When using IE, everything works great. The user clicks on something
on the left and it appears in the correct target.

However when using FireFox there's two issues:

1. I want a 15/85 proportion of menu to main window on the screen.
When using FF, it gives an equal amount of space to each frame... in
spite of the dimensions I specified in the width properties above.

2. In FF, when a user clicks a link on the left, it doesn't open in
the target "main", it opens in a new window?!?!... I did NOT specify
target = "_new"; how can this happen?

Any assistance is greatly appreciated! Thanks!

Posted by David Dorward on February 6, 2006, 3:10 am
Please log in for more thread options


Valued Customer wrote:

Odd name you have there...

> <div align="center">
> <iframe src="left.htm" width="15%" height="100%" frameborder="0"
> name="left" target="contents">
> <iframe src="main.htm" width="85%" height="100%" frameborder="0"
> name="main" scrolling = "no">
> </iframe>
> </div>

Problems:

1. Your markup is invalid. You missed a </iframe>. The validator would have
told you that.

2. You seem to be trying to use iframes to duplicate the effects of the
better supported (normal) frames.

3. Frames are harmful.
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

Posted by Chaddy2222 on February 6, 2006, 6:01 am
Please log in for more thread options



Valued Customer wrote:

> Hello,
>
> I'm really at a loss here. I have the following index.html:
>
> <div align="center">
> <iframe src="left.htm" width="15%" height="100%" frameborder="0"
> name="left" target="contents">
> <iframe src="main.htm" width="85%" height="100%" frameborder="0"
> name="main" scrolling = "no">
> </iframe>
> </div>
>
> In left.htm, is code prett much for navigation. I'm using links like
> this:
>
> <A href="pages/FL000001.htm" target="main">
>
> When using IE, everything works great. The user clicks on something
> on the left and it appears in the correct target.
>
> However when using FireFox there's two issues:
>
> 1. I want a 15/85 proportion of menu to main window on the screen.
> When using FF, it gives an equal amount of space to each frame... in
> spite of the dimensions I specified in the width properties above.
>
> 2. In FF, when a user clicks a link on the left, it doesn't open in
> the target "main", it opens in a new window?!?!... I did NOT specify
> target = "_new"; how can this happen?
>
> Any assistance is greatly appreciated! Thanks!
My article on Useing Frames can be found at:
http://freewebdesign.cjb.cc/design-tips1.html
--
Regards Chad. http://freewebdesign.cjb.cc


Posted by Jake on February 6, 2006, 6:34 pm
Please log in for more thread options


>
>Valued Customer wrote:
>
>> Hello,
>>
>> I'm really at a loss here. I have the following index.html:
>>
>> <div align="center">
>> <iframe src="left.htm" width="15%" height="100%" frameborder="0"
>> name="left" target="contents">
>> <iframe src="main.htm" width="85%" height="100%" frameborder="0"
>> name="main" scrolling = "no">
>> </iframe>
>> </div>
>>
>> In left.htm, is code prett much for navigation. I'm using links like
>> this:
>>
>> <A href="pages/FL000001.htm" target="main">
>>
>> When using IE, everything works great. The user clicks on something
>> on the left and it appears in the correct target.
>>
>> However when using FireFox there's two issues:
>>
>> 1. I want a 15/85 proportion of menu to main window on the screen.
>> When using FF, it gives an equal amount of space to each frame... in
>> spite of the dimensions I specified in the width properties above.
>>
>> 2. In FF, when a user clicks a link on the left, it doesn't open in
>> the target "main", it opens in a new window?!?!... I did NOT specify
>> target = "_new"; how can this happen?
>>
>> Any assistance is greatly appreciated! Thanks!
>My article on Useing Frames can be found at:
> http://freewebdesign.cjb.cc/design-tips1.html

Can I suggest you:

(a) read up on how to design a frames-based site,
(b) get some experience by coding one,
(c) re-write http://freewebdesign.cjb.cc/design-tips1.html in the light
of what you learn.

Regards.


--
Jake (jake@gododdin.demon.co.uk -- just a 'spam trap' mail address)

Posted by Valued Customer on February 6, 2006, 11:28 pm
Please log in for more thread options


wrote:


>Can I suggest you:
>
>(a) read up on how to design a frames-based site,

Don't want to use the frameset tag... perfectly familiar with it
though

>(b) get some experience by coding one,

Trying to... but wasting too much time reading tearse replies from
wise guys like you who spend more energy flaming folks than being even
remotely helpful. It's easy to be a tough guy from behind the
anonymity of a keyboard, but remember a little bit of courtesy goes a
long way... especially since you were a rookie once.

Amazing... all that effort and you didn't address my questions. Yes I
missed a closing </iframe>. But that didn't fix any of the problems
with using FireFox.



Similar ThreadsPosted
IFrame align="center" in Netscape and Firefox May 17, 2005, 4:41 pm
iframe problem June 27, 2005, 7:10 am
iframe scrolling problem December 1, 2004, 5:11 am
Mozila Firefox: iframe keep relocate its position when set display block/hiden of another html component? October 11, 2004, 3:57 pm
A FireFox problem: with pre and ex September 13, 2006, 9:39 am
DIV Scrollbar problem in FireFox... May 23, 2005, 7:01 am
Form problem and Firefox April 6, 2006, 7:54 am
html4/strict.dtd & IE/firefox problem April 21, 2005, 9:34 am
Table layout problem in Firefox/IE6 June 14, 2005, 8:42 am
Problem with Firefox viewing html January 22, 2007, 4:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap