Page 1 of 1

Javascript

Posted: Sat Mar 21, 2009 8:29 pm
by RedBaron
Hi:

Anyone know if theres a plugin that allows javascript in S9Y?

Tried it in an html nugget and strange things happened :oops:

Toodle pip!

Re: Javascript

Posted: Sat Mar 21, 2009 9:02 pm
by yellowled
RedBaron wrote:Tried it in an html nugget and strange things happened
Probably more likely because either some of the JS needs to be masked or maybe it didn't work well with a WYGIWYS editor. Please provide more info on how you tried it.

YL

Re: Javascript

Posted: Sat Mar 21, 2009 10:02 pm
by RedBaron
As it turns out, I found an alternative pure html version of the code I was looking for. .. I suppose I'm asking the general question now: Is JS fully compatible, if not, what to look out for, ways to mask / hack etc ?.. initially my simple mind said if theres an html nugget plugin, there's surely a JS variant of that? Could be wrong.

No comments on my exactly HOW simple my mind actually might be ... thanks :)

Re: Javascript

Posted: Sun Mar 22, 2009 11:42 am
by onli
I never got problems when using the html-head-nugget to insert javascript. Only thing possibly interfering I'm aware of are the markup-plugins, which you may deactivate for this plugin. Or you could export the JavaScript into a file and load that one.
sincerely

Re: Javascript

Posted: Sun Mar 22, 2009 12:53 pm
by RedBaron
Thanks for the answers - all sorted .. now back to the code

Cheers!

Re: Javascript

Posted: Thu May 14, 2009 3:46 pm
by garvinhicking
Hi rinmazz:

Please give us the URL you are talking about. You can get this message if you wrongfully configured the plugin or files are missing.

Regards,
Garvin

Re: Javascript

Posted: Wed Aug 05, 2009 2:29 pm
by onli
Yes, there are a few possible ways. One I haven't used yet, but probably the easiest one, is using cookies. See http://www.quirksmode.org/js/cookies.html for an example.
sincerely

PS: That was spam? hmpf -.-

Re: Javascript

Posted: Wed Aug 05, 2009 5:39 pm
by kleinerChemiker
Spam is getting worse. Sometimes its hard to tell if its spam or not, like here. Mostly users with only one post and several links in their signature are spamers.
Garvin: Do you need a valid email to create an account and validate the email with a link in an email?

Re: Javascript

Posted: Wed Aug 05, 2009 6:50 pm
by Don Chambers
onli wrote:PS: That was spam? hmpf -.-
Looks like you edited your message after it was originally posted... what you cannot see is that there were two other posts that have since been deleted, one by Garvin, and another by kleinerChemiker... both of which were spam posts.... and I believe those are why kleinerChemiker then posted his statement about spam - it does not appear to have been directed at you.

He is correct - there are lots of posts lately in which the author makes a single post (usually), the text of which is somewhat relevant to the topic, but the real objective by the author seems to be one or more links in their signature....

Re: Javascript

Posted: Wed Aug 05, 2009 6:58 pm
by onli
Yes, I edited my post after I realised the post with the question was deleted because it was spam. I never thought my post was regarded as spam :)

Re: Javascript

Posted: Wed Oct 21, 2009 1:39 pm
by kleinerChemiker
if both pages uses the same domain, you could use cookies. if not, store the serialized array in a db that is accessible for both pages.