Hey, I've been having difficulty with my layout since it's made with frames. The menu frame scrolls down the left but i want it to be the whole website that scrolls and not the menu atall so that the menu is just a plain frame with no scrolling. anyways this is the code for the frames: </frameset> <frameset rows="25<?php if ($fetch->bar == "1"){ ?>,*<? } ?>" cols="*" framespacing="0" frameborder="NO" border="0"> <?php if ($fetch->bar == "1"){ ?><frame src="" name="topFrame" scrolling="NO" noresize ><? } ?> <frameset rows="*" cols="187,*" framespacing="0" frameborder="NO" border="0"> <frame src="menu.php" name="leftFrame" noresize> <frame src="updates.php" name="mainFrame"> </frameset> </frameset> </frameset> <noframes></noframes> Any suggestions? Thanks Henry
I don't understand your problem. First off, I'd get rid of the frames. This can easily be accomplished through CSS/JS and your website will be easier to maintain and more SEO friendly. As I said, I don't fully understand what you're trying to accomplish (please rephrase), but it looks like to me your IF statements are mixed up. The first IF statement should be <?php if ($fetch->bar=="1"){?>25<?php } ?>
what im trying to do is make the frame for the menu so that there is no scrollbar on it, and so that the whole webpage scrolls and not the menu frame
Ok, got it. thanks. Do you have an example link? Did you trying switching the if statement as I mentioned?
oh ok, so would I just be best off if I deleted the frame and just had plain HTML? because that meens I would have to put something like<?php include("main.php");?> on every file and there is over 600 files !
That is definitely what I would do. You should probably have some sort of header and footer include on your files anyway (for future reference), in case these kind of things come up. You can also use a mutli-file search and replace like the one in Dreamweaver or search for some free utility online.
yes I have dreamweaver. I do have a header, it is in the frame work, you see where it says mini.php, thats the header Anyway thanks Xemion! Good help! ANYONE WHO READ, I RECOMEND THIS PERSON FOR PROGRAMMING!