Appending Ends on HTML Links

08-14-2002, 08:08 PM
Alright, on my new site design, when a button on the top nav menu, it will target the iframes called main and menu. Main is where the main site goes and menu is where the sub menu for that category goes. What I want to do is have it so when the category is clicked, the only text it sends is the name like home, forums, etc. But when it gets to the main and menu area, it appends either a .php (for main) or a -menu.php on it for the menu.

This way when the top menu is clicked on the home icon, it sends the word home. The main iframe loads the page called Home.php and the Menu iframe loads the Home-Menu.php anyone know how to do this?

Second Question

Im having an HTML problem. This is what I got. I want 5 images RIGHT next to each other with no gaps in between them. But to make it visibly nice to look at my code, i put them on seperate lines. No <BR> no <p>, just seperate lines.

<img src="blah.gif">
<img src="blah1.gif">
<img src="blah2.gif">
<img src="blah3.gif">
<img src="blah4.gif">

Isnt there some kinda symbol or something I can put to make it be able to stay like that but also not have spaces?

Derek Stone
08-14-2002, 09:44 PM
<img src="a.jpg" width="20" height="20" hspace="0" vspace="0" border="0" align="left">

08-14-2002, 09:45 PM
Thanks, I will go try it now. Why must the width and height be specified and what is hspace and vspace?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum