M
Michelle
I have tried every variation of the "onchange" statement below without
any actual reloading of the page: The FireFox javaScript Console reports
the following message:
Error: missing : in conditional expression
Source Code:
location.href=themes.php?scheme=(form.color_schemes.options[form.color_schemes.selectedIndex].value)
My Code for the dropdown box is:
<form name='color_schemes' method='post' action='themes.php' >
Select a scheme:
<select name='scheme' size='1'
onchange='location.href=themes.php?scheme=(form.color_schemes.options[form.color_schemes.selectedIndex].value)'>
<option value =' 1'>Dark Gray background, Black fonts and Blue/Gray cell
colors</option>
<option value =' 2'>Dark Blue background, Black fonts and Blue/Gray cell
colors</option>
<option value =' 3'>Gray background, Black and Green fonts and Green
cell colors</option>
<option value =' 4'>Light Gray background, Dark Blue fonts and Cyan/Teal
cell colors</option>
<option value =' 5'>Light Gray background, Dark Blue fonts and Light
Blue cell colors</option>
<option value =' 6'>White background, Black fonts, Outset Borders and
Red/Rose menu headings</option>
<option value =' 7'>White background, Black fonts, Outset Borders and
Blue menu headings</option>
<option value =' 8'>White background, Black fonts and Blue/Light Gray
cell colors</option>
I would appreciate any advice...its probably something that is very
trivial and a very glaring defect, but I am blind to it.
Thanks,
Miki
any actual reloading of the page: The FireFox javaScript Console reports
the following message:
Error: missing : in conditional expression
Source Code:
location.href=themes.php?scheme=(form.color_schemes.options[form.color_schemes.selectedIndex].value)
My Code for the dropdown box is:
<form name='color_schemes' method='post' action='themes.php' >
Select a scheme:
<select name='scheme' size='1'
onchange='location.href=themes.php?scheme=(form.color_schemes.options[form.color_schemes.selectedIndex].value)'>
<option value =' 1'>Dark Gray background, Black fonts and Blue/Gray cell
colors</option>
<option value =' 2'>Dark Blue background, Black fonts and Blue/Gray cell
colors</option>
<option value =' 3'>Gray background, Black and Green fonts and Green
cell colors</option>
<option value =' 4'>Light Gray background, Dark Blue fonts and Cyan/Teal
cell colors</option>
<option value =' 5'>Light Gray background, Dark Blue fonts and Light
Blue cell colors</option>
<option value =' 6'>White background, Black fonts, Outset Borders and
Red/Rose menu headings</option>
<option value =' 7'>White background, Black fonts, Outset Borders and
Blue menu headings</option>
<option value =' 8'>White background, Black fonts and Blue/Light Gray
cell colors</option>
I would appreciate any advice...its probably something that is very
trivial and a very glaring defect, but I am blind to it.
Thanks,
Miki