Hi, I have a problem with including recomended files (js, css)
to my website. I tried to include to the Dotnetnuke page using Pages - Pages
Settings - Header tags this code
<link href="css/prvky.css" rel="stylesheet" type="text/css" />
<link href="css/turnaj.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/cerabox.css" media="screen" />
<script src="js/mootools-core-1.4.1.js">
</script><script src="js/mootools-more-1.4.0.1-assets.js"></script>
<script src="js/cerabox.min.js"></script>
<script type="text/javascript">window.addEvent('domready', function(){$
$('.mytable a.gb_imageset[2011_B]').cerabox();
}); </script>
but the end of my code is a cut (without gb_imageset[2011_B]').cerabox();
}); </script>
) Is there a limitations for length of code?
I included all my own css file to the one - general - and edit my code as
<link href="css/general.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/cerabox.css" media="screen" />
<script src="js/mootools-core-1.4.1.js">
</script><script src="js/mootools-more-1.4.0.1-assets.js"></script>
<script src="js/cerabox.min.js"></script>
<script type="text/javascript">window.addEvent('domready', function(){$
$('.mytable a.gb_imageset[2011_B]').cerabox();
}); </script>
All my code is in the page, but it isn't optimum, because I have a more image galeries on my page and second function I cannot put to the header. Must I put my code using aspx.cs? I tried put my code using html module, but java script code wasn't save (js code disappered).
Thanks for your help me
where mytable is a
<div class="mytable">
<table cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td> <a rel="gb_imageset[2011_B]" href="/Portals/0/images/
2011__01B.jpg"><img width="123" height="77" src="/portals/0/images/
2011_01.jpg" /></a> </td>
<td> ......next code for my table
but code doesnt work, Firefox show this error message
Error: $$(".mytable a.gb_imageset[2011_B]").cerabox is not a function
I looked on my source code in a browser, and there was this right
code
<script type="text/javascript">window.addEvent('domready',
function(){$$('.mytable a.gb_imageset[2011_B]').cerabox();
}); </script>
Thanks for your help me