Current location: Hot Scripts Forums » General Web Coding » HTML5 » How to use the "CSS markup" as background image for rect using the raphael.js


How to use the "CSS markup" as background image for rect using the raphael.js

Reply
  #1 (permalink)  
Old 12-26-11, 09:16 AM
Raja304 Raja304 is offline
New Member
 
Join Date: Dec 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
How to use the "CSS markup" as background image for rect using the raphael.js

I have a code like this

paper.rect(col, row, width, height).attr("fill", "url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5 vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwM CUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF 0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc3OTAiI GdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCU iIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj4KPHN0b3Agc 3RvcC1jb2xvcj0iI0ZGRkZGRiIgb2Zmc2V0PSIwIi8+PHN0b3A gc3RvcC1jb2xvcj0iI0UzQTgyMCIgb2Zmc2V0PSIxIi8+Cjwvb GluZWFyR3JhZGllbnQ+CjxyZWN0IHg9IjAiIHk9IjAiIHdpZHR oPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc5MCkiIC8+C jwvc3ZnPg==)");

this not working. i created this background image format using http://ie.microsoft.com/testdrive/Gr...r/Default.html
Reply With Quote
Reply

Bookmarks

Tags
html 5, svg


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Bottom Background Image harley08 CSS 1 12-11-11 10:46 AM
PHP & MYSQL Same Table Ishmell PHP 7 06-28-09 11:36 PM
div css theighost CSS 11 09-14-08 02:30 AM
[SOLVED] What went wrong with background image Shelby CSS 2 05-16-08 08:19 PM
Converting to ems spyke01 CSS 0 11-09-07 02:48 PM


All times are GMT -5. The time now is 10:21 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.