Page 1 of 1
Positioning and drop box auto-update
Posted: Fri Apr 22, 2005 4:01 pm
by method_man
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
Posted: Fri Apr 22, 2005 4:13 pm
by thegreatone2176
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
Posted: Fri Apr 22, 2005 4:16 pm
by method_man
actually ive seen sites where u dont need a submit button for it to show up.
u just click the option on the scroll down bar and it shows up in the other column.
Posted: Fri Apr 22, 2005 4:18 pm
by bobsta63
thegreatone2176 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
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.com
thanks
Posted: Fri Apr 22, 2005 4:22 pm
by method_man
thanks,
matt
Posted: Fri Apr 22, 2005 4:22 pm
by bobsta63
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

Posted: Fri Apr 22, 2005 7:46 pm
by Chris Corbyn
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
Code: Select all
var selectEl = document.getElementById('theSelectBox')
var theValue = selectEl.optionsїselectEl.selectedIndex].value;
d11wtq