I have two questions,
1. How can I have the drop down box be at the top of the left column
and
2. How can I have what you click on in the drop down box apear in the right column?
Here is the url.
http://twarowsk.freeownhost.com/mnsite/ ... _page.html
thanks,
matt
Positioning and drop box auto-update
Moderator: General Moderators
-
method_man
- Forum Contributor
- Posts: 257
- Joined: Sat Mar 19, 2005 1:38 am
-
thegreatone2176
- Forum Contributor
- Posts: 102
- Joined: Sun Jul 11, 2004 1:27 pm
-
method_man
- Forum Contributor
- Posts: 257
- Joined: Sat Mar 19, 2005 1:38 am
Yer I know for a fact that you can have a drop down memnu and then once you have selected the option it then automatically submits the data however I think you need abit of Javascript in their somewhere I think they refer to the Javascript as a Jump Box and you could prob download the code from a script site like http://www.hotscripts.comthegreatone2176 wrote:well for one i believe you will need a submit button to send the data. also your page is .html its going to need to be .php
then learn how to handle variables and include whatever data is in those galleries
You could prob do your thing using a http variable for example:
<Form method="post" action="thispage.php?msg=OptionX">
Then set up a simple $HTTP_GET_VARS func, then post msg like
Im pretty sure that would work, Well atleast something like that.
Soz if that don't work im just trying to help
<Form method="post" action="thispage.php?msg=OptionX">
Then set up a simple $HTTP_GET_VARS func, then post msg like
Code: Select all
<?php echo['msg'] ?>Soz if that don't work im just trying to help
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
method_man please edit your thread title!
"help please" tells us absolutely nothing about your problem
(done!)
Your link goes to CPanel even if cut & pasted.
Yes you will need javascript to get a select box option's value to appear elsewhere in the page without a submission to the server.
There's a number of way you can do. I'd suggest using innerHTML in some block level element.
The select box value will be something like
d11wtq
"help please" tells us absolutely nothing about your problem
Your link goes to CPanel even if cut & pasted.
Yes you will need javascript to get a select box option's value to appear elsewhere in the page without a submission to the server.
There's a number of way you can do. I'd suggest using innerHTML in some block level element.
The select box value will be something like
Code: Select all
var selectEl = document.getElementById('theSelectBox')
var theValue = selectEl.optionsїselectEl.selectedIndex].value;