Questions tagged as 'svg'

1
answer

Problem to convert SCSS par LESS

Personal I'm using a background made with svg from that here link though his color palette is with SCSS e I am using LESS how can I convert these elements to LESS ? I tried to put @ instead of $ but did not wo...
asked by 26.01.2018 / 12:45
1
answer

Height and width SVG

I have an SVG element and I want its height and width to fit according to the resolution. For this I'll get into javascript through the screen.width. Now I wanted to insert this value into the svg tag. Is it possible to do this? <script>...
asked by 20.02.2015 / 17:29
0
answers

Adding SVG (with JQuery and CSS) in Wordpress

Good morning. I have an SVG that is made with a JQuery function and a CSS and would like to make it work in Wordpress. I've tried the following: SVG code between tags <div><svg></svg></div> , with the function...
asked by 07.12.2018 / 13:38
0
answers

Convert svg to png in PHP

I've been researching and testing implementations in repositories, but I have not been able to apply it to my case. I would like to know is there any native way of doing this, considering that the svg file is stored in a folder on my server. I t...
asked by 21.09.2018 / 21:01
0
answers

Put a button to download a svg

I have the tag: <svg id="codBarras"></svg> It creates an SVG bar code for me. I need to know if there is a way to download this image with a button. If so, how do I make js pure?     
asked by 12.09.2018 / 21:55
1
answer

Problem with mouseleave and its reaction with SVG images

On the site there is a popup that in the case should only appear when the person takes the mouse from the area of the site. But it was showing up by clicking on a button that jQuery('body').mouseleave(function() { if (!jQuery('body').h...
asked by 22.07.2018 / 23:56
0
answers

How to insert SVG dynamically?

I have several SVG's and I need to insert them dynamically in HTML5 and with responsiveness ... How do I do this feat? Remembering that I will have to manipulate each id of the image svg. NOTE: SVG WILL BE ITERATIVE (OVERALL GENERAL, IT WILL...
asked by 22.06.2018 / 04:31
0
answers

Convert Html (SVG) to PDF using DomPDF

With the code below I am able to generate the PDF normally. Only the "figure" I am generating using SVG is not showing. What do I have to change for the figure to be included in the PDF? *** Remembering that I can not change anything in...
asked by 26.04.2018 / 02:41
0
answers

Select elements from all window.frames and apply events

How can I select and manipulate elements of all window.frames being generated by each SVG within a <object> tag that I put on the page? I'm trying to add events click() to elements <g> of the .svg files loa...
asked by 20.02.2018 / 23:36
0
answers

Admin panel modifying / changing svg content

I was imagining a page structure like this, but I do not know if it is possible to execute and wanted to know the ways and possibilities. Indivwouldhavedatafromthemysqltableandasvg.Theobjectsofsvg,uponclicking,wouldopenamodal.Theideaistothin...
asked by 09.02.2018 / 00:33