internet-explorer-8


Raphaeljs IE8 setViewBox not working


I use RaphaelJS for generate SVG. My SVG is 1024px width and height.
I use setViewBox because the div containing it is more small than 510px width and height.
With IE8 RaphaelJS produces VML but setViewBox is not working, the size of VML produced is 1024px.
How I can make that VML responsive?
paper = Raphael(document.getElementById("SVGDiv"));
paper.canvas.id = 'paper';
paper.setViewBox(0,0,1024,1024);
paper.setViewBox(0,0,1024,1024);
image = paper.image("",0,0, 1024, 1024);
text = paper.text(512, 512, '');
if( isIE() > 8 || isIE() == false){
paper.setSize("100%","100%");
}

Related Links

Image disappears in IE8 - possible z-index issue?
Prototype /jQuery no conflict IE8 problem with lightview and rotator
jQuery tools validator affects `event.target behavior`
TinyMCE 3.3.8 paste from word doesn't work on IE8
How do I get modernizr to work with respond.js?
IE changes the size of my background image
Information Bar appears in IE8 while downloading
JQGrid IE8 Error: “12030 Unknown”
watir - file_field not working when running on server
Processing script in IE8
Shadow & Opacity In css3 For IE8 (Not Match)
IE8 Cufon.replace Text Shadow Issue
IE8 z-index glitch - cant seem to find a working solution
Selenium 2 WebDriver implementation not handling expandable menus correctly
Issue loading XML + Flash Player 10.0.45.2 on Windows XP SP3 with IE8
explorer not showing xml

Categories

HOME
python
sharepoint
xbox-live
sql-server
payment-gateway
winapi
voip
mapping
jbehave
flyway
phaser-framework
filter
simpy
websphere-liberty
xcode8.3
currency
deeplearning4j
slim-3
powershell-v3.0
window
cakephp-2.9
cpanel
webmethods
cross-platform
alfresco-share
session-timeout
redux-observable
tree-traversal
multicore
cython
binutils
logarithm
activepython
rhmap
chrome-native-messaging
multichoiceitems
positioning
devforce
ivy
ioc-container
apache-cloudstack
entity-system
fractals
geopy
qtablewidget
nsurlconnection
transient
rhino
wfp
parse-android-sdk
axis-labels
tripwire
lftp
onmouseover
lumen-5.3
vcf
uiviewpropertyanimator
windows-95
pagefile
httplib2
addin-express
iostat
libreadline
hspec
gameanalytics
foxit
multiple-file-upload
gherkin
clob
scriptlet
picking
asp.net-mvc-partialview
inet
license-key
anythingslider
hornetq
sem
retro-computing
apigee-baas
harp
cpu-cores
chaining
alphablending
left-recursion
formvalidation-plugin
jstat
libssh2
eclipse-classpath
ember-addon
dache
funkload
level
picat
uipickerviewcontroller
edit-in-place
exiv2
windows-mobile-6
windows-update
dwolla
symphony-cms
fraud-prevention
static-variables
curljs
scalaxb
communicationexception
webrat
oggvorbis
usability-testing
msf
interface-design
self-reference

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App