Advertisement:

Author Topic: Spoiler (скрытый текст/картинка)  (Read 46475 times)

Offline rtyug

  • Jr. Member
  • **
  • Posts: 127
Re: Spoiler (скрытый текст/картинка)
« Reply #20 on: February 01, 2010, 05:24:11 PM »
простота - залог успеха :)

Code: [Select]

<script type="text/javascript">
$(document).ready(function(){
    $('.knob').hide()
    $('.spoiler').click(function(){
        $(this).next().toggle()
    })
})

</script>

Offline supmener

  • Semi-Newbie
  • *
  • Posts: 16
Re: Spoiler (скрытый текст/картинка)
« Reply #21 on: July 04, 2014, 03:21:09 AM »
Подскажите, в Джаваскрипт в какое место вставлять текст?
SMF 2.0.8. SimpleAds, More Spiders, Spoiler, Optimus Brave, Piwik Analytics, Spiders Don't Increase Topic Views, External and NoFollow All Links, Allow Access while in Maintenance Mode. I think set in the future: https://github.com/Spuds/SMF-ILA [nofollow]