The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

javascript works only if written in one line

5 posters

Go down

In progress javascript works only if written in one line

Post by poesia-verses September 26th 2020, 09:51


javascript works only if written in one line. but if you copy the normal code somewhere, it doesn't work

used to work on everyone. and then as a result of the updates it became like this

poesia-verses
poesia-verses
Forumember

Male Posts : 571
Reputation : 22
Language : and small english

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: javascript works only if written in one line

Post by SLGray September 26th 2020, 10:13

Are you should you are copying and pasting correctly?  If you are doing it from here, make sure that nothing extra has been added.


javascript works only if written in one line Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: javascript works only if written in one line

Post by skouliki September 26th 2020, 10:24

can you post a screenshot please
do you get any message ?
is this for all codes or just one?
are the java enabled?
skouliki
skouliki
Manager
Manager

Female Posts : 15399
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: javascript works only if written in one line

Post by poesia-verses September 26th 2020, 10:38

correctly

correctly
I can't imagine a screenshot because I have already made all the codes in one line

poesia-verses
poesia-verses
Forumember

Male Posts : 571
Reputation : 22
Language : and small english

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: javascript works only if written in one line

Post by skouliki September 26th 2020, 12:22

poesia-verses wrote:correctly

correctly
I can't imagine a screenshot because I have already made all the codes in one line

sorry i can not fully understand you 

you have all your codes combined in one code ?
skouliki
skouliki
Manager
Manager

Female Posts : 15399
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: javascript works only if written in one line

Post by poesia-verses September 26th 2020, 14:02

have all your codes combined in one code ?
no, of course
poesia-verses
poesia-verses
Forumember

Male Posts : 571
Reputation : 22
Language : and small english

https://stihi-podval.forumotion.com/

Back to top Go down

In progress Re: javascript works only if written in one line

Post by skouliki September 26th 2020, 14:04

do you get any message?
is this for all codes or just one?
are the java enabled?
is this problem on mobile or desktop version?

ok please answer to each question separately


Last edited by skouliki on September 27th 2020, 08:52; edited 1 time in total
skouliki
skouliki
Manager
Manager

Female Posts : 15399
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: javascript works only if written in one line

Post by Ape September 26th 2020, 19:39

It sounds like things could be missing in the code you are using.

Can you tell us where you got the code from.
"IE" where the post / topic / Thread is giving us a URL Address so we can test this our self.

Regards,

Ape


javascript works only if written in one line Left1212javascript works only if written in one line Center11javascript works only if written in one line Right112
javascript works only if written in one line Ape_b110
javascript works only if written in one line Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19460
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: javascript works only if written in one line

Post by levy September 27th 2020, 02:44

Hello @poesia-verses

Try cleaning up the cache, history and anything like this. All of your members have problems like this? Maybe the cache to them, for visiting the website over too long of period of time got damaged but I'm not sure about that either.
I'd still recommend to clean the cache and if you'd like to do the work, try making a simple jQuery, I'll leave one below for you to make a square. Don't forget please, to clear the cache, then add the code to the javascripts

Code:
$(function(){$(function(){
  $('body').append('<div class="square" style="position:absolute;width:150px;height:150px;left:0;top:0;z-index:9999;"></div>');
    })
  });
 

Another fix might be just to add the codes to your overall_header template as
Code:
<script></script>
levy
levy
Hyperactive

Male Posts : 2631
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

poesia-verses likes this post

Back to top Go down

In progress Re: javascript works only if written in one line

Post by skouliki October 3rd 2020, 12:27

if your request is complete, please mark it as Solved
skouliki
skouliki
Manager
Manager

Female Posts : 15399
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum