How to create a web page with scrolling menus to specific entries

Reply

Join Date: Mar 2005
Posts: 5
Reputation: aromes is an unknown quantity at this point 
Solved Threads: 0
aromes aromes is offline Offline
Newbie Poster

How to create a web page with scrolling menus to specific entries

 
0
  #1
Mar 11th, 2005
Hi,

I need a simple web page with following scrolling menu
that has following choices:

-My network nodes (by their ips)
-My network nodes (by their host names)
-My network nodes (by their locations)

for the 1st choice, the html page that will be displayed would be "ips.html"
for the 2nd choice, the html page would be "hosts.html"
for 3rd choice, the referred web page would be "locations.html"


The reason is that I need people of my network to be able to
access the list of our computers by ips, host names..etc

I have an idea how to create the scrolling menu, but I dont know
how to link the 3 choices of that menu to my 3 corresponding
html pages.
If that's not possible with HTML, please guide me with an easy alternative
using of course html and other simple scripting

Thanks for helping.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: How to create a web page with scrolling menus to specific entries

 
0
  #2
Mar 12th, 2005
This should do it

HTML and CSS Syntax (Toggle Plain Text)
  1. <html>
  2.  
  3. <head>
  4. <title>Network Nodes</title>
  5. <meta name="generator" content="Namo WebEditor v4.0">
  6. <script language="javascript">
  7. function submitForm()
  8. {
  9. //get selected page from listbox
  10. var page = document.forms[0].listby.value;
  11. //set it as the action page for this form
  12. document.forms[0].action = page
  13. //submit the form
  14. document.forms[0].submit()
  15. }
  16. </script>
  17. </head>
  18.  
  19. <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
  20. <form method="get" name="nodeselect">
  21. <h1>List Network Nodes By</h1>
  22. <select id="listby">
  23. <option value="ip.htm">-My network nodes (by their ips)</option>
  24. <option value="host.htm">-My network nodes (by their host names)t</option>
  25. <option value="location.htm">-My network nodes (by their locations)</option>
  26. </select>
  27. <input type="button" name="go" value="go" onClick="submitForm();">
  28. </form>
  29. </body>
  30.  
  31. </html>

Originally Posted by aromes
Hi,

I need a simple web page with following scrolling menu
that has following choices:

-My network nodes (by their ips)
-My network nodes (by their host names)
-My network nodes (by their locations)

for the 1st choice, the html page that will be displayed would be "ips.html"
for the 2nd choice, the html page would be "hosts.html"
for 3rd choice, the referred web page would be "locations.html"


The reason is that I need people of my network to be able to
access the list of our computers by ips, host names..etc

I have an idea how to create the scrolling menu, but I dont know
how to link the 3 choices of that menu to my 3 corresponding
html pages.
If that's not possible with HTML, please guide me with an easy alternative
using of course html and other simple scripting

Thanks for helping.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC