473,657 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frames -- Disable/Enable Menus

Hi All,
Currently i am working in a framed environment where i have
divided the window as 20% and 80% and the 20% is used for navigation
purpose and right frame for displaying the orignal content. Now i want
to Disable ad Enable the menu items which are placed in the left frame
for navigation purpose.

Can any of you input me with any idea as how to proceed? If you
need any other information then please let me know.

Thanks!
Jun 27 '08
56 3819
In article <e1************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:
In article <34************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
Again with my favorite analogy,
why would a lumberjack cling to his ax after the development of the
chainsaw?
Because it is easy to carry and much easier to sharpen and is much less
dangerous. Any other analogies?

Obviously you've never chopped down a tree with an ax.
This is not at all obvious. What is obvious is that you have never been
to the NSW Royal Easter Show to see what a true blue can do with an axe
and fast!

Perhaps you have never climbed a tree to bring down a branch as thick as
a tree and taken up an axe or a simple bow saw for the job because these
are much easier and lighter and safer! A good bow saw cutting a branch
is easier than is supposed, the weight of the branch opening up the cut
nicely.

The development of the chain saw does not preclude the use of simpler or
older tools.

--
dorayme
Jun 27 '08 #11
dorayme wrote:
In article <e1************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
>dorayme wrote:
>>In article <34************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:

Again with my favorite analogy,
why would a lumberjack cling to his ax after the development of the
chainsaw?
Because it is easy to carry and much easier to sharpen and is much less
dangerous. Any other analogies?
Obviously you've never chopped down a tree with an ax.

This is not at all obvious. What is obvious is that you have never been
to the NSW Royal Easter Show to see what a true blue can do with an axe
and fast!
No, but I *obviously* a true blue can do the same much faster and easier
with a saw.
>
Perhaps you have never climbed a tree to bring down a branch as thick as
a tree and taken up an axe
Use them with both feet on the ground. Axes while in a tree is not a
good combination.
or a simple bow saw for the job because these
are much easier and lighter and safer! A good bow saw cutting a branch
is easier than is supposed, the weight of the branch opening up the cut
nicely.
I use a bow saw.
>
The development of the chain saw does not preclude the use of simpler or
older tools.
If the objective is to drop a tree, and there is an ax and a saw before
you, unless one is a masochist, the obvious choice is the saw.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #12
dorayme wrote:
In article <e1************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
>dorayme wrote:
>>In article <34************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:

Again with my favorite analogy,
why would a lumberjack cling to his ax after the development of the
chainsaw?
Because it is easy to carry and much easier to sharpen and is much less
dangerous. Any other analogies?
Obviously you've never chopped down a tree with an ax.

This is not at all obvious. What is obvious is that you have never been
to the NSW Royal Easter Show to see what a true blue can do with an axe
and fast!
Ask that competition performer to keep that up all day long like that.
He can't. But he could with a chain saw. Ever hear the old folk song
"John Henry?"
Perhaps you have never climbed a tree to bring down a branch as thick as
a tree and taken up an axe or a simple bow saw for the job because these
are much easier and lighter and safer! A good bow saw cutting a branch
is easier than is supposed, the weight of the branch opening up the cut
nicely.
Nonsense. I have. Give me the chain saw every time. I'll do it faster
and easier.
The development of the chain saw does not preclude the use of simpler or
older tools.
No, it does not. The choice of tools, however, has nothing to do with
the existence of the tools. you are confusing, or deliberately
obfuscating, the differences.

Normally I ignore your faults in logic because you are being somehow
charming or amusing. Don't abuse the leeway you're being afforded.

--
Ed Mullen
http://edmullen.net
How good bad music and bad reasons sound when we march against an enemy.
- Friedrich Nietzsche
Jun 27 '08 #13
In article <e4************ *************** @NAXS.COM>,
"Jonathan N. Little" <lw*****@centra l.netwrote:
dorayme wrote:

The development of the chain saw does not preclude the use of simpler or
older tools.

If the objective is to drop a tree, and there is an ax and a saw before
you, unless one is a masochist, the obvious choice is the [chain] saw.
Not if your big burly axe-murderer neighbour is asleep... (though there
is a remedy here, you cut so it falls over his bed-room and kill two ...)

Anyway, chainsaws remind me of the Irish migrant seeking work in an
Australian forestry company. Have you any experience asks the boss. No.
O well, look, 'ave a go but remember, it is piece work and goes by the
number of trees you fell. He hands him the chainsaw.

End of the day the boss asks him how many and Paddy says, well, just
one! The boss shakes his head and pays him a miserable amount and says
to come again if he really needs to! Paddy comes again next day and
manages two trees. The boss says to come next day and he will go out
with him to see if he can give him some tips on technique.

Day comes and they set out into the forest and the boss grabs the saw
and says "Now, watch my sawing angle and pressure..." as he pulls the
chord to start the thing. The Irishman jumps back in fright and screams
"What's that noise?"

--
dorayme
Jun 27 '08 #14
Chris Morris wrote:
"Jonathan N. Little" <lw*****@centra l.netwrites:
>Oh and additionally, now that server-side is so cheap, developed, and
now ubiquitous, server-side inclusion beats frames in efficiency and
function in the same manner...there is no reason in my opinion to ever
use frames unless your are stuck with hosting that doesn't even offer
server-side, (but even that is a lame excuse with so many free servers
with php out there).

That said, if you're only doing a bit of templating to replace frames,
an offline preprocessor is probably a better way to make the site. PHP
would be like using a chainsaw to chop through a twig, and about as
safe.
If we have a 1/2 dozen pages maybe, but every time you make a change an
edit your have to re-preprocess and upload the entire site gets old
really fast.

<html>
<head>...</head>
<body>
<?php
include_once('i ncludes/banner.inc.php' );
include_once('i ncludes/nav.inc.php');
?>

.... rest of page ...

<?php include_once('i ncludes/footer.inc.php' ); ?>
</body>
</html>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #15

dorayme wrote:
In article <67************ *@mid.individua l.net>,
Bergamot <be******@visi. comwrote:
>If you asked how you could shoot yourself in the foot, don't you think
we'd rather talk you out of it than provide step-by-step instructions?

Welcome to the hysterical
Hysterical? Hardly. You're the one who sounds hysterical.
fundamentalisms that liken using frames to
shooting oneself.
Um, it was only an example that better illustrates the *discussion* part
of this discussion group than merely stating "frames are bad".

You're only whining about it because it was I who said it.

--
Berg
Jun 27 '08 #16

Jonathan N. Little wrote:
Chris Morris wrote:
>>
That said, if you're only doing a bit of templating to replace frames,
an offline preprocessor is probably a better way to make the site.

If we have a 1/2 dozen pages maybe, but every time you make a change an
edit your have to re-preprocess and upload the entire site
FWIW, I've been using a preprocessor for years. It's great for small
sites that only get periodic content changes. You only need to
re-preprocess everything if you make a change to one of the common
libraries, like the navbar. Changing text on a single page only needs
that one page redone.

I wouldn't recommend a preprocessor for a large site, but it's great for
smaller ones.
<body>
<?php
include_once('i ncludes/banner.inc.php' );
include_once('i ncludes/nav.inc.php');
?>

... rest of page ...

<?php include_once('i ncludes/footer.inc.php' ); ?>
</body>
That's not really any different from my preprocessor includes, except
they're not php.

--
Berg
Jun 27 '08 #17
Bergamot wrote:
That's not really any different from my preprocessor includes, except
they're not php.
And you don't have to pre-process...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #18
Bergamot wrote:
Petr Vileta wrote:
>Jonathan N. Little wrote:
>>>
http://www.google.com/search?hl=en&q...il&btnG=Search
why frames are evil - Google Search

Yes, I know it, but original question was be about "How to do for
frames" ;-)

If you asked how you could shoot yourself in the foot, don't you think
we'd rather talk you out of it than provide step-by-step instructions?
Maybe my English is too bad but I don't understand what you wanted to say.
Somebody asked a solution for frame style pages and I wrote my ideas. What I
did wrong?
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)

Please reply to <petr AT practisoft DOT cz>

Jun 27 '08 #19
Jonathan N. Little wrote:
Again with my favorite
analogy, why would a lumberjack cling to his ax after the development
of the chainsaw?
I don't know any lumberjack and don't know why he prefer to use ax instead of
chainsaw :-) Maybe he want to have well-developed body, maybe he don't like
roaring noise, maybe he don't have money to buy gasoline.
But back to IT world. Maybe author of question not have access to use server
side solution, maybe he not have knowledge to do it, maybe a pages are too
simple to solve it in other way then frames.
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)

Please reply to <petr AT practisoft DOT cz>

Jun 27 '08 #20

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

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.