back to list

help with HTML frames

🔗monz <monz@...>

7/12/2004 10:52:56 AM

to someone who is familiar with programming HTML frames,
a request:

please open
http://tonalsoft.com/enc/

and look at the source code and tell me how to
make it so that the left frame (which contains the
alphabetical index of Encyclopaedia entries) can
be resizable by the user.

thanks.

-monz

🔗Robert Walker <robertwalker@...>

7/12/2004 11:07:50 AM

Hi Monz:

> please open
> http://tonalsoft.com/enc/
>
> and look at the source code and tell me how to
> make it so that the left frame (which contains the
> alphabetical index of Encyclopaedia entries) can
> be resizable by the user.

This is the format (with your frame name &
url replacing "content" and "contents.htm")

<FRAME NAME="contents" RESIZE SRC="contents.htm">

Robert

🔗Jon Szanto <JSZANTO@...>

7/12/2004 11:24:40 AM

Monz,

--- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> to someone who is familiar with programming HTML frames,
> a request:
>
> please open
> http://tonalsoft.com/enc/

Unfortunately, the code we need to see is in the index.htm file, which
loads the page but can't be viewed. Just make sure you *don't* have a
NORESIZE tag in the frameset description, that should do the trick.

Weird thing is that you can't resize the site in IE and Mozilla, but
opening it in Opera you can resize the windows; I tend to think that
is a flaw in Opera's rendering...

Cheers,
Jon

🔗monz <monz@...>

7/12/2004 2:03:31 PM

hi Jon and Robert,

--- In metatuning@yahoogroups.com, "Jon Szanto" <JSZANTO@A...> wrote:
> Monz,
>
> --- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> > to someone who is familiar with programming HTML frames,
> > a request:
> >
> > please open
> > http://tonalsoft.com/enc/
>
> Unfortunately, the code we need to see is in the index.htm
> file, which loads the page but can't be viewed. Just make
> sure you *don't* have a NORESIZE tag in the frameset
> description, that should do the trick.
>
> Weird thing is that you can't resize the site in IE and
> Mozilla, but opening it in Opera you can resize the windows;
> I tend to think that is a flaw in Opera's rendering...

thanks for the helpful tips. now let's see if i
can get it working.

i'm using Opera these days, and i can't resize anything
when i open the Encyclopaedia.

-monz

🔗monz <monz@...>

7/12/2004 2:11:54 PM

hmm ... i've tried putting a RESIZE command in the FRAME
tags, but it didn't work.

by taking out the existing NORESIZE command in the top
frame (the alphabet), i was able to resize the border
between that frame and the lower two. but we don't
need that.

in case anyone would like to help, here's the file:

http://tonalsoft.com/enc/fr_index.html

-monz

--- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> hi Jon and Robert,
>
>
> --- In metatuning@yahoogroups.com, "Jon Szanto" <JSZANTO@A...>
wrote:
> > Monz,
> >
> > --- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> > > to someone who is familiar with programming HTML frames,
> > > a request:
> > >
> > > please open
> > > http://tonalsoft.com/enc/
> >
> > Unfortunately, the code we need to see is in the index.htm
> > file, which loads the page but can't be viewed. Just make
> > sure you *don't* have a NORESIZE tag in the frameset
> > description, that should do the trick.
> >
> > Weird thing is that you can't resize the site in IE and
> > Mozilla, but opening it in Opera you can resize the windows;
> > I tend to think that is a flaw in Opera's rendering...
>
>
>
> thanks for the helpful tips. now let's see if i
> can get it working.
>
> i'm using Opera these days, and i can't resize anything
> when i open the Encyclopaedia.
>
>
>
> -monz

🔗Robert Walker <robertwalker@...>

7/12/2004 3:28:13 PM

Hi Monz,

> http://tonalsoft.com/enc/fr_index.html

Yes, enabling frame resizing can be tricky sometimes.

Try:

<frameset cols="20%,80%" frameborder="1" border=6 framespacing="1" bordercolor="#006c00">

where I've switched on frameborder and framespacing which you have switched off.

Just did a Google search about this:

http://aumha.org/html/frames.php
"
NOTE: The presence or absence of visible borders is not supposed to affect whether or not bounded frames can be resized. Unfortunately, in some browsers it does: For those browsers (including older versions of both Internet Explorer and Netscape), turning off the visible border also engages the noresize option. If it is important that visitors be able to resize frames on a particular page, consider leaving the frameborder enabled
"

I can confirm that you need frameborder switched on, and it seems that you need framespacing enabled as well, at least in IE 5.0 which I just tested it on.

This code works also in a very old Netscape (4.1 or something) in Opera, and in Mozilla Firebird.

Robert

🔗Jon Szanto <JSZANTO@...>

7/12/2004 5:15:44 PM

Monz,

--- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> i'm using Opera these days, and i can't resize anything
> when i open the Encyclopaedia.

I haven't read the rest of the msgs, but it sounds like something in
Opera, although I tested with a 6.05 version and maybe 7+ is operating
differently (it *shouldn't* have resized in Opera anyway).

More to the point: any developer who isn't testing in the (by far)
most installed browser isn't testing. I hate IE as much as the next
person, and dumped it for good a while back for personal use, but I
still test in it. That is - for the moment - what a huge majority of
your audience will use.

Cheers,
Jon

🔗monz <monz@...>

7/12/2004 7:49:03 PM

thanks for the advice, Jon.

Robert said his latest solution should work for Opera,
but it doesn't. but at least i got it going in IE.

now anyone who reads the Encyclopaedia in IE can move
the border of the left frame to the right to see all
the entries lined up neatly, or to the left to get a
bigger viewing frame for the main page.

-monz

--- In metatuning@yahoogroups.com, "Jon Szanto" <JSZANTO@A...> wrote:

> Monz,
>
> --- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> > i'm using Opera these days, and i can't resize anything
> > when i open the Encyclopaedia.
>
> I haven't read the rest of the msgs, but it sounds like something in
> Opera, although I tested with a 6.05 version and maybe 7+ is
operating
> differently (it *shouldn't* have resized in Opera anyway).
>
> More to the point: any developer who isn't testing in the (by far)
> most installed browser isn't testing. I hate IE as much as the next
> person, and dumped it for good a while back for personal use, but I
> still test in it. That is - for the moment - what a huge majority of
> your audience will use.
>
> Cheers,
> Jon

🔗monz <monz@...>

7/12/2004 7:47:01 PM

thanks Robert! that did the trick, at least for IE.

unfortunately, i'm using Opera as my default browser
and it still isn't working there.

-monz

--- In metatuning@yahoogroups.com, "Robert Walker" <robertwalker@n...>
wrote:
> Hi Monz,
>
> > http://tonalsoft.com/enc/fr_index.html
>
> Yes, enabling frame resizing can be tricky sometimes.
>
> Try:
>
> <frameset cols="20%,80%" frameborder="1" border=6 framespacing="1"
bordercolor="#006c00">
>
> where I've switched on frameborder and framespacing which you
> have switched off.

-monz

🔗Jon Szanto <JSZANTO@...>

7/12/2004 8:27:14 PM

monz,

--- In metatuning@yahoogroups.com, "monz" <monz@a...> wrote:
> thanks Robert! that did the trick, at least for IE.
>
> unfortunately, i'm using Opera as my default browser
> and it still isn't working there.

I see you've already read my advice. And, so that you know, it works
perfectly in Mozilla 1.7. That means the big boy and the next one
render it perfectly, and I personally stopped using Opera for browsing
(though I sometimes use it for the fine built-in Download Manager)
because there are a number of sites and styles of code that it does
*not* render correctly.

I strongly suggest you *not* use Opera as your default browser when
testing, just use it when you surf (if you wish). And also, as always,
when you let us know your browser...

...let us know the version number as well. Fairly large differences
between Opera 6.x and 7.x.

Glad you got it fixed! Say hi to Chris...

Cheers,
Jon

🔗Gene Ward Smith <gwsmith@...>

7/12/2004 9:32:59 PM

--- In metatuning@yahoogroups.com, "Jon Szanto" <JSZANTO@A...> wrote:

> I strongly suggest you *not* use Opera as your default browser when
> testing, just use it when you surf (if you wish). And also, as always,
> when you let us know your browser...

I suggest people posting to Yahoo using the web interface not use IE,
by the way. You can lose your posting unrecoverably much more easily
in IE than in Mozilla, which allows the back button to get it back,
and which will not nuke you because you were not connected when you
tried to post.