In my application am using transparent div like a show modal dialog.Its working fine in firefox but not working well in internet explorer.
What is the solution to work similar in both
Thanks
A lot of times I need to delete a folder and copy another one with the same name. Always this is a place to trouble. What is the best way do do this?
The error I got when I trying to commit:
Error: Directory Error:
'..\trunk\bin\MVCContrib\InputBuilderTemplates\.svn'
Error: containing working copy admin
area is missing Error: Please
execute the 'Cleanup' command.
The error I got when I trying to cleanup:
'..\trunk\bin\MVCContrib\InputBuilderTemplates\.svn' is not a working copy directory.
I'm working with client's CMS and it's adding images like this and i can't change this.
I tried IE7.js but it's not working
<img src="~/imagefolder/CF88B05B445A4D008806C8B3E2830679.png?w=400&h=300&as=1" />
Could someone tell me the difference between those two. The first one is working on FF and not in IE (6) and second one is working in IE (6) and not in FF (I am using the Jquery 1.4.2). We had to detect the browser and write the script accordingly.
Hello guys, i have start working with CodeIgniter, but i can't understand one think. How do i load one class into another?
$this->load->library("hello_world");
This is not working?
my class - load - hello_world class
class myclass {
function test() {
$this->load->library("hello_world");
$this->hello_world->hello();
}
}
Message: Undefined property: myclass::$load
There are some functions to decompress in zlib library(zlib version 1.2.3)
I want to decompress my source zip(.gz) file using 'uncompress' function.
It is now working(error code -3) but gzopen is.
It is still not working when I input payload pointer(passing gzip header) to 'uncompress' .
So the question is
"What's the valid arguments for uncompress function?"
and If it needs different format, how can I make it?
Google doesn't helpful this time :(
Hi ,
We are using PVCS 6.0 in our current project . I want to checkout the complete project
along with the folder heirarchy into my working directory . currently if i select the project and do a checkout , it just dumps all the file into my working folder without any heirarchy . Any idea about how to go about this ? ...
any help is appreciated
Is there a tool that can do a diff of two methods? I'm working on some legacy code that has several 100-200 line methods that contain a lot of duplication and I would like to abstract the duplication out. Being able to diff the two methods would be a huge help. In case it matters, I'm working with .NET and Visual Studio 2008.
I have asp files on server and i created a working folder and checked out code. I then created new files in working folder and did checkin but they new files are not copied.
Does VSS do not copy new files or is there a way i can check in those files to VSS database.
I am trying to fire the asp.net button click event from javascript. Its working fine in IE, but the same code is not working on Chrome, please help me. Here is the js code,
var btnSave = document.getElementById('btnSave');
btnSave.click();
alert("The changes are saved sucessfully!!");
Please help me
Working with Python in Emacs if I want to add a try/catch to a block of code, I often find that I am having to indent the whole block, line by line. In Emacs, how do you indent the whole block at once.
I am not an experienced Emacs user, but just find it is the best tool for working through ssh. I am using Emacs on the command line(Ubuntu), not as a gui, if that makes any difference.
I am using the scroll in a swf file.. is there anyway to disable the scroll mousewheel on all browsers.. I get it working for IE and FF but Webkit is not working:
$(document).ready(function() {
$("#ebook").hover(
function () {
document.onmousewheel = function(){
return false
};
console.log('On');
},
function () {
console.log('Out');
document.onmousewheel = function() {
return true;
}
}
);
});
I am working on a live remote php project in eclipse. ie, I just connect the the project using RSE edit the files and save.
I have recently setup subeclipse and am wondering if there is an way to add my php files to a subversion project while still working on the live project? Or maybe there is a better way to do this and get the same result.
Let's say I have the following array (which is the returned value of a database query):
Array ( [0] => PHP [1] => Webdesign [2] => Wordpress [3] => Drupal [4])
And the following string:
Working With Wordpress Shortcodes
How can I compare the array with the string to see if the string contains any word stored in the array? (hopefully that made sense to you :d )
When he finds a match (eg: Wordpress) it should create a hashtag like so:
Working With #Wordpress Shortcodes
I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
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..
url = "http://example.com"
new Ajax.Request(url, {
onComplete: function(transport) {
alert(transport.status);
}
});
I'd like that to return a status of 200 if the site is working, or 500 if it is not working, etc.. But that code is returning 0 all the time.
Ultimately, I want to have a setinterval function that regularly pings a website for uptime status.
i have an add-in called book1. inside the addin there is a module called module1 which has a sub called addin1
i would like to run the macro addin1 from a different workbook
i am trying to call this macro like this:
Call Addin1
but that's not working
and i tried:
Call book1.xlam.Module1.AddIn1
which is not working either
does anyone know how to run a macro that is within an add-in ?
Im using following CSS to set a background-image for my menu
#menuContainer
{
background:url('../images/main-bg.png') repeat-x;
}
My CSS is inside
~/styles/site.css
and my image is inside
~/images/main-bg.png
The problem is this works perfectly in Chrome but it's not working in Firefox.
But if change the URL to
#menuContainer
{
background:url('images/main-bg.png') repeat-x;
}
It starts working in Firefox and in Chrome it doesn't work.
Can anyone please help?
I am working in VB.NET and I am familiar with working in the vb[design] view as well as regular vb. I am looking to view/edit my AP.CONFIG file how do I access this file? I am using Visual Studio 2008
I've looked around for an answer to this, no luck.
what i want to do is replace:
http://localhost/mysite/admin/something
with:
http://localhost/mysite/admin/?p=something
Here's the best formula I came up with since yesterday:
RewriteEngine On
RewriteBase /mysite/
RewriteRule ^(superv/)([^\?/]+)$ $1\?p=$2 [NC]
Yet it's not working.
Note:
It think the "RewriteBase" thingy has nothing to do with the problem because this line is working like a charm:
RewriteRule ^(javascripts/main\.js)$ $1\.php [NC]
Any ideas? thanks in advance.
The following example is working when I manualy replace T wirh char *, but why is not working as it is:
template <typename T>
class A{
public:
A(const T _t) { }
};
int main(){
const char * c = "asdf";
A<char *> a(c);
}
When compiling with gcc, I get this error:
test.cpp: In function 'int main()':
test.cpp:10: error: invalid conversion from 'const char*' to 'char*'
test.cpp:10: error: initializing argument 1 of 'A<T>::A(T) [with T = char*]'
I find myself adding debugging "print" statements quite often -- stuff like this:
print("a_variable_name: %s" % a_variable_name)
How do you all do that? Am I being neurotic in trying to find a way to optimize this? I may be working on a function and put in a half-dozen or so of those lines, figure out why it's not working, and then cut them out again.
Have you developed an efficient way of doing that?
I'm coding Python in Emacs.
I already have a project folder, with relevant files inside. I need to change the working directory in Visual studio to this project folder, I just can't find how to do it in Visual studio.
It seems I can only create a new project or open a solution file, but not set the working directory to the folder I want and start work on existing project. There is no solution file in the folder too.
I have created a flash movie and publish as html and swf.
I have activated tiny browser session values. The intro not working now. Its also not working with disabling sessions in tinybrowser.
How can I solve this.
Thanks in advance