In mssql2005 when i want to get size of table in MBs, i use EXEC sp_spaceused 'table'.
Is there any way to get space used by particular table in SQL Azure using some query or API?
I am trying to figure out what is the best way to go about creating dialogs. I can either create my own Dialog class (which, to me, is more clean and organized), or I can use AlertDialog.Builder (which would be done inline, and funky looking)... What are the positivies and negatives of either implementation? The only thing I can think of is application size...
I am wondering if there is an easy way to keep this popup window (span) JPicker (built on JQuery) on top of other modal windows or divs? Zindex, is there a way to make sure the zindex is always on top?
Thanks
I'm using Emacs as an editor. I want to set the tab size to four spaces. In my .emacs file I have the following:
(setq default-tab-width 4)
I've also tried:
(set-default tab-width 4)
Either way, when I open emacs and try to tab, it inserts two spaces. Am I doing something wrong? It almost seems like its not seeing my .emacs file.
Any suggestions would be great! Thanks!
What exactly is the difference between the window.onload event and the onload event of the body tag? when do I use which and how should it be done correctly?
Hi all,
I'm working on an asp.net website written in vb. I embedded fdkeditor in my page, and it works fine. As it includes image-upload feature, which works fine as well, I need to limit the size of the file before it's been uploaded.
I wonder I couldn't find anyting satisfactory on web, it seems fckeditor's developers haven't ever thought about that.
Has anyone workarounded it?
Thanks
When writing server-side code you need to explicitly stop execution after sending a "Location: ..." header to the client or your code will continue to execute in the background.
But what about when you change window.location in a client-side script? Does this immediately stop execution of the current script or is it up to the programmer to make sure that any code located after this call is not reached?
Hello
I have been looking into HTML5 manifest but I am unclear as to whether or not there is file size limit for caching using the manifest.
For example if i wanted to make several audio files available offline would this be achieved using manifest? or is it really only for small images and text?
I'm trying to figure out how much javascript is being loaded on my website. I'm using Reducisaurus to shrink my js files. The problem is, this is causing both YSlow and the Web Developer extension report the size of my files as ~.04K, which I know can't be right (one of the .js files is jquery, which is 50kb). Is there any way to accurately figure out how much time I've saving by using Reducisaurus?
Also can you please answer this question?
http://stackoverflow.com/questions/2605133/how-do-i-get-co-ordinates-of-selected-text-in-an-html-using-javascript-document-g
thanks
I am wondering if there is an easy way to keep this popup window (span) JPicker (built on JQuery) on top of other modal windows or divs? Zindex, is there a way to make sure the zindex is always on top?
Thanks
I am doing something like this in javascript to print a section of my page on click of a link
function printDiv() {
var divToPrint = document.getElementById('printArea');
newWin= window.open();
newWin.document.write(divToPrint.innerHTML);
newWin.print();
newWin.close();
}
It works great in Firefox but not in IE.
Could someone please help
Is it possible to get the page size (from e.g. a PDF document page) using GhostScript? I have seen the "bbox" device, but it returns the bounding box (it differs per page), not the TrimBox (or CropBox) of the PDF pages. (See http://www.prepressure.com/pdf/basics/page_boxes for info about page boxes.) Any other possibility?
I have a use-case for a vertical 1x4 home screen widget on android. The supported size is 4x1 ie horizontal. Does anyone know if the vertical version can be implemented?
I realize changing screen orientation would scrunch the widget together, which I'm fine with. Even better would be if there was an equivalent to "overflow hidden" in css.
Has anyone come across a way to do this?
I have a flow layout panel with several children in it. The flow layout panel can change size during run time. How do I set the children to expand to fill the width of the FLP? I tried setting the anchor to left and right but this doesn't work
Is there a solution for cross browser event. I need to check if user closes their window and to throw an ajax request to my database to sign them out.
I've looked everyone but most cases its not working in all browsers. Anyone have a solution? Or Alternative on how to do this perhaps a conditional statement depending on the browser?
Thanks!
Can someone help me with url hash?
I use this code to get the current url and then send the data as json, but the hash part seems to be stripped then.
i tryed to use href and hash and i always get the default.aspx but no hash part like #anchor.
var location = String(window.location);
var title = String(document.title);
var text = { 'url': location, 'title': title };
Hi,
i have this page:
http://www.tirengarfio.com/rs2/web/miembros/prueba
as you can see the font size is 16px but i have defined a 12px font in the file main.css.
I'm using Firefox 3.6.
Any idea?
Javi
I'm a n00b when it comes to JavaScript and the DOM... once I've opened up an HTML file in a shadowbox, how do I make a link so that the parent window changes?
I am trying to set a custom paper size by doing:
Printer.Height = 2160
Printer.Width = 11900
But it doesn't seen to have any effect. After setting this up, i ask for that values and it returns the default ones. And this:
Printer.PaperSize = 256
Returns an error...
Any ideas??
Can I dynamically ensure that the content always remains centered in the window pane on this website?
Right now it uses a static margin-left on the .items class, and it uses jquery tools.
http://andstones.ca/newsite/
Can I do it in just CSS or CSS and Javascript?
Thanks,
Kory