Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-04 14:14:47

roelof
Member
Registered: 2005-03-27
Posts: 647

can i make classname like this sub1 , sub2 automatticly

hello,

For a menu i need classname’s like this
sub1, sub2 and so on.
Is it possible to make a script who makes this names ?

Regards,

Roelof

Offline

#2 2009-07-04 18:00:05

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: can i make classname like this sub1 , sub2 automatticly

Depends on the tags you use to generate the output.
You might have a look at this thread and the source code of the snyvo site (link in in post #1). The numbering in the script [$(‘#work1’)] is done with the method developed there.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2009-07-05 08:35:25

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: can i make classname like this sub1 , sub2 automatticly

Thank you,

I will try it and hopes it works.

Roelof

Offline

Board footer

Powered by FluxBB