I wahnt to place a container (alpha red) on top of my chart like on the image.
How to get the x, y (point A), width, height of this area?
http://img88.imageshack.us/img88/4558/flexchart01.png
So, I Have the following very simple map.r file.
I'm trying to have the user type "click" in interactive mode and then have the function .
Since it's a function, the user has to type "click()" how can I make it so that they only have to the word (w/o parentheses), and then have that function do something with the img.
So the user types:
mydist("image.pnm")
click
//And then the function click does what it's supposed to
mydist <- function(mapfile) {
img <- read.pnm(mapfile)
plot(img)
}
click <- function() {
//Prompt user to click on img
}
I have a webpage where a person's Skypename is present along with a Skype icon.By clicking on the button it will open Skype.But now I want to add live Skype Status i.e showing if the person is online or offline or busy,etc.I want to show this through a changing image button
I'm building a jar so that other developers can use the view I create in their Android applications. I'm wondering if it is possible to use a layout resource in my jar so I can build the layout of my view or if I need to build up my view programmatically. Similarly, can I include image resources in my jar file?
i All,
I have deployed my site on internet and I am facing some formating issues, it's working fine in IE8, Firefox and Chrome but not in IE6.
I have used asp.net 3.5, please let me know where I have done mistakes.
http://www.anujtripathi.net/AboutMe.aspx
and the same in image gallery menu, as I don't have 10 reputation point I can't paste another URL here.
Thanks
friends,
i want to set android:layout_centerVertical="true" property of layout
through java code of an image.
can any one guide me how to achieve this. here is my code.
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
params.height = (int)totalHeight;
img.setLayoutParams(params);
i have tried using setScaleType(ScaleType.FIT_CENTER) but no use.
any help would be appriciated.
i am working on a application where i have image onwhich when u click it gets navigated to browser with a link but it dont display web page. now i need a code for just displaying a simple web page in blackberry.. is it something to do with simulator and device as i am working with simulator.So kindly help me with it....I am newbie to blackberry.. thank you in advance for help..
I have a model "news item" which contains text, image etc to display as latest news on several pages in a website.
This "news item" can also be posted to Twitter or Facebook. Is it clean to implement a method post inside the news item model and inject the different post implementations as a strategy?
Or is it better to have a separate application service for this?
Thanks
Hi I'm able to successfully integrate iphone app with facebook framework.
But I need small change to be done.
Please see the URL "http://beanstalkcreative.com/screenshots/Facebook_|_Sample_Sampleson-20100407-122254.jpg", if you see the image in above URL, it shows "via MMA_app". I want to change this text to some other name. How can I do this?
In SharePoint 2010 when you hover over a column heading (i.e. to sort) in a list table, you get a hover effect, how can you supress / change this? I can see it uses OnChildColumn(this), so is there a way to modify this - either preventing the effect (e.g. when sorting can't be done on a column), or using a different background image?
Also want to do the same when you hover over a cell in any of the list table's contents.
I have a custom table cell. In it I have put (via the IB) an image view of a certain frame
In 'cellForRowAtIndexPath', under certain conditions, I would like to modify the frame of this UIImageView, so I write something like:
UIImageView *imgv = (UIImageView *)[cell viewWithTag:1];
CGRect r = CGRectMake(20.0, 20.0, 10.0, 10.0);
imgv.frame = r;
But nothing expected happens (The frame does move a little though not to where I want, but doesn't change its size at all);
Hey Guys,
i have a project table which has a image_id field and a newsimage_id field.
Both are linked to the image table. But InnoDB doesn't allow me to set a foreign key for
both fields to the same column (id).
Is there a way I can do this or is it not possible?
I'm using MySQL through MAMP.
Thanks in advance!!
I have a background image on top of which there is some text.
It is very hard to read the text because of the background.
I would like to add a white background just around the text itself, such that the text could be easily read. How can I accomplish this using CSS/Javascript/jQuery ?
I have an app with a tab bar, and nav controllers in each tab. When user shakes the device, a UIImageView appears as a child view in the nav controller. But the UIImageView must contain a special image, depending on the device's current orientation.
If I write just
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)
if (interfaceOrientation == UIInterfaceOrientationPortrait|| interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown) {
//Code
}
else if (interfaceOrientation == UIInterfaceOrientationLandscapeRight||interfaceOrientation == UIInterfaceOrientationLandscapeLeft) {
//Code
}
}
The view just goes crazy if user rotated the device before shaking. Is there a method to get iPhones current orientation?
Does the 'gaussian' filter in MatLab convolve the image with the Gaussian kernel? Also, how do you choose the parameters hsize (size of filter) and sigma? What do you base it on? etc
On the iPhone, how could I achieve the same tiled background effect?
For example, I have an pattern image which I want to repeat only horizontally. Would I have to go the route in -drawRect: by myself and loop over to draw the pattern, or is there a convenient method to do that?
My script is:
[Bindable]
[Embed(source="loader.swf")]
public static var Icon:Class;
and my mx is:
<mx:Image source="{Icon}" y="125" x="0"/>
It works but when I try to export it it won't because of:
Data binding will not be able to detect assignments to "Icon"
What am I doing wrong?
How would I intercept all pages and images on my website to add the header on my website?
For example, if somebody went to "www.bla.com/submit.png" it would include my header, and the image.
Hello,
I'm doing a software where I need to put squary bordering fields on a sattelite map (.png image), so that the fields can be clicked.
What is the best way to add shapes on a picture and associate them with data ?
Many thanks
I'm using this code to change opacity when user is on and off a picture unfortunately when the user clicks the image the opacity does not stay at 1. Anyone has an answer ?
$(document).ready(function(){
$('img#slide').animate({"opacity" : .7})
$('img#slide').hover(function(){
$(this).stop().animate({"opacity" : 1})
}, function(){
$(this).stop().animate({"opacity" : .7})
});
$('img#slide').click(function(){
$(this).animate({"opacity" : 1});
});
});
I'm writing an app code to do video recording on iPhone much like all the available apps :) ...
All im trying to do is capture screen from iPhone camera on 3g mobile and sending them to server .. but want some time efficient approach for sending to server and capturing image sequences ...
its like i want to send 15 images / second to server in one single go :P
i've set up server with FFMPEG and other codecs so their is no issue in generation of live video / stream ....
Help me ...special reward for best helping answer
I need to make list of employees (inside a post) where I have an image to the left, and some text to the right.
What is the best way of making this table without writing HTML?
(My customer does not know HTML)
I have in my model:
def presenter
@presenter ||= ProfilePresenter.new(self)
@presenter
end
The ProfilePresenter is a class that has methods like, get_link(), get_img_url(size), get_sex(), get_relationship_status() and other methods that have not to do with the model, not even with the controller but is used multiple times in the view.
So now i use them by doing this:
Profile.presenter.get_link
# or
Profile.presenter.get_img_url('thumb') # returns the path of the image. is not used to make a db query