var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: single navigation file
I was talking to some friends, who are just as new as me in programming, and they think it would be better to use a single navigation file for every link in a web site.
Something like this:
I told them I think this might be easier to maintain, but also might take up on loading time, as the site viewer will have to go through an extra node to get where he wants.
<a href="nav.php?id=home&otherparams" >Home</a>
<a href="nav.php?id=products&otherparams" >Products</a>
<a href="nav.php?id=contact&otherparams" >Contact</a>
Is this single navigation file a good practice or should it be avoided?
Thanks for any comments...
I am no expert on this but here are a few things to consider.
though that was not what I meant, it was very useful reading, m8. thanks a lot