1
I’m wondering if you have how to exchange ul and li by div ? Pq I find it more complicated to mess with ul and li than with Divs !!
1
I’m wondering if you have how to exchange ul and li by div ? Pq I find it more complicated to mess with ul and li than with Divs !!
1
According to the documentation of flexslider, just change the parameter selector
:
<script type="text/javascript" charset="utf-8">
$(window).load(function() {
$('.flexslider').flexslider({
selector: ".slides > li"
});
});
</script>
This becomes possible because the flexslider uses classes in its child elements and not selection by the element li
.
the understood is only I change this selector: ". slides > li" to selector: ". slides > div"
Browser other questions tagged html flexslider
You are not signed in. Login or sign up in order to post.
Excuse the question, but what’s hard to use
<li>
? Think of <ul> as the parent div and us<li>
s as Daughters. Could explain the difficulty? I believe there is no way to change.– Guilherme Nascimento
is that I can’t put the order in css !! ex: slide li{} or slide ul{} or when to use slide ul li{}
– Gilmar Santos
Just change the his selector:
selector: ".slides > li",
.– Bruno Wego
don’t I understand ? Runo.
– Gilmar Santos
@Brunowego It makes sense, formulate a response, with a slightly more complete example. Great tip (although you haven’t tested it yet).
– Guilherme Nascimento
@Gilmarsantos what order? Could you explain editing the question? I do not understand what to change to div will improve in the use of order.
– Guilherme Nascimento
is that I can’t mess with the ul tag and read. in html I know how to play, but in css I can’t.
– Gilmar Santos
This is still hard to understand, the ul tag in css would be
ul {}
and in the divdiv {}
, in li would beul > li {}
and in the divdiv > div {}
, just change the names. Your problem seems something, this has nothing to do with the ordering you mentioned earlier, the order is not influenced by Ivs or Lis or Uls. Could be clearer?– Guilherme Nascimento
vlw I will study more about the tags li and ul !! I am still very lay in web languages !!
– Gilmar Santos