Page view counter

html page to colorful AJAX page conversion

Last post 10-07-2008 12:45 AM by panky2sharma. 5 replies.

Sort Posts:

  • html page to colorful AJAX page conversion

    10-06-2008, 3:18 PM
    • Loading...
    • panky2sharma
    • Joined on 08-24-2008, 12:32 PM
    • Posts 9
    • Points 0

     

    Guys plz  help  Simple code , i  don't know AJAX much  plz helporiginal html page

     

     current  html page

     

    //* current  html code converting  into  pop up colorful AJAX page but   Script at call button must be working in AJAX page ,   

    <html>
    <head>
    <title>Call</title>
    <style type="text/css">this form will pop up & when user click on call it will request  server
    <!--
    #ybsw-normal-txheight {
            line-height: 14px;
    }
    .ybsw-table {
            margin: 0px;
            padding: 0px;
    }
    .ybsw-table table {
            border: 1px solid #999999;
            padding-left: 0px;
            padding-right: 0px;
    }
    .ybsw-table td {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            line-height: 26px;
            padding-left: 15px;
            padding-right: 15px;
    }
    .ybsw-table tr {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            line-height: 26px;
    }
    .ybsw-table th {
            background-color: #EEEEEE;
            vertical-align: middle;
            text-align: left;
            margin: 0px;
            padding-top: 8px;
            padding-right: 15px;
            padding-bottom: 8px;
            padding-left: 15px;
            font-family: Verdana;
            font-size: 11px;
            font-weight: bold;
            border-bottom-width: 1px;
            border-bottom-style: solid;
            border-bottom-color: #999999;
            line-height: 15px;
    }
    -->
    </style>
    </head>
    <body>
      <form action="http://212.23.236.118:8300/clickandcall.jsp" method="post">
              <input type="hidden" name="name" value="diloga">
          <input type="hidden" name="type" value="1">
      <div class="ybsw-table">
        <table width="760"  border="0" cellpadding="0" cellspacing="0">
          <th colspan="2">Enter you phone number and click on call to receive a call from one of our agents!</th>
          <tr>
            <td colspan="2" align="left"><font color="red"><b>#####</b></font></td>
          </tr>
          <tr><td colspan="2"><div id="ybsw-normal-txheight">Please enter your phone number in international format i.e Country code + City Code + Number.</b><br><br></div></td>
          <tr><td valign="top"><div align="left">Telephone Number:</div></td>
            <td align="left">
              <input type="text" name="phone" value="" size="40" maxlength="64"> (numerical characters only)
            </td>
          </tr>     
          <tr>
            <td colspan="2" align="center"> </td>
          </tr>
          <tr>
            <td colspan="2" align="left">
              <input type="submit" name="Submit" value="Call">
          <input type="reset" name="Reset" value="Reset">

            </td>
          </tr>
          <tr>
            <td colspan="2" align="center"> </td>
          </tr>
        </table>
      </div>
      </form>
    </body>
    </html>

  • Re: html page to colorful AJAX page conversion

    10-06-2008, 3:44 PM
    • Loading...
    • rtpHarry
    • Joined on 10-01-2006, 12:51 PM
    • Lincoln, England
    • Posts 3,364
    • Points 20,647

     First you would need to convert it to an asp.net page.

    Then you could start out with this page to constrain the input for the phone number:

    If you know some asp.net then you could get a good intro to ajax by watching some of these videos:

  • Re: html page to colorful AJAX page conversion

    10-06-2008, 10:55 PM
    • Loading...
    • panky2sharma
    • Joined on 08-24-2008, 12:32 PM
    • Posts 9
    • Points 0

     Thankx Harry

                    gr advice    but need more., But there is no submit buttton in there is no submit buton in  masked edit  http://www.asp.net/AJAX/AjaxControlToolkit/Samples/MaskedEdit/MaskedEdit.aspx

      how to create a submit  button & make this form poped up,small & in different colors.  One more thing  Current html form sent request back to desired sever. how  can i configure AN AJAX form to do so when somone click on a button.

                    Thanks

  • Re: html page to colorful AJAX page conversion

    10-06-2008, 11:01 PM
    • Loading...
    • panky2sharma
    • Joined on 08-24-2008, 12:32 PM
    • Posts 9
    • Points 0

     Can i use modal popup extender

     

    //****************** another problem   recently i installed AJAX toolkit  in VS2005   but in designer view when i drag a AJAX Extender on page  as  shown by "JOE "  in videos   my AJAX controls are not visible on the screen.I mean they do exist  but doest  able to show see them  not in dotted lines.

     

  • Re: html page to colorful AJAX page conversion

    10-06-2008, 11:15 PM
    • Loading...
    • panky2sharma
    • Joined on 08-24-2008, 12:32 PM
    • Posts 9
    • Points 0

     This is the current page but it is working . WhenCUrrent working page  some one click on call button it request desired server.  I want similar pop up in AJAX, Suppose it is a AP.NET page

  • Re: html page to colorful AJAX page conversion

    10-07-2008, 12:45 AM
    • Loading...
    • panky2sharma
    • Joined on 08-24-2008, 12:32 PM
    • Posts 9
    • Points 0



     
    <embed src="http://fliiby.com/embed/gadget.swf" wmode="transparent" bgcolor="#ffffff" width="360" height="330" allowscriptaccess="always" flashvars="&fileID=96316&fileShort=x9dopi0ndi" />



Page 1 of 1 (6 items)