
gaya
Members-
Content Count
101 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by gaya
-
The below code, The line is visible before the animation starts. I want to know how to hide that visible line? <!DOCTYPE html><html><body><canvas id="myCanvas" width="300" height="150">Your browser does not support the HTML5 canvas tag.</canvas><script src='https://code.jquery.com/jquery-2.1.3.js'></script><script>$(document).ready(function () { var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); function Character1(canvas, progress, duration, delay) { console.log("c1 " + progress); del
-
Hi,I want to draw animation with same speed. I am having some three functions. I want to call it one after another. Please tell me how to do it. <!DOCTYPE html><html><body><canvas id="myCanvas" width="300" height="150">Your browser does not support the HTML5 canvas tag.</canvas><script>var c = document.getElementById("myCanvas");var ctx = c.getContext("2d");var c1 = document.getElementById("myCanvas");var ctx1 = c.getContext("2d");var c2 = document.getElementById("myCanvas");var ctx2 = c.getContext("2d");var canvas = document.getElementById('myCanvas');var
-
Thanks for the reply. I got the curve in anticlockwise direction. By switching the values of startAngle and endAngle also by incrementing the startAngle value. Changed the amount3 value too. <!DOCTYPE html><html><body><canvas id="myCanvas" width="300" height="150">Your browser does not support the HTML5 canvas tag.</canvas><script>var canvas = document.getElementById('myCanvas');var context = canvas.getContext('2d');var amount3 = .4;var x = 23;var y = 22;var radius = 9;var startAngle = 8.3* Math.PI;var endAngle = .3 * Math.PI;var counterClockwise = false;va
-
By switching the values of startAngle and endAngle is drawing a small curve in clockwise direction. I tried by incrementing the value also. But by incrementing the value it is drawing a circle or the curve is not drawn in animation.
-
Thanks for the reply. Yes i understood your code. Sorry for asking the question again. Please i want that curve drawing in anti clockwise direction. If thats the condition where some value is to be changed. But please tell me where to change that values. <!DOCTYPE html><html><body><canvas id="myCanvas" width="300" height="150">Your browser does not support the HTML5 canvas tag.</canvas><script>var canvas = document.getElementById('myCanvas');var context = canvas.getContext('2d');var amount3 = 0.4; var x = 23; var y = 22; var radius = 9;
-
HI. I am trying to draw a animated curve. The curve is drawn. But the animation to draw the curve is not correct. please help me how to draw.My code is <!DOCTYPE html><html><body><canvas id="myCanvas" width="300" height="150">Your browser does not support the HTML5 canvas tag.</canvas><script>var c = document.getElementById("myCanvas");var ctx = c.getContext("2d");var c1 = document.getElementById("myCanvas");var ctx1 = c.getContext("2d");var canvas = document.getElementById('myCanvas');var context = canvas.getContext('2d');var amount = 0.5;var amount1 = 0;v
-
Hi,i have done all in php like giving link to image, by clicking the image the value get insert into database. How shall i do this. Please tell me. The following is the code for image link and insert query. if($flag1==0) { echo "<a href='newpartshort.php?orderno=$ono∂=$part&qpid=$qpid&board=$board&subject=$subject&StudentId=$StudentId&totalrows=$totalRows1'><img src='image/redtrial.png' align='right' border=0 width='15px' height='15px'/></a>"; }$sql1="insert into valuation values('','$uid','$ono','$qno','$sub','$qpid','$tabname','$part','$m
-
I aligned it simply by putting align="center". But my images are seenn without anyspace. How to make space or seperate my images.
-
Hi,I am having a form with a textarea and some textbox.I dont know how to align in into my form. i.e)I have aligned but i want to make the fields seen in center of the form. Please tell me how to align it.
-
Thanks justsomeguy. I included the following code to hide the editor,by clicking the button again. Thanks all.
-
Anyone please tell me. Is that possible to do.
-
Now i have done for more than one textarea. Still having one problem. By clicking the button the editor is opening. Now i want to do is, again by clicking the button i want to hide the symbols even if i have not selected anything from the editor. Please tell me what to modify for that.
-
Thanks AndrewSmith. I tried your code and its working fine. But what i am expecting is not this. The above code what i have posted is now working fine for me. Now my problem is the above code, I am having only one textarea. But in the case of having more than one textarea means how i can modify the code, that thing i don't know. Please tell me how to do that.
-
I have already tried the following code. <!DOCTYPE html><html><head> <style> .popup { position: absolute; left: 100px; top: 100px; border: 1px solid #000; background-color: #f0f0f0; } .popup .symbol { display: inline-block; padding: 5px; margin: 10px; border: 1px solid #000; } </style> <script> var symbolPopup = null; function CreateSymbolPopup () { if (symbolPopup) { return; } symbolPopup = document.createElement ('div'); symbolPopup.className = "popup"
-
I cann't understand Which part do you need help with? I want help in creating the math symbols with onclick. How shall i create it.
-
HiI need help in creating a math editor to my form. Please tell me how to create a math editor which includes all symbols like sigma,pi etc. By clicking a button i want to get open the math editor. And after selecting the symbol from math editorit should seen like <font symbol=√>√</font> Please tell me how to do that.√=√The value alone will seen inbetween font tags √
-
Thanks dsonesuk. Thanks for the help.
-
Sorry for asking again. By clicking the image the palette get open, and i want to do is after selecting the color i want to hide the palette automatically. Please tell me how to do that.
-
Thanks dsonesuk. I did exactly what i need.I missed to include var s_url=block1.href;var pColor=s_url.substr(s_url.indexOf("#")); Now i got it. Thank again for you both.The problem is completely solved.
-
I found out but still having some problems. In the above code i changed in the function getColor(block)Instead of this code function getColor(block){//alert(block);for(var t = 0; t <= x.length; ++t){ document.getElementById( x[t] ).style.Color = block;alert(document.getElementById( x[t] ).style.Color); }} I changed function getColor(block){document.getElementsByTagName('textarea').value=block;} <input type="button" value="Font" onclick="font ([ques1,ques2,opt1,opt2,opt3,opt4],'font',document.getElementById('ss').value,document.getElementById('aa').value,document.getElement
-
<script type="text/javascript">function getColor1(id) { var clr = document.getElementById(id); if (clr.style.visibility=="visible") { clr.style.visibility="hidden"; } else { clr.style.visibility="visible"; }}var x = [ "ques1", "ques2", "opt1", "opt2", "opt3", "opt4" ];function getColor(block){//alert(block);for(var t = 0; t <= x.length; ++t){ document.getElementById( x[t] ).style.Color = block;alert(document.getElementById( x[t] ).style.Color); }}function changeSize(size){document.getElementById("ss").value;}function updateh1family(name) {document.getElementById("a
-
Thanks dsonesuk. Instead of span tag function getColor(block){var s_url=block.href;var pColor=s_url.substr(s_url.indexOf("#"));document.getElementById("colorPalDemo").style.color=pColor;} <span id="colorPalDemo">gayu</span> I have to use like var all = document.getElementsByTagName("a");for(var i = 0, max = all.length; i < max; i++){ alert(all[i].innerHTML);}
-
But more than one textarea i am having. How to make the color for all textarea.
-
<html><head><script type="text/javascript">function getColor1(id) { var clr = document.getElementById(id); if (clr.style.visibility=="visible") { clr.style.visibility="hidden"; } else { clr.style.visibility="visible"; }}function getColor(block){//alert("hai1");alert(block);var s_url=block.href;var pColor=s_url.substr(s_url.indexOf("#"));document.getElementById("colorPalDemo").style.color=pColor;//document.getElementById("clr").style.display=hidden;//getColor1();} </script></head><body><img src="img/supst.png" id="color" onclick="getColor1('im
-
Sorry to ask you again and again dsonesuk. Please tell where i have to use the value 'hidden'.Also my actual problem is by clicking the supst img the palette is get opened. But i cann't able to select the colors.