I'm new to web development and have just created my first web site (<!-- w --><a class="postlink" href="http://www.fasterthanlight.co.uk">www.fasterthanlight.co.uk</a><!-- w -->). Don't have much content on it yet as I'm trying to get the layout sorted first.
I'm using FrontPage 2003 to create the site and Xara MenuMaker to create the menus.
I'm using FrontPage's shared borders to insert the menus and the site banner and wanted to know if this was a good idea or should I add it to my css file and if so, how.
I would like to use css for this as for MenuMaker to work properly I have to have all my pages in the root directory. The root is getting huge and I would like to tidy this up. If I can insert them using css, I believe I would only need the css file in the root.
Any help would be most appreciated.
Cheers.
If you mean what I think you mean, this is the answer:
CSS cannot insert content. CSS is for styling content - i.e. changing the appearance. To add content you need to use a server side language (SSI, PHP etc depending what your server supports), or Fontpage's shared borders (I don't know how that works but it sounds like dreamweavers template feature).
You could move some files into subdirectories if you wished, e.g. create a folder and move the file, however you would then have to insert the folder name before every reference to the file.I've tried creating a folder and then moving the file but every time I do this the menus disappear.
If I can't use css, can I insert a line in the page that will call up another file that contains the information to insert the menu.Like I said in my last post, to include content you really need a server side language like php, though ssi can also be used. Does your server support either of these?
This won't reduce the number of files in your root directory though. It will just save you re-entering the same code on every page.Sorry, just me being dense, just clicked what you meant.
I'm using 1&1 to host my site with the MS Business (?.99/month). I've found reference to SSI, ASP and FrontPage extentions.
I've never heard of server-side language so where could I find information on how to use it.Just found information that my host may support PHP.
Which would be better SSI or PHP and why.Had a look at my site and it appears that FrontPage creates a "_borders" folder and stores two HTML files in it "left" & "top". These are used for the shared borders.
My guess is that these are used for some form of frames page.
The .js file that contains the menu code appears to be correct.1&1 are good because I use them too... Same package as well actually!
can you take a screenshot of the root directory of your site? Jut to give me an idea of what we're looking at. Crop it so it's just the area of the files.
I think you could move the menu js file but it would have to change every reference to it. you would also have to move any images it calls.Here's the root snapshot.
For the breakdown of how I will store my files:
Universe->Star Wars->Characters
etc.
This site will eventually have 100's if not 1000's of pages so I really do not want them all in the root.So do you want to move the menu scripts into a subfolder or/and the pages you currently have in root?
Is the problem referring to the menu script via a series of folders?The problem I have it that when I move the pages from the root to folders so I can have a more organised layout the entire menu disappears.
I need some means of moving the pages and still keep the menu.What happens when you move one to a subfolder and change this line in it:
<script src=http://www.webdeveloper.com/forum/archive/index.php/"xaramenu.js"></script><script menumaker src="images/main_menu/cannister9.js"></script><noscript><img src="images/main_menu/Cannister9.gif?00A0B59E" editor="menumaker"></noscript>
to
<script src=http://www.webdeveloper.com/forum/archive/index.php/"../xaramenu.js"></script><script menumaker src="../images/main_menu/cannister9.js"></script><noscript><img src="../images/main_menu/Cannister9.gif?00A0B59E" editor="menumaker"></noscript>That line is only in one place which is the left border page. That page cannot be moved if shared borders are to work. I made the modification anyway and then the menu dissapeared from every page.
I suspect that for the menu to work, I will need to leave all the pages in the same place (especially if I use shared borders).
I think I will drop the shared borders as it appears to be some form of frames page when you use them, and I don't want to make heavy use of frames. I think an overhaul of the menus to a simpler system would be easier for my limited knowledge of javascript.
Thanks for trying anyway.
I'm using FrontPage 2003 to create the site and Xara MenuMaker to create the menus.
I'm using FrontPage's shared borders to insert the menus and the site banner and wanted to know if this was a good idea or should I add it to my css file and if so, how.
I would like to use css for this as for MenuMaker to work properly I have to have all my pages in the root directory. The root is getting huge and I would like to tidy this up. If I can insert them using css, I believe I would only need the css file in the root.
Any help would be most appreciated.
Cheers.
If you mean what I think you mean, this is the answer:
CSS cannot insert content. CSS is for styling content - i.e. changing the appearance. To add content you need to use a server side language (SSI, PHP etc depending what your server supports), or Fontpage's shared borders (I don't know how that works but it sounds like dreamweavers template feature).
You could move some files into subdirectories if you wished, e.g. create a folder and move the file, however you would then have to insert the folder name before every reference to the file.I've tried creating a folder and then moving the file but every time I do this the menus disappear.
If I can't use css, can I insert a line in the page that will call up another file that contains the information to insert the menu.Like I said in my last post, to include content you really need a server side language like php, though ssi can also be used. Does your server support either of these?
This won't reduce the number of files in your root directory though. It will just save you re-entering the same code on every page.Sorry, just me being dense, just clicked what you meant.
I'm using 1&1 to host my site with the MS Business (?.99/month). I've found reference to SSI, ASP and FrontPage extentions.
I've never heard of server-side language so where could I find information on how to use it.Just found information that my host may support PHP.
Which would be better SSI or PHP and why.Had a look at my site and it appears that FrontPage creates a "_borders" folder and stores two HTML files in it "left" & "top". These are used for the shared borders.
My guess is that these are used for some form of frames page.
The .js file that contains the menu code appears to be correct.1&1 are good because I use them too... Same package as well actually!
can you take a screenshot of the root directory of your site? Jut to give me an idea of what we're looking at. Crop it so it's just the area of the files.
I think you could move the menu js file but it would have to change every reference to it. you would also have to move any images it calls.Here's the root snapshot.
For the breakdown of how I will store my files:
Universe->Star Wars->Characters
etc.
This site will eventually have 100's if not 1000's of pages so I really do not want them all in the root.So do you want to move the menu scripts into a subfolder or/and the pages you currently have in root?
Is the problem referring to the menu script via a series of folders?The problem I have it that when I move the pages from the root to folders so I can have a more organised layout the entire menu disappears.
I need some means of moving the pages and still keep the menu.What happens when you move one to a subfolder and change this line in it:
<script src=http://www.webdeveloper.com/forum/archive/index.php/"xaramenu.js"></script><script menumaker src="images/main_menu/cannister9.js"></script><noscript><img src="images/main_menu/Cannister9.gif?00A0B59E" editor="menumaker"></noscript>
to
<script src=http://www.webdeveloper.com/forum/archive/index.php/"../xaramenu.js"></script><script menumaker src="../images/main_menu/cannister9.js"></script><noscript><img src="../images/main_menu/Cannister9.gif?00A0B59E" editor="menumaker"></noscript>That line is only in one place which is the left border page. That page cannot be moved if shared borders are to work. I made the modification anyway and then the menu dissapeared from every page.
I suspect that for the menu to work, I will need to leave all the pages in the same place (especially if I use shared borders).
I think I will drop the shared borders as it appears to be some form of frames page when you use them, and I don't want to make heavy use of frames. I think an overhaul of the menus to a simpler system would be easier for my limited knowledge of javascript.
Thanks for trying anyway.