Using C#, JavaScript & mysql
In the database i have the column like sign,
sign
ONr3XHNaUuROnolZpGSsdI+/b3mfOuXnBW7bW7M7cEBqE1RljubGNyc3f1ilFB1qJC9RkeZgaYcWFF1Z7DbgdHES78AAFYIcGMg5kzQdjR0wr1EQgmW+Z4TfmdmMlwNzbsdCPn6s0Bmlxt5HJ893KLrBGYhIRQre2JVje6u85Qk=
cqz+/tEn2q2Hc7Cwa7bXGYY6K77v37bZOW2HMfSCdmwh/qoFyFCvWo8wH9JpUnHV5V5359ak1fy3/jkO/bIED...
I'm tending to make an in browser template editor. It will have a GUI to play with css (text, background, margin...) html (make div layout) and generate html and css separately. But it seem is huge thing to do. So I'm looking for something similar. Any suggestion?
...
I noticed ubuntu 10.04 removed the spidermonkey package. Rhino looks like it's still there though. What are the differences between rhino and spidermonkey (besides what language they're written in). And why did they remove spidermonkey?
...
hi
i am working with extjs and openlayers for trying some web application.
now i want to create a coordinate bookmark which click than take this coordinate...
but first of all, it must create a layer in which name is "Bookmarks"..when you click on it ita take to the this coordinate...
how can add a layer in which name is "Bookmarks"...
I have the next select:
<select name="priority" id="priority" class="update_priority">
<option value="root" label="Without parent">Without parent</option>
<option value="72" label="Rank3">Rank3</option>
<option value="71" label="Rank1">Rank1</option>
<option value="67" label="Rank2">Rank2</option>
<option value="64" ...
I'm curious what the difference is between the following OOP javascript techniques. They seem to end up doing the same thing but is one considered better than the other?
function Book(title) {
this.title = title;
}
Book.prototype.getTitle = function () {
return this.title;
};
var myBook = new Book('War and Peace');
alert(myBoo...
I needed some method of adding/removing classes of a parent element when it's children are clicked to reflect which child is currently selected. In this case a UL parent and LI children in a tab scheme. I needed a way to mark the current tab on the UL so I could style a background sprite on the UL; since styling my LI's backgrounds would...
Hi guys, like the title says, I am trying to create a drop down menu using jQuery, JSON and AJAX, although I am familiar with the theory I have yet to put it into practice, any advice, demo code snippets or tutorials would be appreciated, since I would like to get off to the best possible start!
Thanx in advance!
...
Hi I have a question form and in that form i have 10 sections and in those sections i have 8 dropdown entries so for section one i have q1a, q1b, q1c etc
I want the user to select from the drop down of each section 1-5 once they select a value that value is removed from all other dropdowns within that particular section(in this case sec...
how can I load an html page inside a div. With the 'object' tag it's loading, but I think it's not a good approach. It is not an external file. Is dojo good for this?
...
How should I organize my JavaScript code to be visible well in deep in the Eclipse JSDT's Outline View?
For example, if I have a JS file containing the following content, Outline shows the one top level function only:
function topLevel() {
var local1 = 1;
var local2 = 2;
function local() {};
}
...
Hello OS folks,
I have this on an html:
<input type="text" name="username" size="10" alt="Username" value="Username"
onfocus="if(this.value=='Username') this.value='';" />
But this prompts an irritating IE security box on browser.
It there anything I can do to get rid of that IE box? Or any other option to use to the same e...
I would like to know the conditions which will trigger popup blocker.
I know that window.open without user clicking the page will trigger the popup blocker.
But if the user clicks on the flash and then the flash calls the window.open js function, will this trigger the popup blocker?
...
Hi All,
I am sick to death of assholes spamming my site, and I hate those stupid Captcha things, and my customers have had it up to their necks with the captcha on my site.
So, I had an idea. What if there was a small line. And all they had to do was simply drag a circle from the left of the line to the right. And once the circle reach...
Hello,
I have a page that have toolbar at top and an iframe below the toolbar. It is Stumbleupon style. Some web pages that are loading into iframe has flash objects and those open on my modal div. How can I hide flash objects in iframe? You may see it in action here: http://www.yemeklog.com/1-pakistana-yardim-zamani.html Please click o...
I have this code to cast a shadow on imagese:
.shadow{
box-shadow: -2px 2px 4px #666;
-webkit-box-shadow: -2px 2px 4px #666;
-moz-box-shadow: -2px 2px 4px #666;
filter: progid:DXImageTransform.Microsoft.dropShadow(color=#666, offX=-2, offY=2, positive=true);
}
This works in FF, Opera, Safari, Chrome but not in IE6 (haven't tested any ...
Hi,
I'm working on a web application where we have a very large image (4000 * 2000 pixels) that can be dragged about the place, zoomed in/out.
When the image isn't zoomed in or out, it can be dragged about very fast and it looks great. As soon as i change the size of the image by some factor, the dragging becomes dreadfully slow.
I ...
Im trying to open new window from parent window when user choose to print the parent window ,i re-draw the parent page in the new page by using :
document.getElementById('demo_tab_info').innerHTML=window.opener.document.getElementById('demo_tab_info').innerHTML;
and then i control the element by javascript(hide some and show some of t...
I found that there's a clearRect method, but can't find any to clear arc.
Is there're any way to clear object from canvas (arc), if I also have that instance saved somewhere... ?
What method is to clear arc?
...
[UPDATE]
Thanks guys,final code:
var EUR_share_cost = 0;
var USD_share_cost = 0;
var GBP_share_cost = 0;
var EUR_total_cost = 0;
var USD_total_cost = 0;
var GBP_total_cost = 0;
$.ajax({
url: '/producer/json/index/period/month/empties/'+empties+'/fields/'+fields+'/star...