Page 1 of 1

Javascript/CSS problem (partly works and party don't)

Posted: Sun May 24, 2009 5:14 pm
by barbet
Hello people,

I've got a problem with my image gallery.

It exists out of a a part css and a part javascript

i put the part that needed to be in the header in the meta data with {literal} tags around it
this part seems to work

but than 1 small part doesn't work:


");
// ook hier verander je "jouwmap", "jouwthumbnail" en "gif" in het juiste
if (i % 8 == 7) document.write("");
// dit geeft 4 thumbnails op een rij, wil je het anders, vb 5, dan verhoog je de 4 en de 3 met 1
};
-->

I put the {literal} tags around it but it still doens't work

next to that the image is surrounded with a blue line, really ugly. How do I remove it.

I hope you can help me out.

Thank you in advance

Re: Javascript/CSS problem (partly works and party don't)

Posted: Mon May 25, 2009 8:53 am
by barbet
I removed the blue line, so that's solved. I've looked around on this forum, and I could find some others with similar problems, however, the tricks supposed there didn't solve my problem. The javascrip on itself works, but not in cms.

I also find out that the style=" background-position: center center; back... etc. " doens't work. How come? i tried to "Turn WYSIWYG on/off". I used the {literate} tags, and many more things, but it didn't work.

What can I do? 

Re: Javascript/CSS problem (partly works and party don't)

Posted: Mon May 25, 2009 6:01 pm
by barbet
Got it working.

Still the 'style element' is not working. How come?

Re: Javascript/CSS problem (partly works and party don't)

Posted: Wed Jul 22, 2009 2:28 am
by Dr.CSS
No way to tell with out a link...