HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Dropdown display underneath
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
SpAz



Joined: 23 Sep 2008
Posts: 3

PostPosted: Tue Sep 23, 2008 7:04 am     Dropdown display underneath Reply with quote

Ok, I have a helpsite for a game partially made up. I'm working on the admin area currently and am trying to make a Dropdown display on the upper portion of the admin panel.

What I want is to choose an option in the dropdown and have it load directly underneath the dropdown box for certain functions like adding, editing and deleting information from my database from lists or form pages I have made...

Can this be done to display those pages underneath or can it all be coded into one page as to where like..

Edit News > Gets and Displays News Edit Form
Add Item > Gets and Displays Item Add Form


and so on for each choice...

I used to know HTML coding real well until I stopped for about 3-4 years, now I'm learning it all over again...

If anyone can help me with this, I can show you my site and you can maybe figure things out a little better... perhaps we can talk over MSN or YIM as well so I can explain things better as well...


Something similar to this...

Code:
<script type="text/javascript">
   function showSelection(theList) {
      var selectedValue = theList.options[theList.selectedIndex].value;
      document.getElementById('contentDiv').innerHTML = selectedValue;
   }
</script>
<form>
  <select name="category" onChange="showSelection(this);">
    <option value=""> Select something </option>
    <option value="You selected category 1">Category1</option>
    <option value="You selected category 2">Category2</option>
    <option value="You selected category 3">Category3</option>
  </select>
</form>
<!--- this div will contain the selected list value --->
<div id="contentDiv"></div>


Except that I want it to display an actual page I have created...
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1390
Location: Biloxi, MS

PostPosted: Sun Nov 09, 2008 11:04 pm     Reply with quote

This might be what you want:

Dynamic Ajax Content
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial