Groups
Groups
Sign in
Groups
Groups
SlidesJS
Conversations
About
Send feedback
Help
SlidesJS append code HTML
40 views
Skip to first unread message
Eliseo Gamba
unread,
Feb 2, 2019, 12:50:54 PM
2/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SlidesJS
Hola,
Cuando inserto el código HTML del SlidesJS y luego uso la closure, no funciona.
Ejemplo:
<
script
src
=
"{% static 'js/jquery.min' %}.js"
>
<
/
script
>
<
script
src
=
"{% static 'js/jquery.slides.min.js' %}"
>
<
/
<
script
>
$
(
"html"
).
append
(
"<div id='slides'> <img src='img1' /> <img src='img2' /> </div>"
);
$
(
'#slides'
).
slidesjs
({
width:
940
,
height:
528
,
play:
{
active:
true
,
auto:
true
,
interval:
2000
,
swap:
true
}
});
<
/
script
>
Uso Django.
Desde ya, gracias!
Reply all
Reply to author
Forward
0 new messages