PDA

View Full Version : Question about Java script box codes


Little-zinzoline
Sep-01-2007, 04:51 AM
I've a problem with my Java script box.
If I add or change something in it and upload, when I come back to my homepage, I can't enter into my site.
(That's what happened yesterday evening and that's why I've posted a thread in dgrin, asking for some help).
By chance I've found a way to repair the mess.
I've taken the registred copy of the Java script box in note pad and replaced codes in customization box with this "refreshed" version. Then, all was OK.

It there something wrong in my box ?

Thank you very much for giving me the solution ! :-)

Allen
Sep-01-2007, 06:07 AM
I've a problem with my Java script box.
If I add or change something in it and upload, when I come back to my homepage, I can't enter into my site.
(That's what happened yesterday evening and that's why I've posted a thread in dgrin, asking for some help).
By chance I've found a way to repair the mess.
I've taken the registred copy of the Java script box in note pad and replaced codes in customization box with this "refreshed" version. Then, all was OK.

It there something wrong in my box ?

Thank you very much for giving me the solution ! :-)
You're saying you copied your js and pasted into notepad. Then copied from
notepad and back into js? Sounds like some bad characters or control
characters in there, probably came from another program like Word.

Little-zinzoline
Sep-01-2007, 09:13 AM
Thank you Al for your answer.

Is it possible to do or change something ?

Allen
Sep-01-2007, 09:25 AM
Thank you Al for your answer.

Is it possible to do or change something ?
In the javascript? It's just pure text. Same with the header, footer, gallery
description and captions. Just don't paste something if generated/composed
by another program especially Word. Paste into notepad or a pure text editor
first then copy from there and paste in.

Little-zinzoline
Sep-01-2007, 09:38 AM
Thank you very much Al

I don't use Word because I've learnt here in the forum that it wasn't a good idea. Now I only use note pad. I'll be very careful when changing something !

:thumb