![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. There is two possible ways to do it. |
#3
| |||
| |||
|
|
Second way is to use scripts (Perl CGI or PHP) to generate frameset and left page. In this case you must use links to frameset with parameters and this script (for generating frameset) pass paramaters to other script for generating left menu. This way is relatively more complex but work even if user have javascript disabled. |
#4
| |||
| |||
|
|
Petr Vileta wrote: Second way is to use scripts (Perl CGI or PHP) to generate frameset and left page. In this case you must use links to frameset with parameters and this script (for generating frameset) pass paramaters to other script for generating left menu. This way is relatively more complex but work even if user have javascript disabled. If doing it this way then dispense with frames all together! http://www.google.com/search?hl=en&q...=Google+Search how to include one html file in another - Google Search http://www.google.com/search?hl=en&q...il&btnG=Search why frames are evil - Google Search |
#5
| |||
| |||
|
|
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" ;-) |
|
(see Subject) |

#6
| |||
| |||
|
|
Jonathan N. Little wrote: Petr Vileta wrote: Second way is to use scripts (Perl CGI or PHP) to generate frameset and left page. In this case you must use links to frameset with parameters and this script (for generating frameset) pass paramaters to other script for generating left menu. This way is relatively more complex but work even if user have javascript disabled. If doing it this way then dispense with frames all together! http://www.google.com/search?hl=en&q...=Google+Search how to include one html file in another - Google Search 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" ;-) (see Subject) |
#7
| |||
| |||
|
|
Deepan HTML wrote: 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. There is two possible ways to do it. First way is to use javascript and it is relatively simple. You define javascript function to control menu item status and call it as onload() at all right pages with 2 parameters - item id and needed state. For example body onload="setmenu('first','disable')" This way you can use for static html pages. |
#8
| |||
| |||
|
|
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? (see Subject) Welcome to Usenet. ![]() |
#9
| |||
| |||
|
|
Again with my favorite analogy, why would a lumberjack cling to his ax after the development of the chainsaw? |
#10
| |||
| |||
|
|
In article <3434f$480de160$40cba7d0$10126 (AT) NAXS (DOT) COM>, "Jonathan N. Little" <lws4art (AT) central (DOT) net> wrote: 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? |
![]() |
| Thread Tools | |
| Display Modes | |
| |