Hi All,

Hope this is the right place to post this type of issue, if not please let 
me know.

Secondly I do not know what I'm doing, I just keep at it until I get what I 
want... Just having a go!

I have been using iUi for a while not to control the lights in my house, 
On, Off & level commands are all ok however the ramp to % commands are a 
little old, for the want of a better word, See attached. 

I have installed the latest version, Release 0.40 Beta Release 1 

What I'm trying to do now is to have a form to select the ramp level & then 
submit this level, in the form of a link.

What ever I do the form will not work, the same href works as a button.

The page below is a copy from an existing working page, with the new iUi 
updates etc...

Any help will be welcome...

Thanks,

Steve...

---  My working page   ---

<html>

<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, 
maximum-scale=1.0, user-scalable=0"/>
  <link rel="icon" type="image/png" href="iui/iui-favicon.png">
  <link rel="apple-touch-icon" href="iui/iui-logo-touch-icon.png" />
  <link rel="stylesheet" href="iui/iui.css" type="text/css" />
  <link rel="stylesheet" title="Default" 
href="iui/t/default/default-theme.css"  type="text/css"/>
  <link rel="stylesheet" href="css/iui-panel-list.css" type="text/css" />
  <style type="text/css">
.panel p.normalText { text-align: left;  padding: 0 10px 0 10px; }
  </style>
</head>

<body>
    <div class="toolbar">
        <h1 id="pageTitle">Bed 2..</h1>
        <a id="backButton" class="button" href="#"></a>
    </div>
<div id="home" class="panel" title="Lights" selected="true">
  <h2>Bed 2 Lights</h2>
  <fieldset>
    <a class="whiteButton" 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~get_1/56/2_level~Bed%202%20Light_Off~Bed%202%20Light_Level_=_%7bpercent%7d~Bed%202%20Light_On";
 
target="_self">Light Level</a>
<h1> </h1>
<a class="redButton" 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~on_1/56/2";>Light
 
On</a>
<h1> </h1>
<a class="grayButton" 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~off_1/56/2";>Light
 
Off</a>
<h1> </h1>
</fieldset>
<form id="bed2light" title="Bed 2 Light" class="panel" selected="true">
<fieldset> 
  <div class="row">
         <label for="select">Ramp Level</label>
         <select id="select" name="selectname" size="1" selected="true">
<option value="item1">Select</option>
<option 
value="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_51_0";>20%</option>
            <option value=<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_77_0";>30%</a></li></option>
            <option 
value=href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_102_0";>40%</option>
            <option value=<a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_128_0";>50%</a></option>
            <option 
value="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_153_0";>60%</option>
            <option 
value="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_179_0";>70%</option>
            <option 
value="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_204_0";>80%</option>
            <option 
value="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_230_0";>90%</option>
         </select>
 <h1> </h1>
  <a class="whiteButton" type="submit" href="#">Ramp to Button</a>
      </div>


</form>
  </fieldset>
<a class="whiteButton" type="submit" 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_153_0";>Ramp
 
to 60%</a>
 <h1> </h1>

  <fieldset>
<ul id="bed2" title="Bed 2">
    <li><a class="whiteButton" 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~run_bed2off";>Bed
 
2 Off</a></li>
    <li><a href="#bed2fan" target="_replaceinner">Bed 2 Fan</a></li>
    <li class="group">Bedroom 2 Light</li>
  <li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~get_1/56/2_level~Bed%202%20Light_Off~Bed%202%20Light_Level_=_%7bpercent%7d~Bed%202%20Light_On";
 
target="_self">Light Level</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~on_1/56/2";>Light
 
On</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~off_1/56/2";>Light
 
Off</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_51_0";>Light
 
to 20%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_77_0";>Light
 
to 30%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_102_0";>Light
 
to 40%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_128_0";>Light
 
to 50%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_153_0";>Light
 
to 60%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_179_0";>Light
 
to 70%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_204_0";>Light
 
to 80%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/2_230_0";>Light
 
to 90%</a></li>
</ul>

<ul id="bed2fan" title="Bed 2 Fan">
    <li class="group">Bedroom 2 Fan</li>
  <li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~get_1/56/35_level~Bed%202%20Fan_Off~Bed%202%20Fan_Level_=_%7bpercent%7d~Bed%202%20Fan_On";
 
target="_self">Fan Level</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~on_1/56/35";>Fan
 
On</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~off_1/56/35";>Fan
 
Off</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_51_0";>Fan
 
to 20%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_77_0";>Fan
 
to 30%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_102_0";>Fan
 
to 40%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_128_0";>Fan
 
to 50%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_153_0";>Fan
 
to 60%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_179_0";>Fan
 
to 70%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_204_0";>Fan
 
to 80%</a></li>
<li><a 
href="http://192.168.1.19/cgi-bin/CGateCGI.exe?192.168.1.19:20023~ramp_1/56/35_230_0";>Fan
 
to 90%</a></li>
</ul>


  </fieldset>

</body>

</html>


-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/iphonewebdev/-/a7m43eMHIO4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

<<attachment: IMG_5572.jpg>>

Reply via email to