New way to write a HTML

42 views
Skip to first unread message

RickBenetti

unread,
Jul 29, 2011, 9:53:34 PM7/29/11
to Zen Coding
Hi,
I would anyone tell me if you can do this:

div#teste>ul>li*3>a[href=#]title=%valueinbraces?{test1},{teste2},
{teste3}<.p{test4},{test5},{test6}

<div id="teste">
<ul>
<li><a href="#" title="test1">test1</a><p>test4</p></
li>
<li><a href="#" title="test2">test2</a><p>test5</p></
li>
<li><a href="#" title="test3">test3</a><p>test6</p></
li>
</ul>
</div>
and this: div#teste>ul>li*3>a[href=#]title=%valueinbraces?{test1},
{teste2},{teste3}<.<.<.p{test4}

<div id="teste">
<ul>
<li><a href="#" title="test1">test1</a></li>
<li><a href="#" title="test2">test2</a></li>
<li><a href="#" title="test3">test3</a></li>
</ul>
<p>test4</p>
</div>
Or if anyone has had this idea and are testing or implementing, as
well as help facilitate that already fill in some gaps when we already
have the content previously done.

I not write nothing in Javascript, but If I can add some code to do
this codes it's be great, ande possibilities are upgraded I think so.

Sergey Chikuyonok

unread,
Aug 2, 2011, 4:29:55 AM8/2/11
to Zen Coding
#teste>ul>li*3>a[href=# title=test$]{test$}+p{test$}

and

#teste>(ul>li*3>a[href=# title=test$]{test$})+p{test$}

RickBenetti

unread,
Aug 7, 2011, 11:34:09 AM8/7/11
to Zen Coding
I used the word test but I was wondering if you could fill with
values ​​several examples:

div#teste>ul>li*3>a[href=#]{title=%valueinbraces%]{Home},{Services},
{Contact}<.p{Home},{My Dog},{My Cat}
<div id="teste">
<ul>
<li><a href="#" title="Home">Home</a><p>Home</p></
li>
<li><a href="#" title="Services">Services</a><p>My
Dog</p></
li>
<li><a href="#" title="Contact">Contact</a><p>My Cat</
p></
li>
</ul>
</div>
and this: div#teste>ul>li*3>a[href=#][title=%valueinbraces%]{Home},
{Services},{Contact}<.<.<.p{Describe here}
<div id="teste">
<ul>
<li><a href="#" title="Home">Home</a></li>
<li><a href="#" title="Services">Services</a></li>
<li><a href="#" title="Contact">Contact</a></li>
</ul>
<p>Describe here</p>
</div>

Sergey Chikuyonok

unread,
Aug 7, 2011, 11:36:08 AM8/7/11
to zen-c...@googlegroups.com

I used the word test but I was wondering if you could fill with
values ​​several examples:

div#teste>ul>li*3>a[href=#]{title=%valueinbraces%]{Home},{Services},
{Contact}<.p{Home},{My Dog},{My Cat}

In this case, you should use Wrap With Abbreviation action
 

___________________________________________
Сергей Чикуёнок
http://chikuyonok.ru
serg...@gmail.com

Reply all
Reply to author
Forward
0 new messages