Spoiler (скрытый текст/картинка)

Started by inter, July 08, 2009, 11:21:20 AM

Previous topic - Next topic

rtyug

простота - залог успеха :)



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

</script>

supmener

Подскажите, в Джаваскрипт в какое место вставлять текст?
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]

Advertisement: