Search results

  1. E

    JavaScript jQuery - SwipeUp and SwipeDown set just around div

    $(document).delegate("#scorePage", "pageshow", function() { $.event.special.swipe.scrollSupressionThreshold = 10; $.event.special.swipe.horizontalDistanceThreshold = 30; $.event.special.swipe.durationThreshold = 500; $.event.special.swipe.verticalDistanceThreshold = 75...
  2. E

    The if statement when message is not empty doest work

    The manual dictates that for comparison of equality you need to use ==. what you are doing is assigning a blank value to the variable by using the assignment operator =. So your code would be if($pw != $re-pw) { print "error: passwords do not match"; } else if($username == "" || $pw == "" ||...
  3. E

    C++ Creating a 3D Fly-by Movie in C++

    #include #include #include #include #include #include #include #include using namespace std; double pi = 3.14158748587; typedef struct start_t { double RA; double DEC; double MAG; }Star; typedef struct camera_t { double fovx; double fovy; double f; int width; int height; double RA; double...
  4. E

    C# Discounting Products in ASP.NET

    I have posted my product class below where I am thinking I need to add in the DiscountPrice attribute and the code for my product manager controller which contains all of the basic index, create, edit, delete.... I have also created a separate Members Only Controller which is where I am looking...
Top