Jump to content
Search Community

chrisi51

Members
  • Posts

    34
  • Joined

  • Last visited

Community Answers

  1. chrisi51's post in Decorating xmas tree with tabbed panes of decoration elements via drag & drop + clone was marked as the answer   
    thx @OSUblake that rethinking helped a lot
     
    See the Pen WNEgEwp by chrisi51 (@chrisi51) on CodePen


    now i have a working solution and hopefully just have to make it beautiful xD
     
    btw. the new concept is now:
    on start cloning the 3 tab <li> and append them as a <div> with display:none and on sliding to another tab the correspondending div becomes visible while the svg themself have opacity:0 unless you start to drag one. the dragged svg gets opacity:1 then and move back to its original position after dropping. if it was dropped on the dropzone (tree rectangle) than a new clone is put to the tree parents element.
  2. chrisi51's post in SVG: create new text and move it along a path was marked as the answer   
    just realized that i need another function to add xlink:href
     
    instead of textpath.setAttribute('xlink:href', "#masterpath"); you have to use textpath.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', "#masterpath"); 
     
    so i can draw my paths now in illustrator and put text on em afterwards. 
×
×
  • Create New...