instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm experimenting with the jQuery UI tab control, and have three tabs that each load a different page through AJAX. The pages that are loaded are complete html-pages, with their own Javascript and CSS.
Scripts that are inline in the html body are ok, so are CSS in the style-attribute on tags, but Javascript and CSS in ... | stackexchange/codereview |
I'm documenting my CakePHP app using PHPdocumentor. As you might know, after CakePHP convention, the views are contained in .ctp files (e.g. app/views/addresses/index.ctp), which are basically normal PHP files just with a changed file extension. PHPdocumentor only recognizes .php files, and I cannot find an option in t... | stackexchange/codereview |
i have a p tag that has many anchor tags and some text. i want to replace each of the anchor tags with its respected href.
| stackexchange/codereview |
I have a repeating signal that varies a little bit with each cycle of a process that repeats roughly every second, though the duration and the contents of each cycle vary from each other a little bit within some parameters. There are a thousand x,y coordinates for every second of my signal data. A small, but importan... | stackexchange/codereview |
In my computer (linux - ubuntu) I have installed rails 2.2.2 and rails 3
Now i want to create a project in rails 2.2.2. (Like rails ). But it asks to enter the rails command as in rails 3 (like rails new )
when i type rails -v it shows the rails version as 3. But in my gem list it has both rails 2.2.2 and 3
how can i c... | stackexchange/codereview |
char * myFunction () {
char sub_str[10][20];
return sub_str;
}
void main () {
char *str;
str = myFunction();
}
error:return from incompatible pointer type
thanks
| stackexchange/codereview |
I have a function in my application which requires admin rights.
What I want is when I click the button to execute that function, it should ask for admin username and password. (Launch UAC dialog. Also show icon on that button.)
Is it possible?
PS: I know about launching the application with admin right by making modi... | stackexchange/codereview |
I have a base DependencyObject class where I have a method that takes an object, gets the properties, and for each property that is a type that implements INotifyPropertyChanged, I add a new PropertyChangedEventHandler. Now in the handler method, it gets the parameters of an object "sender" and the PropertyChangedEvent... | stackexchange/codereview |
Problem: Content Page with Wizard Control with UpdatePanel and Placeholder. Above the UpdatePanel is a DropDownList. I need to display different input controls below the drop-down list when the user changes the selection in the drop-down list. When the user clicks 'Next' on the wizard control, I need to be able to ge... | stackexchange/codereview |
What I'm trying to accomplish here is to set the text in a given row as read if the user clicks on it, now I was able to do that by using the onclick method, the problem with it is that it goes away when an intent is fired or the user exits the app. I want the Text to be set up as read permanently. here is my piece of ... | stackexchange/codereview |
Here's the function I'm using to generate random salts:
function generateRandomString($nbLetters){
$randString="";
$charUniverse="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
for($i=0; $i<$nbLetters; $i++){
$randInt=rand(0,61);
$randChar=$charUniverse[$randInt];
$r... | stackexchange/codereview |
Folks, why I'm getting the "The method assertEquals(String, Object, Object) is ambiguous for the type DictionaryTest" error for this JUnit test?
@Test
public void testEditCard() {
Integer a = 10;
Integer b = 12;
Integer c = 2;
assertEquals("test", a-b, c);
}
Adding casting assertEquals("test", (Integer)(a-b... | stackexchange/codereview |
My VS 2008 created installer doesn't call the override Uninstall method in my installer class. why? The Install method was called.
My installer class looks like this:
[RunInstaller(true)]
public partial class InstallerClass : Installer
{
public InstallerClass()
{
InitializeComponent... | stackexchange/codereview |
Could someone please help with implementation details for Omniture's app measurement iphone library ? I have linked both the dev and release libraries into my app, I instantiate them using the singleton method (getInstance) and they call the 'track' method on the instance....something along these lines.
OMAppMeasuremen... | stackexchange/codereview |
I am new to iPhone development.
source code
UIBarButtonItem *saveButton = [[UIBarButtonItem alloc] initWithTitle:@"SAVE"
style:UIBarButtonItemStyleBordered
target:self
ac... | stackexchange/codereview |
What should we expect from the floating point support in 64-bit Delphi compiler?
Will 64-bit compiler use SSE to
implement floating point arithmetic?
Will 64-bit compiler support the
current 80-bit floating type
(Extended)?
These questions are closely related, so I ask them as a single question.
| stackexchange/codereview |
Sometimes I dont know witch type of exception should I throw. So I usually throw Exception(). Is there some nice article about this?
| stackexchange/codereview |
What is the best and/or easiest way to recognize if a string.charAt(index) is an A-z letter or a number in Java without using regular expressions? Thanks.
| stackexchange/codereview |
I am using EWARM IDE from IAR with an Olimex development board for the ARM STR712FR2, and a J-link JTAG debugger provided by IAR. For some reason, I can't seem to write to the UART TxBUFR register. I believe I have configured all the clocks and baud rate correctly. The datasheet says that when I write to the TxBUFR reg... | stackexchange/codereview |
I am trying to compile a portable version of perl containing a CPAN module, specifically the YAML module. I intend to be able copy this portable version into my home directory on numerous Redhat Linux machines, add it to my $PATH and use this version instead of the default perl version to run some tests.
I have already... | stackexchange/codereview |
I want to create layout where I have two images at left and at right and text in center.
I have tried to do it with relative layout but unfortunetly it was unsuccessfully. Could anybody provide me an example?
| stackexchange/codereview |
I'm working on a website project and I have a paragraph containing a list of items (it would work great as a ul, but needs to stay a p) that needs to have the first letter of each item bold. I've created a function to do this:
function inserter(string, splitter, skip) {
var array = string.split(splitter);
var ... | stackexchange/codereview |
I'm currently working on a class that manages the user "authorization", and since the users are stored on a database, i need to access it from within the class. I've found this Mysql class: http://github.com/JeffreyWay/PHP-MySQL-Database-Class/blob/master/MysqlDb.php
But when i have instantiated the Mysql class with th... | stackexchange/codereview |
I have a question regarding dependency injection pattern.
My question is...
If I go for constructor injection, injecting the dependencies for my class, what I get is a "big" constructor with many params.
What if ie. I dont use some of the params in some methods?
Ie. I have a service that exposes many methods. And a co... | stackexchange/codereview |
I have a classifieds website, and I am about to create a members login section of the site.
I don't need anything advanced, just secure!
This is what I need in terms of functionality:
Website beeing able to recognize members so they don't have to login again (remember me)
Changing of their passwords and profiles
Logo... | stackexchange/codereview |
I'm working on a project built in Flash AS2.
One of the things I need to do is load JSON data.
In the past, I've had no problem with this - LoadVars works just fine.
However, on this project, the JSON service that I'm calling requires the http request to include an ACCEPT header with "application/json".
LoadVars has a... | stackexchange/codereview |
I need to create a web service client using JDK1.5 ... Is it possible ?
I know in JDK1.6 there are a wsimport utility that generates the artifacts for the service, and hered that earlier versions used wsdl2java, but cannot found in my JDK installation .
java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environme... | stackexchange/codereview |
How do I determine the size of an index in MySQL 5.1?
| stackexchange/codereview |
I'd like to set a default Razor layout via code in either a base controller or an attribute. It was mentioned in the Docs that this is possible, but I can't figure out how it's done.
I know there's the masterPage parameter to the View method available, but I would like all views returned by a controller to have this va... | stackexchange/codereview |
Where can I find pages returning 503 codes so I can test a script I'm working on?
Thanks
| stackexchange/codereview |
Hallo everyone,
I am trying to find a resolution for a regex expression:
I want to have something like this
"string x/0/y" where x is in a range between 1-6 and y is in range between 1-48
I tried this:
interface GigabitEthernet [1-6]/0/([1-4]*[1-8])
but then if y = 50 it still takes 5 under consideration and drops "0... | stackexchange/codereview |
Is it possible to read pixel values from an Image control in Silverlight 4 without copying Image pixels into a WritableBitmap? I know how to do that with the WritableBitmap.
I would like to read the value of a pixel my mouse is over.
I can track my mouse move over the loaded image in the Image control reading relevant... | stackexchange/codereview |
I have a Silverlight application that allows you to write with the mouse like a paint.
I am using a canvas inside a grid, and now I want to save that you draw on the canvas in a kind of file that you can open again in any time. Finally I use FileDialogs to do it.
I don´t know the way to save the canvas and neither how ... | stackexchange/codereview |
I am having a problem adjusting this part of my SQL statement:
HAVING dbo.BOOKINGS.BOOKED = CONVERT(int, CONVERT(datetime,
FLOOR(CONVERT(float, GETDATE()))) + 2)
Normally, the page that uses this statement just lists the amount of sales for today, I want to switch the... | stackexchange/codereview |
I have 2 logging files.
I have defined two appenders for the 2 files.
In a class, if i need to output few logs to one file, and few to the other, do i need to have 2 logger instances.
Is there a cleaner way of achieving this requirement?
Or is there some log4j configuration that will help me?
| stackexchange/codereview |
Does Concrete5 have something similar to Drupal's CCK and Views? How can I create a new custom content type (like catalog or product) in Concrete5?
| stackexchange/codereview |
Hi
i have a table and i want to add dynamic rows to that through C# ... how can i do this.... advance thanks
| stackexchange/codereview |
I have just installed Magento ver. 1.4.1.1 on our Ubuntu dev server and am trying to install the Lingotip translation extension.
I am receiving the error:
magento-community/Lingotip_Translate requires PHP (version >= 5.0, version <= 5.3.2), installed version is 5.3.2-2
Install Errors
No valid packages found
PEAR ERROR:... | stackexchange/codereview |
I have a number of folders in my Resources group. I want to include some of them in target A and some in target B. To this end I created two subfolders:
Resources
- content
-- A
-- B
If I try to change target membership for 'content' I can, under 'Get Info', select the targets. If I try the same for 'A' and 'B', un... | stackexchange/codereview |
I'm trying to understand the threading and queuing model when used SoundEffect.Play() so that I can play notes with accurate timing.
Is the sound played back synchronously on the UI thread? Or is a background thread used to play the samples at the correct time?
I've read that I need to call FrameworkDispatcher.Update... | stackexchange/codereview |
i want to find all div attributed value matched smaller or higher numeric value.
its worked me only eq value=444 (example div[ref=444],[ref=333]....)
var $filteredData = $data.find('div[ref=444]' );
but i want to compare find <444 ( find div attribute value smaller <444) or >444 (find div attribute value higher >444) ... | stackexchange/codereview |
I want to be able to sort and filter multiple columns using a jquery plugin.
Does anyone know of any that will do this?
The following example is very close to what i want except it doesn't do multiple sorts http://mleibman.github.com/SlickGrid/examples/example4-model.html
Thanks!
| stackexchange/codereview |
This is a pretty simple question.. lets say I have the following.
wordArray WORD 810Dh, 0C064h, 93ABh
Now, if I do this...
MOVZX EAX, wordArray
Thats going to move the first value of the array onto EAX.. so EAX would look something like this.. 0000810D. My question is, how can I move ALL of the array onto EAX.. so ... | stackexchange/codereview |
I have access to the lesser account. I want the password to the All Privileges account. I've tried a few options but can't seem to get the password to reset.
Suggestions?
I'm also on Twitter asking for help... @BrentDPayne
Thanks,
Brent D. Payne
| stackexchange/codereview |
Can somebody please explain me how to enumerate a BOOST_ENUM using BOOST_FOREACH ?
The example below show that I got it to work with std::for_each, but not with BOOST_FOREACH.
Sample code :
BOOST_ENUM_VALUES( MyEnum,
const char *,
(xMin)("xMin")
(xMax)("xMax")
(yMin)("yMin")
(yMax)("yMax")
... | stackexchange/codereview |
Hey guys was just wondering if there was anyway to replace a list item instead of appending it from a connected list, then putting the replaced item in the connected list the draged item came from? is jquery sortable capable of this any help would be greatly appriciated! Thanks
| stackexchange/codereview |
What's the best way to build an array?
I'm writing a method that adds a bunch of stuff to an array (of strings) and then returns it. Right now, I've just used a List<string> and then .Add stuff to it, and then return list.ToArray(). I don't know the length of the array beforehand (unless of course I use a 2-pass algori... | stackexchange/codereview |
I have a vba for generating a random number. This number is generated after opening the form, this is good, but it also needs to generate a code after a new record is made, how can this be done?
Private Sub Form_Open(Cancel As Integer)
Dim strPin As String
Dim i As Integer
strPin = "JobNr: "
'Set seed
Call Randomize
... | stackexchange/codereview |
How can you map a property to a sub-property that may be null?
eg the following code will fail with a NullReferenceException because the Contact's User property is null.
using AutoMapper;
namespace AutoMapperTests
{
class Program
{
static void Main( string[] args )
{
Mapper.CreateMa... | stackexchange/codereview |
The statistics module of CC.Net is very interesting. But the documentation about it is very poor. I did some internet research to figure out how to include a new counter (ex: LOC, compiler warnings, etc.) or other graphics to show but found nothing structured. Does anyone know where I could find a tutorial or something... | stackexchange/codereview |
How Can I format text in Rich Text Box like the following
02/11/2010 - 05:15 PM - Adam: Another test notes added on 2nd
November
02/11/2010 - 05:14 PM - Z_kas: Test Notes.
STAGE CHANGED TO: N Enq - Send Quote
02/11/2010 - 05:12 PM - user32: Another test notes added on 2nd
November
Thanks
| stackexchange/codereview |
Can someone tell me what happens when i enter a link into the Facebook Status Update Form and it loads up a mini info kinda thing of the website (I'm guessing its RSS or something?)
How do i implement this on my site using PHP?
What do i need to learn to be able to implement that?
| stackexchange/codereview |
How can i change the title (usually the domain) that comes in a window.alert("message") popup in (Safari)iPhone ??
| stackexchange/codereview |
I am facing this problem from last month. First i was able to get value back from paypal.
Now I am not able to get back value from paypal.
I am using following code.
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" style="padding: 0; margin: 0;">
<input type="hidden" name="cmd" value="_xcl... | stackexchange/codereview |
I am trying to get a list of all files in a specific xbox directory as shown below, however I get a 'System.NotSupportedException' - Additional information: The given path's format is not supported.
var path = @"XE:\MyDirectory";
var files = Directory.GetFiles(path);
Does anyone know a way around it?
Thanks
| stackexchange/codereview |
I've been reading hexadecimal on a digit by digit basis for many years and am now fed up with translating hex values for numbers requiring more than 16 bits into English. Does a more elegant form of translating hexadecimal to English exist?
In English, a simple system exists for converting decimal values to English. D... | stackexchange/codereview |
I'm writing an app on GAE/J with GWT. On my dev machines, things work perfectly - and RPCs always return successfully, and in the same order. When I deploy to appengine, some RPCs fail, and they often return in a different order.
How can a testing environment incorporate this kind of variability? Are there any good ... | stackexchange/codereview |
For a cubic Bézier curve, with the usual four points a, b, c and d,
for a given value t,
how to most elegantly find the tangent at that point?
| stackexchange/codereview |
I use xcode 3.2.4 on snow leopard. Today when I tried to save a file on my project I get an error message saying: The document "nameOfFile.m" could not be saved. I tried reinstalling xcode but no luck. The file can be edited with other editors and I see the same behavior on all my projects as well as newly created proj... | stackexchange/codereview |
I have this code below and want it to show the progress of a form submission of a file upload. I want it to work on my website visit it through this IP (24.148.156.217). So if you saw the website I want the progress bar to be displayed when the user fills in the information and then hits the submit button. Then the pro... | stackexchange/codereview |
I hava a java program with a JFrame
I am using absolute positioning
here is my main function
public static void main(String[] args) {
ape Ape = new ape();
Ape.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Ape.setSize(1000,1000);
Ape.setMinimumSize(new Dimension(1000,1000));
Ape.setMaximumSize(new ... | stackexchange/codereview |
I have the following situation:
New laptop with Windows 7 professional and IIS installed.
The laptop is wireless connected to a home network that has workstation with xp sp 3.
I have installed VisualSVN Server 2.1.4 and imported a repository from the workstation and checked it out on the laptop.
Now I want to be able t... | stackexchange/codereview |
I'm confused something fierce over having multiple views. I simply want to have a button on my main view that activates a new view, which in turn would have an (x) button which goes back to main view. For the life of me, I can't figure out how to do this with two separate .xib files. How might this be done?
Thanks!
| stackexchange/codereview |
I've got a list consisting of smaller lists inside of it, each list consisting of 2 items:
[[a,1],[b,2],[c,3]]
I'm using a function called take(1,L,R) to take the first item from list L and return the item R. The code for the take function is here:
take(0,X,X).
take(N,[H|T],[H|R]):-
N>0, M is N-1,
take(... | stackexchange/codereview |
I've never really been into GPUs, not being a gamer but im aware of their parallel ability and wondered how could i get started programming on one? I recall (somewhere) there is a CUDA C-style programming language. What IDE do I use and is it relatively simple to execute code?
| stackexchange/codereview |
I'm using zsh in OS X Terminal.app and for quite a while, I've been longing for a way to jump back and forth between prev/next prompts in the terminal's output.
One convenience with this would be to be able to review (and track errors at) the end of each command's output; eg. when you building stuff from source with ./... | stackexchange/codereview |
Suppose we define a GADT for comparison of types:
data EQT a b where
Witness :: EQT a a
Is it then possible to declare a function eqt with the following type signature:
eqt :: (Typeable a, Typeable b) => a -> b -> Maybe (EQT a b)
...such that eqt x y evaluates to Just Witness if typeOf x == typeOf y --- and otherwi... | stackexchange/codereview |
I need to add a line in the thead of table that going contenter inputs and selects that are used as parameters for filtering.
It is more or less how I wanted to stay:
<table>
<thead>
<tr>
<th> Name </ th> ...
<th> Type </ th>
</tr>
<tr> <!-- this is t... | stackexchange/codereview |
we use FxCop in current project. Warning CA1822 appears for every unit test method in test projects. So I would like to disable it for test projects.
Is it possible to suppress it for whole assembly?
| stackexchange/codereview |
I have never designed a webpage before, but I am asked to do this and will be using jQuery. I was wondering, what is the best and easiest way to do this? I thought of doing this on Visual Studio using only jQuery and HTML controls to produce an html page without any asp.net controls. Is this possible? How can I get thi... | stackexchange/codereview |
I'm trying to have a javascript alert, after a database interaction and before a page redirect (back to the same page, but displaying the updated data).
I thought having a pause before the redirect with usleep() might work, but it seems to ignore it. If I comment out the redirect it takes me to the controller page, whe... | stackexchange/codereview |
To get a newString value of "99 bottles":
int x = 99;
String fruit = " bottles";
To form a new String I do this:
String newString = "" + x + fruit;
since this is not allowed:
String newString = x + fruit;
But there's something about using the double quotes here that doesn't seem right.
Is there a better way to do th... | stackexchange/codereview |
I am adding a bunch of boxes into a UIView inside of a UIScrollerView. The content of the UIView goes beyond the bottom of the device's screen and should cause the whole scene to scroll.
However, this isn't happening. The content gets added but the scene will not scroll. I assume it has to do with UIKit not automatical... | stackexchange/codereview |
I'm trying to create a code to download mp3 files embedded in a page. It starts out as a submit form. You input the URL and submit it, and it writes the HTML source of that page to a text file. I also set the script to search the source to see if there is an audio file embedded. I suppose I should include that it's not... | stackexchange/codereview |
I received a change request and I'm unsure how to best approach it. If the client searches for something and they specify a year or year range greater than what we have in our database, I have to return the result that corresponds to the latest year range that we have.
Currently the results we have in the db all follow... | stackexchange/codereview |
If I run ruby script from terminal and run some other process using system from it and press Ctrl+C, than INT is sent to the other process, how can I make ruby process to handle it and the other process not to get it at all?
Example:
trap('INT'){ puts 'Wait a bit' }
system 'sleep 100'
If I press Ctrl+C this script wil... | stackexchange/codereview |
While working on a school project, I wrote the following code:
FileOutputStream fos;
ObjectOutputStream oos;
try {
fos = new FileOutputStream(file);
oos = new ObjectOutputStream(fos);
oos.writeObject(shapes);
} catch (FileNotFoundException ex) {
// complain to user
} catch (IOException ex) {
// not... | stackexchange/codereview |
I have a feed with images in the description node. How can I parse out just the image URL and just the description text with no line break in between?
<description><img src='http://example.com/100915gignac-clement_g_70x70.jpg'></img><br />(Source: Example.com) Québec annonce qu'une autorisation minis... | stackexchange/codereview |
In my current project everyone names variables and methods after what they are and what they do. This is good for quickly understanding the code, but with a lot of long varible names comes some headaches, such as when copying a dataset to an entity/object. So, while you understand the code, the readability still takes ... | stackexchange/codereview |
I am going crazy - these 2 strings are identical but the code comes back as them being different!:
NSLog(@"nearbyAirport %@", nearbyAirport.geocode);
NSLog(@"airportToFind %@", airportToFind.geocode);
//Try and match geocodes. If they are the same then airport is valid
if ([[airportToFind geocode] isEqualToString:[ne... | stackexchange/codereview |
Right now, I have Zend form elements wrapped in list-items. Form is validating or coughing up errors as it should. But I'd like to apply a class to the list-items of offending elements (but only to the list-items offending elements) on failed validation. Example:
This field has valid input
<li>
<input type="text" n... | stackexchange/codereview |
I have a page on an iPad that is setup so there are a bunch of characters and background music. Tapping on a character will start an animation and the character will play along with the music. The problem is, the music and animations are getting out of sync and there's probably a better way.
Here is how I'm doing it.
•... | stackexchange/codereview |
Is there a value that used with a LIMIT clause means nothing or no limit?
I'd expected that 0 would be that value but it obviously isn't:
SELECT * FROM items LIMIT 0 -- returns 0 rows
| stackexchange/codereview |
The "old" HTML/XHTML standards have a DTD (Document Type Definition) defined for them:
HTML 4.01 http://www.w3.org/TR/html401/sgml/dtd.html
XHTML 1.0 http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
This DTDs specify the rules for nesting elements - "which types of elements may appear in which types of elem... | stackexchange/codereview |
I have a wstring declared as such:
// random wstring
std::wstring str = L"abcàdëefŸg€hhhhhhhµa";
The literal would be UTF-8 encoded, because my source file is.
[EDIT: According to Mark Ransom this is not necessarily the case, the compiler will decide what encoding to use - let us instead assume that I read this string... | stackexchange/codereview |
I want display an image instead of downloading it.
I have image in my database table, column as BLOB.
This snippet downloads the image, but I want to display it instead:
$query = "SELECT * FROM upload";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$content = $row['content'];
$size = $row['size']... | stackexchange/codereview |
I want to decorate or wrapper a specific onclick callback such that my code is executed after the original installed callback is called.
I started with this in order to do it in a semi-python'ic way using function generator with closure:
var original_onclick = node.onclick;
function wrapper_onclick() {
original_onc... | stackexchange/codereview |
I'm parsing squid logs with Java. It seemed appropriate to use URL class. This class, however, makes a DNS request, which indefinitely slows down parsing. Are there other easy ways to extract hostname and port from an url?
Conditions
url schema might be ommited in squid logs
an absent (default) port should be derived ... | stackexchange/codereview |
I know the request object has a function to get the server name. (i.e. HttpServletRequest.getServerName() )
What if I need the same functionality inside the initialization of a servlet? How do I do this?
| stackexchange/codereview |
I'm writing a universal iOS app that a text entry component to it. When the view with the UITextView in it is shown, I call [UITextView becomeFirstResponder] so the keyboard pops up. When the user taps done/save, the view controller calls pop on it's navigation controller, and the keyboard should disappear automaticall... | stackexchange/codereview |
Once I could have sworn I saw a demo of using Google Maps JavaScript API v3 to create an effect where it appeared your map marker icon fell from the sky and landed on the map.
I've searched and searched, including looking at the API, and can't find that example.
Does anyone an more information on how to accomplish this... | stackexchange/codereview |
Lets say I have the following classes
public class Animal { .... }
public class Duck : Animal { ... }
public class Cow : Animal { ... }
public class Creator
{
public List<T> CreateAnimals<T>(int numAnimals)
{
Type type = typeof(T);
List<T> returnList = new List<T>();
//Use reflection to popul... | stackexchange/codereview |
http://new.michaellane.com/listing-gallery.php
The yellow strips of paper you see there have this set:
.listing_specs {
width:230px;
height:140px;
background-image:url('/images/featured_listing_specs.png');
background-repeat:no-repeat;
color:#836637;
padding-top:10px;
position:absolute;
... | stackexchange/codereview |
I'm using VideoJs to handle my HTML5 video needs, using a single M4V. I needed a playlist, and I'm able to change it's source easily using JS (in my case, jQuery).
However, I'm not able to pass these changes along to the flash fallback (which is achieved via an object including flowplayer).
Any ideas on how one might b... | stackexchange/codereview |
I'm passing all my calls to a main mapping function
and then it should dynamically call other function based on a string (until this part, things are easy)
the problem is that I want to pass arguments to the second function and these parameters may vary.
The following is given (should not be changed):
function test1($... | stackexchange/codereview |
I have the following Ajax call which send form data to a page and finds specific response.
$.ajax({
url: $("form[name='MainForm']").attr('action'),
data: $("form[name='MainForm']").serialize()+'&btnupdateprice.x=0&btnupdateprice.y=0',
type: 'POST',
cache: false,
success: function(response) {
... | stackexchange/codereview |
I'm displaying some content using the following bit of code:
<% foreach ( var m in ViewData.Model) { %>
<div class="content">
<%= m.article %>
</div>
Which shows a news article from my database. What I want to do is truncate the story to be smaller, how do would I do this? Also the article column contains HTML tags s... | stackexchange/codereview |
I have a CommonMaster page that then contains a ConfigurableReportsMaster page. I then have an AutitLog.aspx page. Now, on that .aspx page I have multiple UserControls. Some of these UserControls are inheriting from an ISQLFilter interface, but not all.
While on the .aspx, in a RunReport event (that currently succ... | stackexchange/codereview |
I am trying to do some manual "Animation" within a UIview.
I put "Animation" in quotes, in that I am trying to animate movement and display of arbitrary elements which I control - rather than clear and concise movements that are typically done through the UIView Animation blocks. (Think of making a guy walk - as I am d... | stackexchange/codereview |
I am looking for a templating engine with these specific requirements in mind:
Must have:
logic support (if/else/etc)
inclusions of files / inheritance (i.e. child/master templates)
not HAML
Desirable:
rich tags/filters (a-la Django)
custom tags/filters
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.