Firstly, I know that CSS expressions are defunct and wrong in so many ways, and also to avoid using !important where possible. This is for a special case stylesheet.
In Short
My question is... Is there any way for a CSS expression to set the !important flag?
E.g. this doesn't work:
a { color:expression('red !important'); }
[Edit: t...
I'm having trouble getting the follow code to work in Internet Explorer, it doesn't seem to want to execute the code sent back from the server via Ajax, it just does nothing:
var ajax = new ActiveXObject('Microsoft.XMLHTTP');
ajax.open('GET','http://fromsitewebsite.com/javascript.js',true);
ajax.setRequestHeader('Connection','close');
a...
I have a form loading on a page that loads with an onclick event on the parent page using the following javascript. It gets loaded in a DIV.
function loadContent(elementSelector, sourceURL) {
$(""+elementSelector+"").load("http://myurl.co.nz/"+sourceURL+"");
}
Then on another on click event (within the new form) one of the fields in ...
This is weird. I am testing to see if JQuery is installed by adding an alert.
This works fine in Firefox, safari, opera and chrome, but IE 6/7 simply do not show the alert.
JavaScript is enabled. Has anybody ever come accross this?
$(document).ready(function()
{
alert('Test');
});
UPDATE: Link here to code: http://tinyurl.com/yjm...
I'm loading html content via ajax onto a div (using mootools 1.11 and squeezebox, if it matters).
In the content that I load I have some JS that manipulates some of the loaded HTML objects.
Everything works fine in FF, but when I load it in IE (tested on IE7 for now) the code fails with "'null' is null or not an object.
A quick test show...
Of the following, which are not run in the same thread as the current page in IE8?
An iframe with the same domain as the current page.
An iframe with a sub-domain of the current page's domain.
An iframe with a super-domain of the current page's domain.
An iframe with a completely different domain from the current page.
I want to know...
Hi,
Following is my code, i want to hide a li tag depending on its content.
dom.find('ul#overlay_opt li').click(function(){
if($(this).attr('class') != 'deactive'){
var content = $(this).text();
if(content == 'none') dom.find('#secondary_para').hide();
else dom.find('#secondary_para').html($(this).text()).show();
}
});
...
Can someone tell me why this
http://hupcapstudios.com/projects/calendar.html
won't load in IE?
The error message:
Error #2044: Unhandled securityError:.
text=Error #2048: Security sandbox violation:
http://hupcapstudios.com/projects/calendar.swf cannot load data from
http://www.hupcapstudios.com/projects/getWeather.php?zip=9...
I'm having problem with my Rails application. I use juggernaut for server push, which works very nice in Firefox, Opera and Chrome, but it doesn't work at all in IE. It should be compatible with IE6+.
The problem is, that I can't find any debugging tools that can monitor network as Firebug does in Firefox. I tried IE debug bar, but ther...
I have IE 7 and am getting the "stack overflow at line: 71" How do I get rid of this error statement? Thanks!
...
I have a sorta unique question. There is a web application which takes 5.57mbs of loading. I want a Loading Bar or Ajax Spinner on there that animates so they know things are progressing along during the ~10-20 seconds load time. Most is images, a lot of JS here too. The problem here is this, Firefox correctly threads everything so ...
I am facing a weird problem with TinyMCE. I have incorporated tiny mce for my reply area and when the page loads for the very first time it doesn't show the tiny mce rich text editor the moment i refresh the page the rich text editor is visible.
This problem come on Safari all the versions, IE version less than 8.
Firefox everything w...
Here's my code:
<!doctype html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<style type="text/css">
label {display:block; width:300px; height:20px;}
label.selected{background-color:#a33;}
label.hover{background-color:#ccc;}
</style>
</h...
I am having troubles with jQuery's load function and am hoping for some help. I just started testing a site I built in IE to debug/hack/etc to make sure it works. Firefox/safari/etc all work great. .load won't work for me though. It just seems to hang. Would love some help.
Here is a simplified version of the problem:
<!DOCTYPE HT...
Hi,
I am trying to run a Java webstart application which is launched from a html page. While loading I get an alert with the message "Automation server can't create object" a couple of times after which the applications starts and works fine. The alerts come up only on one of the workstations. Any pointers on where I should look?
Regards...
Hi,
As the default behavior of IE is to switch to the full screen mode on Alt-Enter command. I've to avoid this and have to attach a custom behavior.
Is it doable?
Thanks.
...
I have created a list of items using <ul> and <li>. It's works fine in Firefox but in Internet Explorer 6 and 7 I cannot see the list bullet.
Here is what I've done:
I have a global ul , li reset value. After that I have created two column list using two <ul> block. I am overwriting the ul li global style value none in CSS to list style...
I get the width of the browser using the following line:
$(document).width()
and then I set the element to this width.
But in IE, the horizontal scrollbar appears (width is larger than the browser size - I think this is because it counts the width of vertical scrollbar). I use the html 4.0 transition doctype. What should I do?
...
Hi, when I want to animate a semi transperant image with jquery (e.g. a div with a background who has a shadow) every element who is semi transperant seems to have a black border arround it in IE (6 - 8)
an example of the code is:
$(".prevPage").animate({
opacity: "1"
},
250);
$(".nextPage").animate({
opacit...
i replace selected text with pasteHTML method (Pastes HTML text into the given text range, replacing any previous text and HTML elements in the range.) in internet explorer.
var ran = Editor.selection.createRange();
ran.pasteHTML('<span style="font-size:20px;">example</span>');
after replacing text, selection dissapears. how to highli...