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, 8:51 am


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 : 525
Reputation : 20
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, 9:13 am

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 : 51501
Reputation : 3519
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, 9:24 am

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 : 15153
Reputation : 1696
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, 9:38 am

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 : 525
Reputation : 20
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, 11:22 am

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 : 15153
Reputation : 1696
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, 1:02 pm

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

Male Posts : 525
Reputation : 20
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, 1:04 pm

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, 7:52 am; edited 1 time in total
skouliki
skouliki
Manager
Manager

Female Posts : 15153
Reputation : 1696
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, 6:39 pm

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 : 19144
Reputation : 1993
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, 1:44 am

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 : 2632
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, 11:27 am

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

Female Posts : 15153
Reputation : 1696
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