Posts

javascript - Jquery TypeWriter Effect variable change -

i'm attempting create jquery typewriter effect scrolls through different sentences each 10 seconds. @ 10 second break style of site changes. problem after first run through sentences turn gibberish variable 'text_number' keeps getting changed , i'm not sure why. any appreciated. var textone = '"hello world"'; var texttwo = '"what happening"'; var textthree = 'good morning'; function text_change(text_number) { if (text_number === 1) { var splittext = textone.split(""); } else if (text_number === 2) { var splittext = texttwo.split(""); } else if (text_number === 3) { var splittext = textthree.split(""); } var n = splittext.length; function text_animation(textpos) { var previousi = textpos - 1; var nextletter = splittext.slice(previousi, textpos); if (nextletter == '*') { $("#quote-div p").append(...

php - jQueryUI on Laravel Blade -

i implementing jqueryui laravel app, want have delete confirmation, i'm failing implement one. here code: @foreach(array_chunk($items->all(), 3) $row) <div class="row" style="margin-bottom:40px;"> @foreach ($row $item) <div class="col-md-4"> <img src="{{$item->img_loc}}"> <div> <strong>breed: </strong>{{ $item->bname}}<br/> <strong>gamefarm: </strong>{{ $item->g_origin}}<br/> <strong>leg band: </strong>{{ $item->lband}} <h3><a href="{{ action('gamefarmscontroller@edit', $item->id) }}" >edit</a>|<a id="thelink" href="#">delete</a></h3> </div> </div> @endforeach and here jquery: <script> $(function() { $( "#dialog-confirm" ).dialog( { autoopen: false...

SQL Server output as XML -

sql server code generates output xml having problem not getting output per requirement select section.text, section.imageurl, (select item.text "item/@text", item.url "item/@url", item.imageurl "item/@imageurl" xml path(''),type) items tblatnot_menusections section join (select mit.text, mit.url, mit.imageurl, mit.section, mit.itemorder tblatnot_menuitems mit join tblatnot_rolemenuaccess rma on (rma.item = mit.item , rma.valid = 1) (mit.valid = 1 or mit.valid null) , rma.role in (select distinct rum.roleid tblssappsroleusermap rum join viwssappsempmasterextended vem on (vem.personid = rum.personid) vem.isemployeeactive = 'y' , vem.personid = 86 ...

Why can I not call my PHP script from HTML button? -

i using button html script unset cookies, cannot make call php script through button click. html script <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>wcsst 2</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type='text/css'> </style> </head> <body> <button style="color: black" <?php if(isset($_cookie["name"])) { ?> disabled <?php } ?> value='set cookie'><b>unset cookie</b></button> <!-- end page source --> </body> </html> php script <?php unset($_cookie['name']); unset($_cookie['age']); header("location: cm.php"); exit(0); } ?> how can make call php script through button click? <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>wcsst 2</title> <meta http-equiv="c...

javascript - How to pass the li tag id via AJAX when clicking the li item? -

i want pass id value show city function on click of li tag values any relevant method accepted <script type = "text/javascript" > function showcity(str) { if (str == "") { document.getelementbyid("city").innerhtml = ""; return; } else { if (window.xmlhttprequest) { // code ie7+, firefox, chrome, opera, safari xmlhttp = new xmlhttprequest(); } else { // code ie6, ie5 xmlhttp = new activexobject("microsoft.xmlhttp"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readystate == 4 && xmlhttp.status == 200) { document.getelementbyid("city").innerhtml = xmlhttp.responsetext; } } xmlhttp.open("get", "city.php?q=" + str, true); xmlhttp.send(); } } </script> <div id="menu"> <ol id="test"> <?php $stat=m ysql_qu...

scala - What is the first semicolon in `addCommandAlias` method used for in SBT? -

for example, have write alias this: addcommandalias("make-idea", ";updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers") instead of addcommandalias("make-idea", "updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers") if skip first semicolon, sbt complain.. have ideas first ; in second argument of addcommandalias do? this sbt's syntax specify multiple commands. normal sbt cli behavior , not specific addcommandalias . the same happens in sbt shell: sbt> updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers [error] expected id character // etc. sbt> ; updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers // expected

php - Embedded document for Signing -Docu sign REST API -

i`m using rest api embedding signing.i want embedded document signing in website each user logged website. have created template , add tags , set them required. while creating template in 'recipients , routing' section have provided 1 signer email , name. generating url embedded signing have used following code <?php // input info: $email = "***"; // account email $password = "***"; // account password $integratorkey = "***"; // account integrator key, found on (preferences -> api page) $recipientname = "***"; // provide recipient (signer) name $templateid = "***"; // provide valid templateid of template in account $templaterolename = "***"; // use same role name exists on template in console $clientuserid = "***"; // add embedded recipient must set clientuserid property in addition // recipient name , email. whatever set clientuserid must use sa...