Jump to content

davywylie

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by davywylie

  1. <a name="partA">Part A</a> hasn't been needed since HTML 3Starting in HTML 4 any element could be used as a "jump point", thereby using less code in the source.Also, in XHTML the "name" attribute has been replaced with the "id" attribute.****Here are some examples for the above code that are all valid.<h1 id="partA">Part A</h1><h2 id="partA">Part A</h2><h3 id="partA">Part A</h3><h4 id="partA">Part A</h4><h5 id="partA">Part A</h5><h6 id="partA">Part A</h6><p id="partA">Part A</p><div id="partA">Part A</div>etc.

    yeh, but I where i want to jump to is in a different page. i have included "history.php/#C1" , which goes to the point fine, howver it does not include the font settings or images - instead text is in standard black
  2. Replace this tutorials table with the one you currently have, i just added style="left:90px" to it and it works ok.<table class="menu" id="tutorials" width="120" style="left:90px"><tr><td class="menu"><a href="history.php/#C2">HTML</a></td></tr><tr><td class="menu"><a href="history.php/#C3">XHTML</a></td></tr></td></tr></table>

    thanks, but is there ne way of havin it level with the menu option, and not starting on the one below
  3. I am trying to convert the horizontal menu, to a vertical one, but I am unable to get the sub menus to appear to the side of the main menu, can ne one help<html><head><style>body{font-family:arial;}table{font-size:80%;background:transparent}a{color:333333;text-decoration:none;font:bold}a:hover{color:#606060}td.menu{background:00cc66;}table.menu{font-size:100%;position:absolute;visibility:hidden;}</style><script type="text/javascript">function showmenu(elmnt){document.getElementById(elmnt).style.visibility="visible"}function hidemenu(elmnt){document.getElementById(elmnt).style.visibility="hidden"}</script></head><body><table width="15%"><tr bgcolor="cccccc"><td><a href="customeraccess.php">customer Login</a></td></tr> <tr bgcolor="cccccc"> <td onmouseover="showmenu('tutorials')" onmouseout="hidemenu('tutorials')"> <a href="/default.asp">Tutorials</a><br /> <table class="menu" id="tutorials" width="120"> <tr><td class="menu"><a href="history.php/#C2">HTML</a></td></tr> <tr><td class="menu"><a href="history.php/#C3">XHTML</a></td></tr> </td></tr></table> <tr bgcolor="cccccc"> <td onmouseover="showmenu('Categories')" onmouseout="hidemenu('Categories')"> <a href="customerviewProducts.php">Products</a><br /> <table class="menu" id="Categories" width="100"><?php require_once ('mysql_connect.php'); // Connect to the database.$dbQuery ="SELECT * FROM category" . " ORDER BY CategoryName ASC ";$result=mysql_query($dbQuery, $dbc);while ($dbRow=mysql_fetch_array($result)) {$name=$dbRow["CategoryName"];echo "<tr><td class=menu><A HREF=customerviewProducts.php?passCategory=$name>$name</A></td></tr>";}?> </td></tr></table><tr bgcolor="cccccc"><td><a href="welfare.php">Quality Assurance</a></td></tr><tr bgcolor="cccccc"><td><a href="newoffers.php">New Offers</a></td></tr><tr bgcolor="cccccc"><td><a href="addcustomer.php">Sign Up</a></td></tr></tr></table>

  4. hi,i have seen an exmaple in the html were you can jump to another part of doc on the same page.Is it possible to implement this within a menu - were the code is wrote on a separate script i.e.Menu2=new Array("How it Began","history.php","",3);Menu2_1=new Array("The Beginning","jump to beginning part in history.php","",0,20,150); the history file has the text in html format i.e headings(h2) and paragraphs(p)

  5. hi,I know I have sen this some were before but can I find it!! - what I need is within the nav menu I have sub menus which will bring to a certain position within the text. i.e there will be different paragraphs with titles. I am looking the link to bring u to that position within the .php page . Ne one know were I can get an example of this

  6. hi,currently I want to be able to add text to my site dynamically. at the mo I am adding it to a database, but when its viewed on the site, the writing looks untitdy. Is there ne way I can do this dynamically so that I have can the writing in paragraphs, have spaces, and justifyed etc.thanks in anticipationdavid

  7. hi,i am looking for an easy left navigation menu with sub menus that is easy to integrate into my code. my previous drop down menu was the following:<html><head><style>body{font-family:arial;}table{font-size:80%;background:black}a{color:black;text-decoration:none;font:bold}a:hover{color:#606060}td.menu{background:lightblue}table.menu{font-size:100%;position:absolute;visibility:hidden;}</style><script type="text/javascript">function showmenu(elmnt){document.getElementById(elmnt).style.visibility="visible"}function hidemenu(elmnt){document.getElementById(elmnt).style.visibility="hidden"}</script></head><body><h3>Drop down menu</h3><table width="100%"> <tr bgcolor="#FF8080"> <td onmouseover="showmenu('tutorials')" onmouseout="hidemenu('tutorials')"> <a href="/default.asp">Tutorials</a><br /> <table class="menu" id="tutorials" width="120"> <tr><td class="menu"><a href="/html/default.asp">HTML</a></td></tr> <tr><td class="menu"><a href="/xhtml/default.asp">XHTML</a></td></tr> <tr><td class="menu"><a href="/css/default.asp">CSS</a></td></tr> <tr><td class="menu"><a href="/xml/default.asp">XML</a></td></tr> <tr><td class="menu"><a href="/xsl/default.asp">XSL</a></td></tr> </table> </td> <td onmouseover="showmenu('scripting')" onmouseout="hidemenu('scripting')"> <a href="/default.asp">Scripting</a><br /> <table class="menu" id="scripting" width="120"> <tr><td class="menu"><a href="/js/default.asp">JavaScript</a></td></tr> <tr><td class="menu"><a href="/vbscript/default.asp">VBScript</a></td></tr> <tr><td class="menu"><a href="default.asp">DHTML</a></td></tr> <tr><td class="menu"><a href="/asp/default.asp">ASP</a></td></tr> <tr><td class="menu"><a href="/ado/default.asp">ADO</a></td></tr> </table> </td> <td onmouseover="showmenu('validation')" onmouseout="hidemenu('validation')"> <a href="/site/site_validate.asp">Validation</a><br /> <table class="menu" id="validation" width="120"> <tr><td class="menu"><a href="/site/site_validate.asp">Validate HTML</a></td></tr> <tr><td class="menu"><a href="/site/site_validate.asp">Validate XHTML</a></td></tr> <tr><td class="menu"><a href="/site/site_validate.asp">Validate CSS</a></td></tr> <tr><td class="menu"><a href="/site/site_validate.asp">Validate XML</a></td></tr> <tr><td class="menu"><a href="/site/site_validate.asp">Validate WML</a></td></tr> </table> </td> </tr></table></body></html>also is it possible to have the sub menus fade in??I would really appreciate help on this as I am no web expert

  8. hi,I have created a web site before using the drop down menu example with sub menus on this site. I am now creating a website for a local charity, and think that a left meu navigation is best suited to this type of site. does ne one have or know were to get free code that has a left navigation menu with mouse overs, and the option to have sub menus that fade in thanks in anticapationdavid

×
×
  • Create New...