instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am trying to write a DSL for a Ruby program. It currently works like this generator.format title "Text" author "John Doe" body "Text" end generator.generate! What visibility should I give the methods that are called inside of generator.format? Currently I am treating each of the formatting methods as protecte...
stackexchange/codereview
I want to extend checkbox control which can use on every form. If check box is checked than it will return "Y" otherwise "N". How may i extend check box control and use it in other forms ?
stackexchange/codereview
Or at least I think they're called subqueries (newbie and self-trained in SQLite). I have two SELECT statements from two tables in the same database. I would like to join these two subqueries along the columns date and symbol. The subqueries work fine separately, but when I try to JOIN I get an error (error in statemen...
stackexchange/codereview
I want to extract certain information from the registry but since my script is running inside a 32-bit engine, it will extract information only from the Wow6432Node for certain keys. Is there a way to bypass registry reflection and read from both HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft and HKEY_LOCAL_MACHINE\SOFTWARE\Wo...
stackexchange/codereview
I'm new to Spring, and the Spring dogma, as I understand it, is to make your applications as least-reliant on the framework as possible. Any time I see some documentation or note that requires that your class be aware of the spring framework it always comes with a disclaimer that says that the approach is anti-spring i...
stackexchange/codereview
I'm starting to learn Django through the use of Aymen Hourieh's Book. As I've asked a few developers why Django isn't used in a certain application, I was told there are multi-threading issues with Django. could you tell me what the extent of the multi-threading problems are or were if they've been resolved? I'm also p...
stackexchange/codereview
I'm trying to convert a SDL surface to an openGL texture using a snippet of code I found lying around the internet, after many hours of searching, most seem to use the same functions in the same order, so I'm assuming i'm doing things right. Self-Critisizing, i'm splitting up my code a little too much, i like to keep t...
stackexchange/codereview
Here is a typical URL I'm trying to rewrite: Example requested URL: http://topleveldomain/search?q=clause1+clause2+clause3&State=FL It should rewrite to: http://topleveldomain/index.cfm?q=clause1+clause2+clause3&State=FL It sure does look simple enough, but the plus signs (and various query lengths) are giving me fits....
stackexchange/codereview
G'day, I have an aspx page that has its html stored in a sql server 2008 table which uses linq to entities to retrieve & display in a placeholder on the page. This all displays correctly except for an asp button that will not display. Viewing the source of the page shows that the button is there but it is not on the pa...
stackexchange/codereview
What is counterpart of SIGKILL(in POSIX) in WIN32. VS cannot recognize SIGKILL.
stackexchange/codereview
Which notation, methodology and tools for database designing, modeling, diagraming you prefer and why? Which notation, standards, methodology are the most broadly used and covered by different vendors? Which are standard and which are not? i.e. which are to stick with and which to avoid? And why do you prefer IDEF1X? ...
stackexchange/codereview
I have a method that serializes a collection to a file using the XmlSerializer. public void Save(List<RetryAttempt> retryAttempts) { FileStream fs = new FileStream(this.fileName, FileMode.Create); try { XmlSerializer xmlSerializer = new XmlSerializer(typeof(List<RetryAttemp...
stackexchange/codereview
Maybe this is a little tricky .... Someone said that: The count (of an NSTableView selectedRowIndexes for example) could easily be neither YES nor NO; for another, if the user selected a multiple of 256 items, the lowest byte of the count would be 0, so the BOOL value would be NO even though there is a selection. Is it...
stackexchange/codereview
I am using get_timestamp() to get timestamp, the return I am getting is: 2010-10-5T11:12:34 But what I need is 2010-10-05T11:12:34 I need date in format of dd even if its a one-digit date. Is there a way I can do it? can i specify format while using get_timestamp()?
stackexchange/codereview
i am using winforms with visual studio 2008. i would to create an EXACT replica of my form with controls and all events, and all the same code as i have. is this possible to do at runtime? how would i do it? shouldnt there be some kind of class solution like: Form form2 = new Form(); form2 = form1 ???
stackexchange/codereview
I've two template classes: Class1< S > and Class2< T >. In Class2< T >, there's a method that has as parameter a pointer to an object of Class1< S >. Should I then re-define class2< T > to class2< S, T >? or is there any other best solution? The problem, is that I might have new methods referring to objects of other te...
stackexchange/codereview
How would I go about resizing a div from a page to it's master page? Making the div a server side control doesn't seem to be an option as all applied css breaks from the name change and I cannot modify the css file. I have tried the solution below from Hunter using the MasterType and then creating a property in my base...
stackexchange/codereview
im using this jquery plugin which is a colorpicker, but i was wondering when the user chooses the color, where is the color hex value stored, so i can process it and put it in the database. thanks this is the link for the jquery plugin: http://www.eyecon.ro/colorpicker/ HTML <div id='colourPicker'></div> JS $('#colour...
stackexchange/codereview
I was wondering, is it possible to take control of an end-user's USB-connected device or peripheral from an ASP.NET web application via C# with the libUsbDotNet library? In other words, be able to control certain functions of USB devices from a website? I would think that would be pretty cool.
stackexchange/codereview
I'm trying to work on an existing website and I've found a bug, but I'm not sure why it's a bug or how to work around it. The website basically lists some commercial properties that are for lease in one city. There's a class which grabs the listings from the database and creates an object out of each. In each object is...
stackexchange/codereview
I have created a new Visual Studio Add-in project. My project is able to add commands to Visual Stuido menu. This code is created by wizard. How can I add my custom toolbar to Visual Studio?
stackexchange/codereview
i have make keys to Disable Task Manager on changing its value it works but some of the keys required to log off or restart Window(e.g. Change Desktop background) is it possible take effect of all registry keys without restarting Window?
stackexchange/codereview
I am trying to pass a value to a global variable. This is where shdivs() is initialized: <select id="currentq" onchange="shdivs();"> getElementById('currentq') gets div ids. The idea is that when there is a change in the select box, old div is hidden, new one is shown. However the alerts change for the div I want to b...
stackexchange/codereview
When I want to keep track of active connections, is it better to save them into linked list or directly to some array where index will represent ID of the connection? I want to prevent possible race condition issues, for example: number of connections in the list is big someone start to search for a connection which i...
stackexchange/codereview
I have the following http://jsbin.com/ojeja4/2/edit The button and the expiration date working correct in windows, in all browsers but in OS X in safari & firefox (and maybe others) I find out that the button and the expiration date isn't correct. Below I have print screens: Windows - Firefox and all other browsers OS...
stackexchange/codereview
In my WP7 application i'm calling and consuming a webservice with these methods: In my page .cs file: public void Page_Loaded(object sender, RoutedEventArgs e) { if (NavigationContext.QueryString["val"] == "One") { listAgences=JSON.callWSAgence("http://..."); In...
stackexchange/codereview
i need some perl code for the following problem. thanks in advance for your efforts. my input is in a file in this format: 'name' 'version number' tech-sgla-zustand-ts.ini 1.1 tech-sgla-zustand-ts-feld.ini 1.1 tech-sgla-stamm-cds-feld.ini 1.1 tech-sgla-zustand-ts-feld.ini 1.2 tech-sgla-zustand-ts-feld.i...
stackexchange/codereview
Is it possible to embed streetview for an address. Then user will move around in streetview with zoom, pan etc and finally can we provide user a button which will capture the image and send to an application. Alternatively, if it is not possible to use the button and capture an image of what the user sees then, we can ...
stackexchange/codereview
I would like to check all of the checkbox made by Ext.grid.CheckColumn in a gridpanel, may I know if there is any easy way to do this? I have try to add class to the checkbox(Ext.grid.CheckColumn) but it seem not work. Thanks very much!
stackexchange/codereview
I'm having an issue where horizontal scrolls appear on certain phones for my site. I tried to put overflow-x: hidden but it's not working. The width is auto, so that it will actually automatically resize the web to suits the screen size. All other phones are fine except when viewed in blackberry, nokia e52, and Windows...
stackexchange/codereview
I'm having some problems with panelPopup and IE8. When I set autoCentre="true" and positionOnLoadOnly="true", I expect the popup to appear in the center of the view port and stay put there. This works fine in Safari, Chrome and Firefox, but in IE the popup "follows the scroll", if you see what I mean. I.e if the page w...
stackexchange/codereview
I am trying to run some code from a book. There appears to be a problem with the code. Here is the error message: Fatal error: Can't use function return value in write context in /Applications/MAMP/htdocs/Eclipse-Workspace/simpleblog/test.php on line 24 Here is the code referenced in the message (starting on l...
stackexchange/codereview
Okay,...I've recently inherited a downright shocking Silverlight 4 application and the Xaml is worse than you could possibly imagine. I'm going through a clean up operation and I'm looking to save time if I can. One of my problems is that I've got a bajillion Button controls; some have a Style set and some don't. I ne...
stackexchange/codereview
i have an application which has rectangle pad on top of it i am displaying 3X4 grid of rectangle icons. i have selection rectangle which navigates in x and y axis when key is pressed. now my question is consider for example i am in fisrt icon( at pos(0,0)) i move to next icon when i do this i need to zoom that icon. is...
stackexchange/codereview
I am trying to understand Directed Graph implementation (without Boost library that is mentioned alot),just trying to learn things in c++. Here is what I came up with reading various pointers on different questions. I figured I could use a map to look up certain places within the graph and a list to hold the links toge...
stackexchange/codereview
I have the following statement, and it works fine, except for the fact that if, the 2nd table has no reference items to the first table it will return no results. What I need is it to return count(p.match_id) AS matchcount as 0 "SELECT c.*, count(p.match_id) AS matchcount FROM ci_address_book c LEFT JOIN ci_matche...
stackexchange/codereview
I have several C programs that contain comment line at the beginning of each program. the lines begin with /* followed by the first line of comment, but the terminator line has */ as the only characters in the line. Can you please tell me a way to Remove these comments from all files?
stackexchange/codereview
I have an Installshield 2010 Basic MSI. It installs a windows exe that runs in the system tray. On uninstall, the exe is deleted but if the process is running in the system tray it continues is not killed. There are no warnings or errors by the installer that informs the user that the process is in use. How can I ...
stackexchange/codereview
Is the HTML5 localStorage object isolated per page/domain? I am wondering because of how I would name localStorage keys. Do I need a separate prefix? Or can I name them whatever I want?
stackexchange/codereview
How do I create this type of XML output using PHP? <Root> <base> rushi </base> <base> stack </base> <base> overflow </base> <root>
stackexchange/codereview
I have following working code (changed here and there so you use your brain when you copy and paste it). I'd like to improve it so it detects all pages that are invalid including domains for sale. It works at about 89% efficiency. If you see anything I could improve by using additional existing libraries or little twea...
stackexchange/codereview
Microsoft's IE6 and IE7 browsers suffer from memory leaks when certain Javascript code patterns are used. I've found lots of information on what the leak patterns were, back in early IE6 days. However, I understand that many (but not all) of these were fixed in IE7 and in a service pack for IE6. I can't find a relia...
stackexchange/codereview
I am using zk. I am wondering if ZK supports a way to display collapsable/expandable windows. Say, I have a hyperlink on my webpage. When I click on the hyperlink, instead of navigating to another page I would like to display a collapsable/expandable popup which is attached to the hyperlink like so : http://www.screenc...
stackexchange/codereview
We're writing an iPad app with quite a lot of background processing all of which is written in a set of C++ libraries. These libraries work fine on Linux, Mac and Windows but on the iPad they only work in debug builds. In release builds, it looks like when the first sub-thread is being spun up it either never actually ...
stackexchange/codereview
Dear Sir, Please give me a hint, or tell me the exact procedure to calculate the total no. of rows or you can say it as line items related to particular PO in the Internal Table, but please note that this is not like that to calculate the total number of lines Internal Tables.
stackexchange/codereview
Can somebody provide me link to a sample settings.xml? My problem is that I have eclipse maven plugin. This eclipse is one which I have copied from somewhere and the plugin came with it. Now the settings.xml isn't created as usual in .m2 folder. So I need a sample settings.xml so that the maven plugin works in my eclip...
stackexchange/codereview
I am very confused right now. I have VS2008 at my job right now and I have a weird behavior that I have been searching for a while now. When I compile the project, it works fine, but in runtime I have an error saying object not defined or something like that. The problem is that the imports/using is missing in my class...
stackexchange/codereview
Possible Duplicate: Dynamic Finders and Method Missing in Python I know you can do this in Ruby, but how would it be done in Python? So basically you could maybe to a regex on the method call that didn't exist, and create 'syntactic sugar'.
stackexchange/codereview
How can I encode this url to be displayed in a UIWebview: http://de.wikipedia.org/?search=Bevölkerungsentwicklung I tried: -stringByAddingPercentEscapesUsingEncoding:NSUnicodeStringEncoding -stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding and CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,...
stackexchange/codereview
I am using 0.3.1-pre Node.js Doing this: typeof global.parseInt results in 'undefined' However when pressing [Tab] in the console after typing 'global.' gives a list of functions, including parseInt. So is parseInt a member of the global namespace or not?
stackexchange/codereview
Does anyone else feel that the iterators are coming up short when you want to take a part a sequence piece by piece? Maybe I should just start writing my code in F# (btw anybody knows if F# uses lazy evaluation) but I've found myself wanting a way to pull at a sequence in a very distinct way. e.g. // string.Split imple...
stackexchange/codereview
I have to store informations about the user, should I user SQL lite or preferences? If I use SQLlite, will the data dissaper when the app is shut down or telefon? Cause I need them to be saved whenever he opens the app.
stackexchange/codereview
I'm trying to use ViewBase to bind some data to a ListView on a button click. It doesn't seem to work and I don't know what I'm doing wrong. Here's a short self-contained program that reflects this problem: Main window: <Window x:Class="WpfApplication2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xa...
stackexchange/codereview
this is probably a very basic question. I have installed rails 3 and generated a project, after that i generated a model called post and a home index which routed root to. To get the latest posts listed on the home index page i moved the necessary methods from the posts controller to the index controller and also the ...
stackexchange/codereview
I'm trying to position a modal dialog on top of an existing div, using simplemodal plugin. Here's my code; it's not working: jQuery(function ($) { $('.slider-caption .basic').click(function (e) { var p = $("#slider1"); var position = p.position(); $('#basic-modal-content').modal({ ...
stackexchange/codereview
I'm making a login page and for some reason the session will not persist between where I set it and the page where I am forwarding to. I can comment out the header in the page where the session was initialized and see that the session has the data in it. However, when I do a print_r in the target page, the session is e...
stackexchange/codereview
What are some examples of large projects (e.g., web sites) programmed in Lisp or a Lisp framework?
stackexchange/codereview
Please help. I have a web application that was built in VS2010 and we are using the CR plugin for 2010 and everything works perfect on our local machines. When we go to deploy the web application to Server 2008 the application runs fine until we try to get to a report. When we get to a report we receive... Could not...
stackexchange/codereview
I am binding my ContentPresenter to a ViewModel that has a type-referential DataTemplate which contains an instance of a third-party control (DevExpress' GridControl). When this control is bound to a modestly sized collection (i.e. 1000 items), the control takes a noticable four or five seconds to load. So, to my qu...
stackexchange/codereview
I have sth like that. It's giving me error. I cut out all unneeded parts of code. It is giving me this error The calling thread cannot access this object because a different thread owns it. public partial class MainWindow : Window { BackgroundWorker worker; Grafik MainGrafik; double ProgressBar { ...
stackexchange/codereview
I'm trying to create a website that can be downloaded and run locally by launching its index file. All the files are local, no resources are used online. When I try to use the AJAXSLT plugin for jQuery to process an XML file with an XSL template (in sub directories), I receive the following errors: XMLHttpRequest canno...
stackexchange/codereview
How to make python module installer for windows? I have python (2.7 if that makes difference) module which wrapped functionality around C-lib and would like to make an installer with build lib to make installation easy.
stackexchange/codereview
Is Entity Framework Feature Community Technology Preview 4 production ready? Where I can find the release? (if it exists) I confused with word 'CTP' Explain, please
stackexchange/codereview
How would one remove an item from a ListBox and then remove that line from the TextFile and repopulate the ListBox with new data in Visual Basic.Net? My source(apparently you can't have StreamReader and StreamWriter accessing the same file at the same time): Private Sub btnDelete_Click(ByVal sender As Object, ByVal e A...
stackexchange/codereview
I have a MySQL database and a table which has a names column as follows: id name age 1 samuel lee 31 2 doug sokira 32 3 vernon smith 33 I would like to search through the database for names. I have this query so far: SELECT * FROM table WHERE name LIKE 's%' This would return me the first rec...
stackexchange/codereview
I've recently started learning the WCF Framework and I have an Active Directory Helper class/library that I've created to house my code for interacting with Active Directory. I'm not sure if I'm reinventing the wheel trying to do this but it seems like it'd be a better implementation to run this Active Directory Helpe...
stackexchange/codereview
I'm trying to open a file, and read from it.. but I'm having some issues. FILE *libFile = fopen("/Users/pineapple/Desktop/finalproj/test242.txt","r"); char wah[200]; fgets(wah, 200, libFile); printf("%s test\n", wah); this prints: \377\376N test rather than any of the contents of my file. any idea why? complete cod...
stackexchange/codereview
I have a website, and I want to add a picture up in the top right corner (well 100 margin from the top and right). I have all my content inside a table (I already know this is bad). Here is the question: How can I position a DIV at exact the place I want, and without the table taking up the "gap" of the DIV. For instan...
stackexchange/codereview
How can I force an iPhone or iPod Touch to send/update its crash logs to Apple? I can crash an app within my device. When I visit iTunes Connect, I don't see any crash logs.
stackexchange/codereview
What is benefit of using an inner static class? Where should I prefer it over other options? And how is its memory allocated?
stackexchange/codereview
The documentation basically says that range must behave exactly as this implementation (for positive step): def range(start, stop, step): x = start while True: if x >= stop: return yield x x += step It also says that its arguments must be integers. Why is that? Isn't that definition also perfectly vali...
stackexchange/codereview
I have a class called MapBuilder<T> which internally uses a Dictionary<PropertyInfo,string> The class is used to quickly build up a mapping of which properties will be proxied. The class looks like this:: public class MapBuilder<T>{ private Dictionary<PropertyInfo, string> m_Map = new Dictionary<PropertyInfo,string...
stackexchange/codereview
I have an image and I have a partial line in the image. They are all the time horizontal or vertical lines. I don't know the color of the line, neither the width of the line. How can I use PHP to detect such a line? As you see in the uploaded image, there are 3x3 sections I need to slice. I need the 3 vertical, and 3 h...
stackexchange/codereview
I have an array of documents, where each document have another simple one-dimensional array of facets (simple textual labels attached to the document) that have structural value in their order (0 from nearest the root to the edges). I'm traversing this array, and would like to create a multi-dimensional array, like a t...
stackexchange/codereview
I have written a sample web service, which consist of certain .aspx pages. I have written a code to consume webmethods from that web service. Now, is it possible to load the aspx page which is a part of the web service from the calling web application i.e. from another aspx page which is outside the web service. How ...
stackexchange/codereview
If I update a child in a parent-child relationship, the child gets updated in the L2 cache. But what about the parent? Is it possible to do this without hitting the database? Thanks!
stackexchange/codereview
I have the following table that serves to join 3 tables: ClientID int BlogID int MentionID int Assuming that queries will always come via ClientID, I can create 1 multi-column index (ClientID, BlogID, MentionID). The question is, should I create it as a clustered index or a unique key? I understand a clustered inde...
stackexchange/codereview
My company is looking at advanced search and reporting solutions, and are considering (among other options) creating something akin to JIRA's JQL for maximum flexibility. My googling leads me to believe Atlassian built JQL from scratch, at least as a language with syntax and a parser, but I thought I'd try SO before ...
stackexchange/codereview
Dear all, I would like to call a member function (that expects a reference) for each object of (let's say) a vector that is a member of the same class, as the following code shows: #include <functional> #include <algorithm> #include <vector> #include <iostream> using namespace std; struct Stuff { double x; }; ...
stackexchange/codereview
It's the first time that I want to use a downloaded SDK. What is the best way to include its source files, by not adding them to the project folder (external)? (I'm using VC++ 6.)
stackexchange/codereview
Just trying to make sure I have understood friends properly with this one class A { friend class B; int valueOne; int valueTwo; public: int GetValueOne(){ return valueOne; } } class B { public: A friendlyData; int GetValueTwo(){ return friendlyData.valueTwo; } } main() { B myObject; myObject.friendl...
stackexchange/codereview
I've been using SBJson to parse json on my project. But this framework has way too many leaks. Is there a better framework/Library I can use to parse json?
stackexchange/codereview
Hi I have a struts 1.X app, and in order to show errors detected in an action class, I use: errors.add("Error Global", new ActionMessage("some_string_in_properties_file")); Which works just fine. My problem is that now the string I need to send to the jsp page as error has a session variable in it (like "You have 3 m...
stackexchange/codereview
I'm creating an image of a string of text with imagemagick and I need both the width and height of the image to conform to the size of the text. Currently, I use the "caption" command and specify a width of 300px, so the image is always 300px wide, and the text wraps if it is longer than 300px. I guess I would need to...
stackexchange/codereview
I have downloaded the Layar401.apk file from web and trying to install it into my android device (HTC Magic, Android 2.2). But every time I'm trying to install it its saying: adb install Layar401.apk 1098 KB/s (1855698 bytes in 1.649s) pkg: /data/local/tmp/Layar401.apk Failure [INSTALL_FAILED_MISSING_SHARED_LIBRAR...
stackexchange/codereview
I need a sample code that copies files over Network to Local File System in Java. How this is done in Java?
stackexchange/codereview
I am creating an iPad app that has several pictures (UIImageViews) in a horizontal scrollview. I want to allow the user to be able to save the images to their Photo Library when they tap on one of the UIImageViews. I like the way Safari handles this matter: you just tap and hold until a pop up menu appears and then cli...
stackexchange/codereview
$(document).ready(function() { $("#div1").fadeIn("slow"); $("#div2").delay(500).fadeIn("slow"); $("#div3").delay(2000).fadeIn("slow"); $("#div4").delay(8000).fadeIn("slow"); }); This is my current setup but I feel like this isn't the best way to write this. I can't find any examples on how you would wr...
stackexchange/codereview
I have a class that only has static members. I would like to register one of its member functions (VerifyClean in the code below) to be called at exit, using the "atexit" library function. The C++ FQA says that i must specify extern "C" for the function i want to register this way, like in the following example. class ...
stackexchange/codereview
I'm looking to recreate the layout that's present at this site: http://prettytasty.tumblr.com/archive/ The only way to accomplish this is using absolute positioning, however it appears that they're using javascript to dynamically position each image entry on the page. Is there a jquery plugin or example that accomplish...
stackexchange/codereview
I am currently drawing lines on a MapView based on different GeoPoints to indicate sectors. With the following code (this is within an overlay): @Override public void draw(Canvas canvas, MapView mapView, boolean shadow) { for(Polygon polygonTemp : polygonList) { Path p = new Path(); P...
stackexchange/codereview
I'm looking for some resources (online is good so I don't have to buy books, but books are ok) about mobile website development. I'm specifically targeting (in order) iPhone, Android, Blackberry. I'm proficient in HTML, and am getting into HTML5. I want to learn more about it in general, but specifically about using ge...
stackexchange/codereview
I am reading a book on Spring and Spring MVC, and am trying out the sample application. The problem is that it's a pre-release version of the book, and the full code isn't available to download yet. I want the beans from my service layer to be accessible via the web app. Do I have to declare them in two xml files? (One...
stackexchange/codereview
i have following html structure. <p class="expandableContent" ><span class="label">Computer and Laptop Repairs</span></p> <div style="clear: both;"> </div> <div class="services">content</div> <p class="expandableContent" ><span class="label">Softrware and Hardware</span></p> <div style="clear: both;"> </div> <div cl...
stackexchange/codereview
I've got a working DnD implementation however I've run into a snag. It seems that if I set dojo.dnd.Source.checkAcceptance to true, the Source container I do that to stops checking the dndType, it accepts everything. I'm checking if there is a node present in the dojo.dnd.Source container, if there is I want to disabl...
stackexchange/codereview
I have some Android code, where I'm using Dialog class to display public void createCustomDialog(String msg) { Dialog dialog = new Dialog(this); dialog.setContentView(R.layout.custom_dialog); dialog.setTitle("Error"); dialog.setCancelable(true); TextView text = (TextView) dialog.findViewById(R.id.text); ...
stackexchange/codereview
I am running a Magento store where someone can buy a personalized item with their name on it. Under the product, you see "Name:" with an input box where they can fill out their name. They click "Add to Cart", it ads it, I fill the order and everyone's happy. But, in order to purchase another product with a different n...
stackexchange/codereview
I Wrote a menu style which is working fine in IE8,FF3.6,GC7. Now the problem is, my boss want it to work even on IE7. I really tried hard to make it work on IE7, but unable to get the same look. menu.css a{outline:none;} .menu { margin:0; display:table; padding:0; white-space:nowrap; width:958px; text-align:center; fo...
stackexchange/codereview
I have a content type that has 4 images to it. In my View they are grouped (Group Multiple Values). I want to put each image in a seperate li, such as: <ul class="list"> <li><img src="/images/image1.jpg"/></li> <li><img src="/images/image2.jpg"/></li> <li><img src="/images/image3.jpg...
stackexchange/codereview
google does not make any styles than you can hide etc. perhaps jquery can be used? var table = new google.visualization.Table(document.getElementById('table_div')); table.setColumns([2]); <-- this does not work table.draw(response.getDataTable(), {showRowNumber: false});
stackexchange/codereview