Thursday, May 7, 2015

Indian Visa all html Code Collection !!!




Today I'm sharing Indian visa all important html code with you guys  .
Actually My friend Mridul Kanti Ghosh Just upload This on his blog And I'm going to share this with you guys!!!!


1.Indian visa Console BGD session code:


/* Creating an object rstSsn */

var rstSsn = {};

rstSsn.refCptch = function () {
    try {
        var d = new Date(),
            n = d.getTime(),
            locTime = d.toLocaleTimeString();
        rstSsn.cpt.src = "Rimage.jsp?rand=" + n;
        rstSsn.vwCptRldTime.innerHTML = "Captcha reloaded at: " + locTime;
    } catch (e) {
        alert(e);
    }
    return false;
}

rstSsn.delay = prompt("Enter minutes to continue keeping session", "") * 60 * 1000;

rstSsn.atRld = function () {
    rstSsn.rldBtn.click();
    setTimeout(rstSsn.atRld, rstSsn.delay);
    return false;

}

rstSsn.rmvTr = [
document.getElementsByTagName('tr')[0],
document.getElementsByTagName('tr')[7],
document.getElementsByTagName('tr')[8],
document.getElementsByTagName('tr')[9],
];

for (var i = 0; i < rstSsn.rmvTr.length; i++) {
    rstSsn.rmvTr[i].setAttribute('style', 'display: none');

}

rstSsn.gtAptWrp = document.createElement('div');
rstSsn.gtAptWrp.id = 'gtAptWrp';
rstSsn.gtAptWrp.setAttribute('style', 'width: 80%; margin: 0 auto;');

rstSsn.cpt = document.createElement('img');
rstSsn.cpt.src = "Rimage.jsp";
rstSsn.cpt.alt = "Develped by NIC, New Delhi";
rstSsn.cpt.width = 150;
rstSsn.cpt.height = 35;
rstSsn.cpt.border = 0;

rstSsn.date = prompt('Enter your expected appointment date(DD/MM/YYYY)', '');

rstSsn.select = document.createElement('select');
rstSsn.select.name = 'DATE';
rstSsn.select.size = '1';



rstSsn.select.option = document.createElement('option');
rstSsn.select.option.value = rstSsn.date;
rstSsn.select.option.title = rstSsn.date;
rstSsn.select.option.innerHTML = rstSsn.date;
rstSsn.select.option.selected = true;
rstSsn.select.appendChild(rstSsn.select.option);

rstSsn.sbtBtn = document.createElement('input');
rstSsn.sbtBtn.name = 'SAVE';
rstSsn.sbtBtn.type = 'submit';
rstSsn.sbtBtn.value = 'Confirm The Appointment';
rstSsn.sbtBtn.className = "btn btn-primary";

rstSsn.rldBtn = document.createElement('a');
rstSsn.rldBtn.href = '#';
rstSsn.rldBtn.addEventListener('click', function () {
    return rstSsn.refCptch();
    return false;
});

rstSsn.rldBtn.img = document.createElement('img');
rstSsn.rldBtn.img.src = 'images/refresh.png';
rstSsn.rldBtn.img.setAttribute('style', 'width:25px;height:25px');
rstSsn.rldBtn.appendChild(rstSsn.rldBtn.img);

rstSsn.atRldBtn = document.createElement('button');
rstSsn.atRldBtn.type = "button";
rstSsn.atRldBtn.innerHTML = "Start Session";
rstSsn.atRldBtn.className = "btn btn-primary";
rstSsn.atRldBtn.addEventListener('click', function () {
    rstSsn.atRld();
});

rstSsn.vwCptRldTime = document.createElement('span');

rstSsn.elms = [
    rstSsn.cpt,
    rstSsn.rldBtn,
    rstSsn.select,
    rstSsn.sbtBtn,
    rstSsn.vwCptRldTime,
    rstSsn.atRldBtn
];

rstSsn.gtAptWrp.appendChild(rstSsn.elms[0]);
rstSsn.gtAptWrp.appendChild(rstSsn.elms[1]);
rstSsn.gtAptWrp.appendChild(rstSsn.elms[2]);
rstSsn.gtAptWrp.appendChild(rstSsn.elms[3]);
rstSsn.gtAptWrp.appendChild(rstSsn.elms[4]);
rstSsn.gtAptWrp.appendChild(rstSsn.elms[5]);

document.getElementsByTagName('form')[0].appendChild(rstSsn.gtAptWrp);



How To Use Indian visa Console BGD session code:








2. Hotel page session:

<div id="captchaCodeHolder">
    <script type="text/javascript">
        function refreshCaptcha() {
            try {
                var d = new Date();
                var n = d.getTime();
                //document.getElementById("capt").src="images/1.jpg";
                //alert("hi");
                document.getElementById("capt").src = "Rimage.jsp?rand=" + n;

            } catch (e) {
                alert(e);
            }
            return false;
        }
    </script>
    <tr>
        <td>
            <div class="cl">
        </td>
        <td colspan="2">
            <img src="Rimage.jsp" id="capt" alt="Develped by NIC, New Delhi" width="150" height="35" border="0">
            <a href="#" id="rcap">
                <img src="images/refresh.png" style="width:25px;height:25px" />
            </a>
        </td>
    </tr>
    <tr>
        <td>
            <div class="cl">
        </td>
        <td colspan="2">
            <input name="ImgNum" type="text" class="textBoxDashed1" id="ImgNum" onKeyUp="chkAlphaNum(this)" size="10" maxlength="6">
            <button class="btn btn-primary" type="button" id="setTime">Auto reload</button>
            <button class="btn btn-primary" type="button" id="clearTime">Stop reload</button>
        </td>
    </tr>

    <script type="text/javascript">
        document.getElementById('ImgNum').addEventListener('focus', function () {
            return refreshCaptcha();
        });
        document.getElementById('rcap').addEventListener('click', function () {
            return refreshCaptcha();
        });
        var time,
        delay = 3 * 1 * 1000;
    
    function autoClick() {
        document.getElementById('rcap').click();
        time = setTimeout(autoClick, delay);
    }
    
    document.getElementById('ImgNum').addEventListener('focus', function () {
        return refreshCaptcha();
    });
    document.getElementById('rcap').addEventListener('click', function () {
        return refreshCaptcha();
        return false;
    });
    document.getElementById('setTime').addEventListener('click', function () {
        autoClick();
    });
    document.getElementById('clearTime').addEventListener('click', function () {
        clearTimeout(time);
    });
    </script>
</div>



How To Use Hotel Page Session:








3. BGDD page date Page Using Temp File:


<tr > 
<td align="left" valign="middle">
<div align="right">
<font face="Arial, Helvetica, sans-serif" size="3"><font color="#990000"><strong>Select &nbsp;Date</strong></font></font> 
</div>
</td>
<td align="right" valign="middle">
<div align="left">
<font face="Arial, Helvetica, sans-serif" size="3">
<font color="#990000">
<select name="DATE" size="1" >
<option value="">Select</option>
null<option value="16/04/2015" title="16/04/2015"> 16/04/2015</option>
</select>
</font> 
</font>
</div>
</td>
<td >
<div align="right">
<input type="submit" name="SAVE" class="btn btn-primary" value="Confirm The Appointment" >
</div>
</td>
<td colspan="2"></td>
</tr>


<tr class="table_heading_bg"> 
<td height="24" colspan="5" align="center"> 
<div align="center"></div>
<div align="center"></div>
</td>
</tr>

</table> 
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkalert()
{
if(document.example.DATE.value==""){alert("Please select Appointment date");return false;}
document.example.SAVE.disabled=true;
location.href = "index.html" 
}
//-->
</SCRIPT>


4. Hotel page easy district select html code Click Here


Don't forget to Share Thanks.. :)

Original Post By My Dear Sweet Dost/Friend Mridul is Indian Visa

6 comments:

  1. Really nice information, thanks for sharing that to me.
    Latest Website Trends

    ReplyDelete
  2. Via,
    Can you help me in indian visa etoken processing system?

    ReplyDelete
    Replies
    1. Sorry Bro I'm no longer doing Indian Visa Etoken Processing System...

      Delete
  3. Vai new kono trick thakle aktu janan.....
    R code gulo mail Kore din
    tanvirhossen629@gmail.com

    ReplyDelete
  4. Vai new kono trick thakle aktu janan.....
    R code gulo mail Kore din
    tanvirhossen629@gmail.com

    ReplyDelete
  5. hi
    vai ame indian visa new wroker so plasse help me and new kno trick thaklay aktu dan plasse.and addons kno tips use krotay plz dan.................
    r code gulo mail kore din
    mamunhossen9927@gmail.com

    ReplyDelete