The site I'm making uses a tabbed navigation and MooTools to fade the pages in and out. One of the pages has a Flash player embedded on it, and all of the others consist of pure HTML. The problem occurs on the HTML pages -- somehow the Flash player is causing the HTML pages to display oddly. Vertical borders and text will be jagged in th...
Hi,
What is the best way (standard) to display an error to the user in Python (for example: bad syntax, invalid arguments, logic errors)?
The method should print the error in the standard error and exit the program.
...
I feel like this should be a simple issue, but I can't figure it out.
I have a QCView in my app. When I display it normally, it looks like this: QCView. But, I only want to see the top half of it, because on the bottom half I want to see what is on the NSView under it. When I try to do this, I get this: QCView Half. How can I get it to ...
For example. I have a database upgrade script for adding a column to a database table. It looks a little like this:
IF NOT Exists(SELECT * FROM SysColumns sc, SysObjects so
WHERE sc.Name = 'dealer_number'
AND so.Name = 'collector'
AND so.Type= 'U'
AND so.id = sc.id)
BEGIN
-- SQ...
a have an asp repeater that is repeating a links on a page with different urls. I want to hide any links (using jquery) that contain the word 'text' in their href. How can i do this?
if($(".fsproductsStcokistButton:contains('text')"))
{
$(this).css("display", "none");
}
...
I followed the instructions and examples on Android website to create a context menu but mine shows up completely black and i cannot change any options in it ; anyone out there had the same experience and can help me solve this issue.
FWIW, here are my class .java and the menu .xml files
<?xml version="1.0" encoding="utf-8"?>
<menu xml...
I have a print button with id="print_req". I wrote some Javascript code for printing a page, which is triggered by clicking on this button, and I also want to hide this button before printing, and show it after whole printing process.i mean not to print button in my printed document. Here is my code:
$(document).ready(function(){
$(...
Looking for the best and most simple way to embed and style the data returned from a JSON call, on another web page. Ideally I would like to do this with some sort of simple embed code that someone can place on there page. If not I would like to provide some php code (perhaps along with some css and jquiry) that would allow the user to s...
I am writing a C program which is to be executed on the Linux terminal. The program goes into an infinite loop and prints five lines over and over again. How do I get the cursor back to the previous lines?
E.g. I want to print the alphabets and replace them every 15 seconds.
So, at T=0, output is
sh>./a.out
AA
BB
CC
DD
EE
At T=15, ou...
I am developing an Android mapping application and I have managed to work Google's ItemizedOverlay tutorial into my code. I'm plotting my little circle on the map nicely.
However, I would like to label my tiny symbol with its title -- all the time. I'm going to be dropping a few different symbols on my map and the able to display thei...
The reason I ask is because I just bought a new LCD that takes approximately 5 seconds to change between display modes, such as from 1920x1080x32bpp to 1280x800x32bpp. Does a programmatic solution exist to detect if the display is ready for video output?
...
I have an english Windows 2003 server with asiatic language support activated. The two only fonts available for the command window (cmd settings) are raster and lucida console. Neither the one nor the other display the Kanji correctly (displayed as question mark).
Is there a solution to get them displayed?
Is there some transformation ...
I am attempting to create a very graphically intensive android application. Almost all of the UI is based on bitmaps and I would like to support as many different devices as possible and to have the app look great in all of them.
Is it possible to embed different resolutions for each image and have a different image displayed on each de...
I have a datatable and am currently binding it to a datagrid, however, when i go to enable paginating it is very messy. Is there a more malleable method for displaying and paginating aside from using a gridview or datagrid???
Thanks!
...
I know how to create and populate a datatable, which i have already done. Now, I simply want to display the datatable on a webform, but I also want to know how to paginate and sort it. Ultimately I do not want to bind this to a datagrid or gridview. I would like to learn how to programmatically do this myself.
Can you tell me how to ...
Greetings Fellow Coders.
My app downloads a set of images from a website but I need to figure out the how to display them to the user. How can I display these to the user if they are coming from a ListView?
Also, they'll need to be able to get back to the ListView.
Cheers.
...
Hey there,
I was trying to display a picture using regular HTML
I have this,
<img src="../../web-app/images/cargo.png" align="left"/>
Maybe I'm doing something wrong there backing up directories with the "../../"
But last time I checked that's how it was done
If there is a simpler and better way to do it via Groovy, or maybe CSS, I'...
So i made this webpage with a photo gallery
I have a which serves as the gallery caption. WHen clicked it should show the gallery (done with the slidetoggle from jquery) This works.
EXCEPT (ofcourse) in IE (ONLY when the documents mode is in IE9) There are a few other problems with other IE versions but those are for later.
So the we...
Hi,
I am using urlloader to load a tiff file from the server.
Then i get it as ByteArray and show the image in a popup window.
var bytes:ByteArray = urlloader.data as ByteArray;
i use the TIFFbaselineDecoder to decode the bytes and open a popup to show the bitmap.
Works nicely.
Now, i want to do the same thing for a pdf file.
How can ...
I'm using the following code to display two div containers after 3 minutes:
/* Display After 3 Minutes (180000) */
setTimeout("jQuery('#contact-overlay, #contact-window').show();", 180000);
I only want these div containers to open after 3 minutes on the first 4 visits to the website, after this the div containers should not open for t...