| 
 Posted by Adrienne Boswell on 03/05/07 03:57 
Gazing into my crystal ball I observed "the red dot" <red@dot.spot> 
writing in news:yJCdncQCD-_83nbYRVnytAA@eclipse.net.uk:  
 
>  
> "Adrienne Boswell" <arbpen@yahoo.com> wrote in message 
> news:Xns98E98C758EC32arbpenyahoocom@69.28.186.121... 
>> Gazing into my crystal ball I observed "the red dot" <red@dot.spot> 
>> writing in news:SoWdnZ3qus8etnbYnZ2dnUVZ8s-qnZ2d@eclipse.net.uk: 
>> 
>> > this is driving me crazy but i am trying to find some examples of a 
>> drop 
>> > down selection box with a go button that doesnt use javascript... 
>> > is  
>> this 
>> > possible or am i barking up a very wrong tree? 
>> > 
>> > 
>> 
>> What's wrong with plain links? What about users without javascript 
>> (Google comes to mind)? How about: 
>> 
> im attempting to find a way to do it without javascript 
> plain links will mess up design/layout especially as the film titles 
> are a bit long in some case so if a user increases the font size too 
> much the whole thing will go mad 
 
Yup, I see what you mean.  Can you do it server side, and not be  
dependent on js at all? 
 
<form method="post" action="<?php_self?>" 
<fieldset> 
<legend>Choose a Film</legend> 
<label for="film">Title: </label> 
<select name="film" id="film" onchange="this.form.submit();"> 
 <option value="#"></option> 
 <option value="#">Fighting the Taliban</option> 
 <option value="#">Meeting the Taliban</option> 
 <option value="php/afghan.php">Afghan Ladies' Driving School</option> 
</select> 
 <input type="submit" "value="GO" /> 
</fieldset> 
</form> 
 
This will work for js browsers and non-jsbrowsers.  Just put a little  
php at the top looking for what the script submitted, and redirect from  
there. 
  
 
--  
Adrienne Boswell at Home 
Arbpen Web Site Design Services 
http://www.cavalcade-of-coding.info 
Please respond to the group so others can share
 
  
Navigation:
[Reply to this message] 
 |