I'll post a link since theres to much to post here:
http://hem.bredband.net/noor/canvas.htm
My goal is to make the picture fit inside the window with the width of the image being the same as the window, even after resize. If the pictures height becomes to big for the window then the picture should resize itself according to the height and not the width.
Somewhere along my code there is something wrong.. forgive me if this is stupid, i am still learning..
Thanks!
i have an a href tag.
i want that embed swf (object) tag to a href.
i dont want add event in swf, beacuse a href link is different and create dynamic.
underestand it?
what can i do?
Is there a way to handle Apple Events (namely starting the app from a custom protocol link like myapp://do/something/cool) without using the Carbon APIs? If not, is it safe to assume that these APIs are not going to go away in the next release of OS X?
Hi ,
i am very new to xml and c++.
i want to validate xml against xsd using c++ api.can any one gimme any tutorial link? or sample program.i don want to do using msxml as its works in windows and visual studio.
i tried to use xerces and libxml but i have failed.now i am trying using tinyxml.
please help me to validate xml against xml schema using c++(not vc++,should work in cross platform)
regards,
manu
I have a string like
Pakistan, officially the <a href="Page.aspx?Link=Islamic Republic of Pakistan">Islamic Republic of Pakistan</a>
Now I am using
System.Text.RegularExpressions.Regex.Replace(inputText, "(\\bPakistan\\b)", "something");
to replace Pakistan outside the tags. But I don't want to replace Pakistan occurring within the <a></a> tags.
Hello Experts,
I am willing to add a music which runs in the background of my website.The site is generated in Joomla.Does anyone knows about any component (or any way) through which I can add a music which runs in the background of the website.
I know it can be achieved via embed tag in the index page of the selected template,but one additional requirement is whenever any visitor clicks on any other Link, it should continue but not start from the begining.Is it feasible? Can anyone help me regarding this?
I have created a unbound listbox. I have the box showing a list of queries I want the use to be able to select. My problem is I don't understand how to get the submit button to select the currently selected query and run it.
So how do I link the submit button to the listbox and have each item in the box submit its own query.
Hi All,
Below is the link for making the cover flow model in iphone. This is a sample tutorial.
http://www.chaosinmotion.com/flowcover.m
Can any one tell me how can i make the cover flow model to adjust some where up on the screen. Currently it is in the centre of the screen i want if about 70 to 80pixels to move up in the screen.
Your help will be highly appreciated.
Hi All,
I have a bunch of projects that all could share a "common" static library of classes.
What confuses me is if I make a static library out of these classes and link against it in my projects that I still need the headers of the classes in the static library in my main projects.
What is the benefit of the static library then?
How do companies like Adobe deal with this?
I am writing a C++/CLI assembly that uses some native DLLs.
During compile I can list them as "assembly link resource" so that the assembly is aware of these dependencies. When I use gacutils, it properly pulls all the native DLLs into GAC and they get properly loaded from GAC.
Now, some of these native DLLs are localized, and have MUI files. How do I get those to be automatically copied to GAC as well?
Hi all,
I have an iPhone application, now i want to convert that application to a universal application which runs on all the devices iPhone/iPod/iPad.
So, where to start, what things i need to do?
Any help, link, sample app, anything, will be highly appreciated.
Thanks in advance :)
I'm trying to get the same result of a .NET application (see the link Hide TabControl buttons to manage stacked Panel controls for details), but using the MONO runtime instead of the MS .NET runtime.
Pratically, when the custom control is executed using the MONO runtime, the underlying message is not sent to the control, causing the tab pages to be shown...
There is a portable solution which is elegant as the linked one? If it is not possible, what are possible workarounds (apart from removing/adding tabs at runtime)?
I am using Jquery datepicker plugin and my requirement is I want to allow user to select Month and Year when he click on the Header say 'May 2010'. I want to make the Header say 'May 2010' of datepicker as a link and when he clicks on it, it should display a small div or option to select month and year with Apply and close buttons and when he click on apply the dat picker should change with the selected month and year.
Is it possible?
I saw this in our codebase the other day:
link.attr('style', map({
color: '#9a4d9e',
cursor: 'default'
}));
map is defined as:
function map(map) {
var cssValue = [];
for (var o in map) {
cssValue.push(o + ':' + map[o] + ';')
}
return cssValue.join(';');
}
Is map necessarily? Is there a shorter way to do this?
It's important to note that the "style" attribute overrides any styles set by a class added/defined in the "class" attribute.
I am trying to set up a device remotely. I found this link:
http://www.microsoft.com/downloads/details.aspx?familyid=FCE9ABBF-F807-45D6-A457-AB5615001C8F&displaylang=en
That has SQL Server CE 3.5 SP1. I read the whole page, and can't seem to find out for sure if SP1 is a full install or if it needs SQLServer CE 3.5 first.
Does anyone know?
I'm seeing it in a ton of search results and even copy pasted into content on this site (http://stackoverflow.com/questions/2687289/adding-a-bookmark-link-to-a-facebook-iframe-app). Is it a phishing thing or just some actual proxy thing that is innocent?
I am trying to make my own website and it was coming along quite nicely. It looked beautiful in Firefox when opened and worked wonderfully. But then I run it in any other browser and it does not work. How can I fix this? Interner Explorer especially hates it =[
You just got to see it to know what I'm talking about so here is the link:
http://opentech.durhamcollege.ca/~intn2201/brittains/chatter/
Please give solutions that don't involve JavaScript.
Hi, Could you please give me some suggestions on how to parse HTML in Perl? BTW, Do I need download some website pages to local harddirver with some Offline Explorer Tool? If I need, Could you give me a download URL link to a good Offline Explorer Tool.
I plan to parse the keywords(including URL links) and save them to MySQL. Thanks a lot.
WinXP used
Hi,
i am looking to implement the interp1, 1-D data interpolation (table lookup), function available in MATLAB in J2ME or JAVA. here is the link
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/interp1.html
Is there any library available in J2ME or JAVA which has already implemented the same function ? If not can anybody help me in implementing interp1 function in J2ME or JAVA ?
My model
class TheFile(models.Model):
document = models.FileField(upload_to="archivos")
The weird HTML admin link:
<a hacking_google_maps_and_google_earth.pdf="" archivos="" media="" localhost:8000="" http:="" href="" target="_blank">archivos/Hacking_Google_Maps_And_Google_Earth.pdf</a>
If I firebug-edit the href="" it works :S
How can I stop loading function after user is clicked too many times on link?
Jquery code looks like:
$(document).ready(function(){
$(".menu_rfr").click(function() {
$("#main").html('<img src="img/spin.gif" class="spin">');
location.replace($(this).attr('rel'));
});
$(".menu_clickable").click(function() {
$("#main").html('<img src="img/spin.gif" class="spin">');
$("#main").load($(this).attr('rel'));
});
});
I have a set of nested yaml lists with something like the following:
title: the example
image: link.jpg
products:
- top-level: Product One
arbitrary: Value
nested-products:
- nested: Associated Product
sub-arbitrary: Associated Value
- top-level: Product Two
arbitrary: Value
- top-level: Product Three
arbitrary: Value
I can loop through the products with no problem using for item in page.products and I can use a logic operator to determine if nested products exist - what I CAN'T do is loop through multiple nested-products per iteration of top-level
I have tried using for subitem in item and other options - but I can't get it to work - any ideas?
for example i have an image's url:
http://java.sogeti.nl/JavaBlog/wp-content/uploads/2009/04/android_icon_256.png
i want to load this link image into my imageview in my project.how?