I am wanting to call a menu (java) from my style so it will appear in all pages calling the box.
Here is the box I want to insert the script in.
#navbox {
width: 150px; height: 400px;
margin: 5px;
padding: 5px;
border: dashed 1px #000000;
background:#000000;
}
Here is the Java Menu I want to call...It is in a subfolder in the main directory (Menu).
<script menumaker src=http://www.webdeveloper.com/forum/archive/index.php/"body.js"></script>If I know what you want, I think you're trying to use CSS for something it was never meant to be used for: Scripting.
You'll have to add event handlers to the HTML tags that should make the menus work. You'll probably want to use onmouseover="" and onmouseout="". Otherwise, check out Suckerfish Dropdowns (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/dropdowns">http://www.alistapart.com/articles/dropdowns</a><!-- m -->).
Here is the box I want to insert the script in.
#navbox {
width: 150px; height: 400px;
margin: 5px;
padding: 5px;
border: dashed 1px #000000;
background:#000000;
}
Here is the Java Menu I want to call...It is in a subfolder in the main directory (Menu).
<script menumaker src=http://www.webdeveloper.com/forum/archive/index.php/"body.js"></script>If I know what you want, I think you're trying to use CSS for something it was never meant to be used for: Scripting.
You'll have to add event handlers to the HTML tags that should make the menus work. You'll probably want to use onmouseover="" and onmouseout="". Otherwise, check out Suckerfish Dropdowns (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/dropdowns">http://www.alistapart.com/articles/dropdowns</a><!-- m -->).