Hi, I'm looking to try and implement the theme dropdown shown at http://demo.rockettheme.com/ . Is there a JQuery plugin or tutorial I can follow on how to do this?
I have two -webkit-keyframes declarations (see below). blink2 works fine. blink does nothing. What's the deal? Is there a limit to the number of keyframes that can be declared?
@-webkit-keyframes blink {
0% {
opacity:1;
}
40% {
opacity:1;
}
50% {
opacity:.5;
}
90% {
opacity:1;
}
…
Hi. We're building a site and wish to build for the same set of browsers Google Apps/Docs and YouTube support. Though not recommended, they seem to be detecting specific browsers/versions vs. features/functionality. What's the best way to support a minimum set of browsers while displaying a message to the users of older browsers to upgrade?…
Hello all.
I've done some experimenting, but can't seem to successfully bind one event handler to multiple elements using jQuery. Here's what I've tried:
$('selector1', 'selector2').bind('click', function() {
$('someSelector').removeClass('coolClass');
});
I've tested all my selectors, and they are all valid.
Is what I'm…
Hi,
To enable a go back function with an ajax div i have create these simple functions and i was wondering how much data a .js global variable can hold??
var dataAfterSearch; //global variable which holds our search results
function goBackAfterSearch() {
/**
* function which displays the previous state
*
**/
…
I've googled, but haven't been able to find the answer to this seemingly simple question.
I have two relations, a customer and an order. Each order is associated to a single cusomter, and therefore has a FK relationship to the customer table. The customer relation only stores customer names, and I have set a unique constraint on the…
I'm trying to LEFT JOIN two tables, to get a list of all rows from TABLE_1 and ONE related row from TABLE_2. I have tried LEFT JOIN and GROUP BY c_id, however I wan't the related row from TABLE_2 to be sorted by isHeadOffice DESC.
Here are some sample tables
TABLE 1
c_id Name
----------------
1 USA
2 Canada
3 …
Is there a HTTP status code to tell Google (and others) to go away, index me again later?
Basically, one that semantically tells clients that the site is down for maintenance?
The ones I have considered are
304 => Not modified
307 => Temporary redirect
410 => Gone
503 => Service Unavailable
I'm leaning towards the…
say i have 5 summary for 5 sets of data. how can i get those number out or combine the summary in to 1 rather than 5
V1 V2 V3 V4
Min. : 670.2 Min. : 682.3 Min. : 690.7 Min. : 637.6
1st Qu.: 739.9 1st Qu.: 737.2 1st Qu.: 707.7 1st Qu.: 690.7
Median…
I want to select the second row only from the table. From the ClientUserName column.
SELECT
ClientUserName, DestHost, count(DestHost) counts
FROM
#ProxyLog_record
WHERE
ClientUserName = (Select top 1 ClientUserName from #ProxyLog_count_2)
GROUP BY
ClientUserName, DestHost
ORDER BY
counts DESC
The…
I need to post to a payment gateway. The example PHP script for the gateway simply sets the XML like this
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest); // $xmlRequest is just a string of XML
In all of my experience, generally you need to use an array with key/values or a string similar to GET params.
I am using Kohana,…
Hi!
I have some control that I add dynamically to my page:
public partial class _Default : Page
{
protected override void CreateChildControls()
{
base.CreateChildControls();
var testControl = new TestControl
{
SkinID = "TestSkin"
};
…
I'm wondering how Instapaper (bookmarklet that saves text) might generate URLs for their bookmarklet.
Mine has a script src of something similar to www.instapaper.com/j/AnJHrfoDTRia
The quality of these URLs is that they need to never collide, and not be really guessable (so other people can't save to your…
I've got a problem with using the XPATH functions. When I try to call some functions like lower-case or upper-case etc,they are not executed and I can't figure the problem out. I included the namespace xmlns:fn="http://www.w3.org/2005/xpath-functions" at the top of my XSL stylesheet and use fn namespace to…
Hi,
I have the following problem. After I uninstall the project - all folder is removing. But it contains the files which shouldn't be deleted. What could you advice me?
Ideally I would haeve the option which will be proposed to the user while uninstall with checkbox if it is necessary to delete this…
I have a looping function creating:
<li id="id1" name="Tag1,Tag2,Tag3">
<li id="id2" name="Tag1,Tag2,Tag3">
$.each(data.posts, function(i, post){
$('<li >', {id: this.id , name: post.tags})
});
How do I replace the commas between the tags with spaces.
Also is there a…
Currently, Apple's native binaries and libraries are distributed as fat files, with support for both i386 and x86_64 architectures. The SDK (Xcode 4.4 w/ command line tools) doesn't support cross-compiling powerpc binaries any more, so they can be safely ignored I think, but there doesn't seem to be…
What's the best solution for embedding non-web fonts into a page without using Flash and still maintaining cross-browser support? Has anyone used any JavaScript libraries for this? Thanks.
Hello all,
I have a simple question:
How do I detect if a parameter passed to my javascript function is an array? I don't believe that I can test:
if (typeof paramThatCouldBeArray == 'array')
So is it possible?
How would I do it?
Thanks in advance.
I'm dealing with a database structure that can be defined as "illogical". It has about 100 different schema's with all different table structures per schema. Only one common factor is a "Version" table in each schema containing about 4 fields. (Thus, there are about 100 Version tables in the…
Do any exist? Ideally it would also come with a library of basic PHP functions.
I have a bunch of simple PHP scripts (no extensions, no fancy dynamic hacks, etc) I'd like to convert to Java... It would be great if a tool could do 80% of the work while I do the other 20%.
If i have signal values x[T] and filter coefficients b[i], i can perform filtering using convolution.
Suppose i have spectrum of x (after FFT) and i need to perform filtering using filters coefficients, how can i perform this? I heard that in frequency domain it will be multiplying,…
I am trying to create a jsf application which, upon page refresh increments the hit counter and generates two random numbers. What should be displayed on the window may look something like this:
On your On your roll x you have thrown x and x
For this program I decided to create…