in comp.infosystems.
www.authoring.stylesheets, Michael Kalina wrote:[color=blue]
> Lauri Raittila <lauri@raittila.cjb.net> wrote in message news:<MPG.1bef40e3e5fd780998a117@news.individual.n et>...[color=green]
> > in comp.infosystems.
www.authoring.stylesheets, Michael Kalina wrote:[color=darkred]
> > > Lauri Raittila <lauri@raittila.cjb.net> wrote in message news:[/color]
> > <div class="foobar">[color=darkred]
> > > <script type="text/javascript"
> > > src="http://www.flickr.com/badge_code.gne?nsid=65039038@N00&count=1&d isplay=random&name=0&size=thumb&raw=1" ></script>
> > > </div>[/color]
> >
> > I don't understand at all why are you using that script. I bet you don't
> > understand the script either. Using some simple server side code would be
> > much better.
> > What is that script supposed to do? Why are you using it? Why it is
> > mostly bullshit? Where did you get it?
> >
> > Have you noticed, that your code is horrible to look at?[/color]
>
> Dear Lauri!
>
> Sorry that my code offends your eyes,[/color]
I makes debugging of your site very hard, and you asked help. Offending
my eyes is irrelevant. (Very good sites with easily debuggable code may
hurt my eyes, as I don't like capitalized tags - but that is totally
irrelevant, unless someone asks)
In first reply, I ddin't even look at your code very carefully, because
it was so un readable, and I thought you would know basics of CSS and
HTML. So I didn't know you used some clueless script instead some clueful
script.
[color=blue]
> sorry that I, somebody who tries
> to produce validating code, ask such questions in such an elite-group,
> where somebody who is not a specialist in stylesheets seems not to be
> welcome.[/color]
Don't take it personally. If you take newsgroup messages personally, you
are stupid. (now, if you read that to mean that you would be stupid, you
are stupid. You are not stupid, but the JS you used sure is.)
[color=blue]
> Yes, I have no clue what this javascript does, yes, I do not
> understand it. It's a code I got from the flickr-service
> (
http://flickr.com) to show some random image of my pictures on my
> homepage, which is also taken from blogger (
http://blogger.com) and
> which's code is written by Dan Cederholm (
http://www.simplebits.com/),
> who seems to be a specialist in this...[/color]
The JS it wrotes it complete bullshit. The random image thing irrelated
to that JS. I was unable to find the script on those
[color=blue]
> Of course, it would be more easy for me to just input the code I got
> from flickr, let the thing be working and that's it. A lot of people I
> know are doing this.[/color]
Well, what is that code? Is it hard to believe it would be worse than JS
you have now. Or is that JS the code? Do flickr give you options about
code (can you use some other?)
[color=blue]
> But what happens? Reading answers that express nothing else than "What
> do you want, go away, let us alone?!!!"[/color]
I never said let us alone. I did ask what do you want, because I didn't
know what you wanted. Is it too hard to get that it is impossible to give
answer if it is not known what you aim.
In the first message, I gave you 2 generic code examples on about how to
do it. You never commented them. In my second post, I give you one ugly
hack, which would allow you to use your horrible JS. If you don't
understand my advice, and can't ask what I mean with it, you better not
give me bullshit.
If your code would have been more sensible, it would be easy to give you
even more different ways to do it. But you are using one cell table with
invalid attributes, which makes styling much harder. The fact that you
did not know you used table layout doesn't take it away.
Validation is just tool, it does not for example get invalid code
generated by JS.
[color=blue]
> (especially from you!)[/color]
I gave you some CSS to make it look somehitng that I *guessed* you want
it to look. You didn't say, if you want you box in center, or image
centered in box, or box left edge in same place, or boxes right edge in
same place, etc, etc.
It is very hard to help you make something look like something, If you
don't know what it should look.
The JS also prints all kinds of stuff that make make using styles very
hard. Which is why neither of 2 different codes I gave you work.
[color=blue]
> is not
> funny, not useful and for somebody who really has no clue of
> professional coding, it's disappointing.[/color]
I have given you 3 different way to do what I think you want. You have
not understood any of them. So instead actually asking why none of them
work, you īgive me bullshit about me mentioning your invalid code
generated by script you don't understand.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>