moovweb - How to remove a label in <li> element and add image using tritium? -
Using a tritium
& lt; Div id = "TopMenu" & gt; & Lt; Ul style = "display:" & gt; & Lt; Li style = "display:" class = "first" & gt; & Lt; A href = "#" data-transition = "slide" class = "ui-link" & gt; My Account & lt; / A & gt; & Lt; / Li & gt; & Lt; Li style = "display:" category = "carlink" & gt; & Lt; A href = "#" data-transition = "slide" class = "ui-link" & gt; View Cart & lt; Period & gt; & Lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;
First of all there is no label element in your snippet ... but to an element Remove use the 'Remove' function
ie Remove ('label') // This will remove all labels in the radius. Now you want to add the phantom image. 1. Simply add your images to the folder names as' sprites' - path-- / assets / images / sprites 2. Now it will be included in the sprites.png auto when the Moovweb runs the project 3. Use square 'sprites - '+ Where you want to place the imagery
Comments
Post a Comment