Here is the site I'm currently working on: http://willcrichton.net/
If you click on the arrows on each side of the hexagon in the middle, you can see that it transitions left and right using jQuery + jQuery Cycle + jQuery Easing. However, you can also see that it is rather ugly -- because I'm using hexagons and not squares and because divs are…
I'm converting a double to a char string:
char txt[10];
double num;
num = 45.344322345
sprintf(txt, "%.1f", num);
and using ".1f" to truncate the decimal places, to the tenths digit.
i.e. - txt contains 45.3
I usually use precision in sprintf to ensure the char buffer is not overflowed.
How can I do that here also truncating the decimal,…
I have a div container where I want to put in a centered image and a small description to the right. The specifications are:
The image should have a bottom margin of 35px.
The image should always show fully on the screen, so it resizes when the screen does. It should have the biggest size possible, but never be cropped and never use…
Hi all,
I know a little about profiling, but what I am particularlly insterest in, is what has all the memory when I get these heap over flow exceptions.
I will start getting them after about a hour of debugging. I am hoping there is some sort of dump or something, that I can use to get a list of what instances are around at the…
Hi All,
I'm trying to define some default behaviours for my jQuery Dialogs like the following:
(function($) {
/**
* Overriding default options
**/
$.ui.dialog.defaults.bgiframe = true;
$.ui.dialog.defaults.open = function() {
if ($('.ui-widget-overlay').length == 0) return;
…
is there any way to make a div scrollable with overflow-y:hidden; and overflow-x:hidden?
i'm trying without success, maybe i need some js or jquery script?
i mean, i would like to make div scroll on y axes without showing scrollbar on right side( as it is now).
itryed:
.get-list{
position:absolute;
z-index:444;
…
Is there a site, or is there a simple way of setting up one, which demonstrates what can happen with a buffer overrun? This is in the context of a web app.
Is there a site, or is there a simple way of setting up one, which demonstrates what can happen with a buffer overrun? This is in the context of a web app.
(I've already asked this, by the way, on ServerFault, just in case you think it would be better asked there)
Issues:The concern is that the Twitter Bootstrap framework is that some of their css selectors are simply too generic and have incompatibility issues and conflicts with most third party plug-ins and css libraries, like jQuery-UI and jqGrid.My most pressing concern is only with the generic selector for…
How to hide the vertical scroll bar of a Listbox that is present inside a div.
<td class="ctrlForm">
<div id="lstQueriesDiv" style="OVERFLOW:auto; Width: 650px; height:167px;" >
<asp:ListBox ID="lstQueries" runat="server" CssClass="cssLstQueries"…
What is Logically correct and W3C valid way to clear float?
zoom:1 is not valid by W3C and IE8 don't have hash layout problem
overflow:hidden and overflow:hidden
were not made to do this,as the spec
intended overflow to be used
<div class="clear"/> is not
semantically correct and i don't want…
I have a number of apps all under the same domain: E.g.:
app1.overflow.com
app2.overflow.com/email
app3.overflow.com/home
I setting using these functions: http://www.elated.com/articles/javascript-and-cookies
How can I setup the cookie so that It can be read across all of the applications?
I dont…
I'm building a custom web chat application, and while I have the basics worked out, I've been wondering if this was possible... right now, the chat comes in at the top of the div, and when it reaches the bottom, the div starts scrolling. This works. This is great. But I was wondering if it was…
Possible Duplicate:
Chrome: where is the location to save browse temporary files
Ok, so here's what happened - and yes, it was pretty stupid by me:
I wrote up and submitted a post on Stack Overflow
It was not suited to be placed on Stack Overflow as someone pointed out to me, so I…
I have three view controllers, let's call them A, B and C.
When a button is pressed on view A, view B is shown using presentModalViewController:animated:
When the finish button is pressed on screen B, it dismisses itself. View A is notified whereupon it immediately shows view C, again…
I'm good at programming yet I feel like I don't know enough about the architecture of the hardware I'm working on.
What does the Northbridge on the mainboard do?
What does the L2 cache of my processor do?
Can Windows XP use multiple processors? Not in terms of concrete multitasking in…
The prevailing wisdom in webservices/web requests in general is to design your api such that you use as few requests as possible, and that each request returns therefore as much data as is needed
In database design, the accepted wisdom is to design your queries to minimise size over…
I am asking this because whenever I mouseover a link to a home page (e.g. http://www.example.com), I notice that a trailing slash is always added (as observed on the status bar of the browser) whether the home page link contains a href attribute that ends with a slash or not. But…
I have a dynamic website that allows registered users to upload and display images on the their profile page. As each user may upload less than the maximum limit of 20 images, there would be some "empty" images on the page. I am using javascript to hide these empty images. The…
I have a dynamic website with friendly URLs. Example:
Instead of /user.php?id=123, I have /user/123
Instead of /index.php?category=fishes, I have /fishes
But, how do I handle non-existent subdirectories such as /about/123? Currently it gives a 200 success instead of a 404…