cotonti.com : Jquery and Smarty https://www.cotonti.com Son konu mesajları Cotonti en Wed, 27 May 2026 01:06:46 -0000 GHengeveld
<script type="text/javascript">
$(function () {
        $('#basicCube').imagecube({imagePath: 'img/'});
        $('#basicCube2').imagecube({imagePath: 'img/'});
        $('#basicCube3').imagecube({imagePath: 'img/'});
        $('#basicCube4').imagecube({imagePath: 'img/'});
});
</script>

Even better with document.ready check:

<script type="text/javascript">
$(document).ready(function() {
        $('#basicCube').imagecube({imagePath: 'img/'});
        $('#basicCube2').imagecube({imagePath: 'img/'});
        $('#basicCube3').imagecube({imagePath: 'img/'});
        $('#basicCube4').imagecube({imagePath: 'img/'});
});
</script>
]]>
Pzt, 28 Şub 2011 05:20:18 -0000
sosnix I have problem with working jquery script. jCube script, so I can see image but they are no working well, they are doesnt work.

In HTML file the script is working very well!

Everythink is working fine only script doesnt work!~Why?
Please help me!

TPL file from cms Cotonti. header.tpl
http://pastebin.com/dfxt13dB
and
perfect working html file!
http://pastebin.com/bTF54LP1

Added 3 minutes later:

ok topic going to trash.
Path to js files was wrong.]]>
Cum, 25 Şub 2011 08:08:12 -0000