CSS - Different result on IE, please save me [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am working on a OSCommerce site, and i can't figure out why is this happening.
You can check the website at the url: http://tendance24.com
The layout is completly different on IE and i'm wondering why cause all the should work for IE.
I am wondering if it couldn t be javascript.
Please let me know if you want me to upload all the css file somewhere, or anything else.
Thank you

It's because you're seeing it using Internet Explorer's Quirks Mode.
The website will only render correctly using Internet Explorer in Standards Mode.
If you press F12 when the Browser is in view and you'll be able to change this from Quirks to Standards mode.
This post will help solve the issue.

Related

How to detect if a firefox extension is installed [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I Need a javascript to check if a firefox extension (not plugin) is installed.
I've created a clickonce application and I need my users can open the clickonce app with firefox, I know there is an extension from Microsoft to to this, but I need to know if that extension is installed, if not, I want to send to my users to the correct url to get the extension.
Thanks.
The only real way to do this outside of creating your own extension that reads other extensions is if the extension you are looking for injects something into the global variable scope that you can detect the presence of.
if('someExtensionObject' in window){ ... }

GigaPixel panorama in HTML 5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I'm looking to build a gigapixel panorama in HTML 5 and Javascript. Similar to this one - http://visualise.com/panoramas/ipad-and-iphone-html5-gigapixel-panoramas
Any ideas of places to start or any APIs to look at?
Thanks.
Well, firebug is your friend with this. It turns out that the site uses 'panopress' which luckily turns out to be free - http://www.panopress.org/
Unluckily, it also turns out to be a Wordpress plugin - you could however have a look at the associated javascript and work it out from there . ..

Eval doesn't work on Firefox [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
As simple as the title says.
I have a bunch of scripts that work over some javascript code and should execute that code when pressing a button.
I use the eval function to do that and it works fine on:
GOOGLE CHROME
SAFARI
OPERA
INTERNET EXPLORER (?!?)
Surprisingly this doesn't work on Firefox and if I open the console here is the error I get:
[12:17:58.447] ReferenceError: undefinedundefinedundefinedundefinedundefined is not defined
Any idea on how to make it work even on FF?
EDIT.
here's the code I use. so much to work on!
function exec_code() {
var code= document.getElementById("code").innerText;
eval (code);
}
Firefox doesn't support the non-standard innerText property.
You can establish this by testing the value of code before you pass it to exec. It will be undefined.
Use something else to get your data.

Running JS scripts conditionally in an HTML file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Because of browser related issues (ie, the view being different), I have two versions of a script. one that works on everything but IE, and one I wrote specifically to accomodate IE.I found this other script that detects what browser someone is using when they access a website. I was wondering, if there was anyway i could:
1.run this browser detect script FIRST to determine the boolean for IE/not IE
2. then, determining on this value, run one script or the other?
So... What's stopping you from doing:
var IE = checkBrowserFunction;
if(IE) {
doStuff();
}
? I mean, that seems fairly simple.

Canviz example don't work [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I've downloaded Canviz (it's a Javascript library for drawing graphs). I've unzipped the archive. I open, with Chrome, index.html, which is supposed to be an example. A "loading" message appears... and never disappears.
What am I supposed to do please ?
I worked with this library a few months ago.
You also need to have graphviz installed in order to create the graphs canviz will draw.
When you have installed, you have to use the function load with the url parameters in order to create the graph.
WebBrowsers have an option to enable javascript or not. make sure your browser enable it.
here's an example for Mozilla : Mozilla example

Categories

Resources