hi all,

I am new to web development but have managed to develop a database driven tree menu. The problem is that even though I enabled scrolling in my menu frame, content is not very nicely readable as it goes to the second child level and the file names are quiet long.

I was just wondering if there is any way of Frame auto resize such if the content goes beyond the origional width the frame automatically resize - i.e not the scrolling but the frame width.

It will be great if some one could answer this one.

Regards,

Sameer.

Frames are dead and buried
have been superseded for most uses by shtml includes, (shtml php asp)
as an include your menu would be in the page, and not need any sizing

Hi there,

Can please tell me how can I achive it? Any tutorial or some guiedlines.


Thanks,

Sameer.

May be some errors, this my understanding
ssi php asp, are, dunno, extensions to html I suppose
ssi php asp includes provide a templating system,
never sure what words to usethey run on the server and output html pages
if all the pages carry the same header and menu and footer and the content is different
then in php it can be

<?php 
include ('header.php');
include ('menu.php');
?>
<!-- 
regular html for the body 
as long or as short as you need
-->
<?php include ('footer.php'); ?>

header.php includes the doctype declarations necessary for proper html validation, css, scripts, et al.
footer php likewise
menu php is a menu

>=thousands of pages all with the same theme
when you need to alter it you only need to alter 1 file
framesets or Iframes need to be tweaked on different screens and browsers to get the look right.

the output to the browser is complete syntactically correct html, tailored to OS capability (if the author is good) by the headers sent when the browser requests the page.

Choice of language depends on the support given by the host, Apache/linux mostly use php
MS mostly ASP
just about everybody can use shtml, but the other two seem more capable (personal opinion, no supporting data)
server languages can produce web sites, without much input, just from directory lists,
drop a file in the root, - menu
drop a file in a folder of images, - slideshow
drop a file in a folder of movies, - utube clone

Depending on what your server supports: a script to do what you want is already sitting on HotScripts.com or CNet.com (or one of the other repositories) waiting for download

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.