The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Problem with javascript!

View previous topic View next topic Go down

In progress Problem with javascript!

Post by Ustanov on November 19th 2014, 3:46 pm

Hello all dwarf  I have a problem not to use javascrit in my forum Shocked Please can someone help me with this. Thank you i have a nice day.

code: javascript!



Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//static.aljtmedia.com/uploads/javascript/jQuery.snow.min.js"></script>



Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Mati on November 19th 2014, 4:32 pm

So you wanna have snow on your forum?

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 19th 2014, 4:47 pm

Mati™ wrote:So you wanna have snow on your forum?


Yes Mati but i do  not work none of the code for javascript. What s wrong? Thanks! Neutral

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Mati on November 19th 2014, 4:54 pm

Go to Administration Panel -> Display -> Templates --> General overall_header and add this code below <head> save and Publish!
Code:
 <script src="http://www.schillmania.com/projects/snowstorm/snowstorm.js"></script>

Demo -> http://matiforum.forumotion.net/

Original script -> http://www.schillmania.com/projects/snowstorm/

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 19th 2014, 5:26 pm

Mati™ wrote:Go to Administration Panel -> Display -> Templates --> General overall_header and add this code below <head> save and Publish!
Code:
 <script src="http://www.schillmania.com/projects/snowstorm/snowstorm.js"></script>

Demo -> http://matiforum.forumotion.net/

Original script -> http://www.schillmania.com/projects/snowstorm/
Thanky yuo. I did as you wrote but i couldn't ...  


Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Mati on November 19th 2014, 5:29 pm

So is it working now?

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 19th 2014, 5:34 pm

Mati™ wrote:So is it working now?

Not complaining about the forum changed Sad This is my forum http://slovenia.forumsmusic.com/

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Mati on November 19th 2014, 5:38 pm

Can I see your overall_header templates code?

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 19th 2014, 5:42 pm

Mati™ wrote:Can I see your overall_header templates code?

Yes, that's exactly what you can see Smile

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Mati on November 19th 2014, 5:54 pm

I don't get it... can you post the code for overall_header so i can see what is wrong... blackeye

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 19th 2014, 5:58 pm

Mati™ wrote:I don't get it... can you post the code for overall_header so i can see what is wrong... blackeye

I looked at i don't know. Thank you.

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by SLGray on November 19th 2014, 6:16 pm

You can post the code in an announcement that is on all pages.


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 11:14 am

@SLGray wrote:You can post the code in an announcement that is on all pages.


Yes, i know this, just. Tell me I have to put this code in the html pages manegment or under the javascript codes?  And when I pasted the code. I put a preview and see a snowflake, but I wanted them to see them on the forum normally is not.

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by SLGray on November 20th 2014, 11:25 am

The code you have is not a full JavaScript, that is why you can add it to an announcement or widget which can appear on all pages.

For it to go in the JavaScript Management, it needs more lines of code.


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 11:47 am

@SLGray wrote:The code you have is not a full JavaScript, that is why you can add it to an announcement or widget which can appear on all pages.

For it to go in the JavaScript Management, it needs more lines of code.


How do you think the announcement can you explain the entire course, how do I add the code? Pllis Dawa And i have to have your own javaScript or not?

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by SLGray on November 20th 2014, 11:54 am

Just add this to an announcement:
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//static.aljtmedia.com/uploads/javascript/jQuery.snow.min.js"></script>
AP > General > Messages & Emails > Announcements


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 12:04 pm

@SLGray wrote:Just add this to an announcement:
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//static.aljtmedia.com/uploads/javascript/jQuery.snow.min.js"></script>
AP > General > Messages & Emails > Announcements

Yes I pasted the code, now what do i  turn
Activate announcements : da o ne



Announcements display :  Homepage  Portal  All pagesScrolling :  Go left  Go right  Go up  Go down  DeactivateScrolling speed :

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by _Twisted_Mods_ on November 20th 2014, 3:15 pm

sorry took so long i been busy but here

goto

admin panel>display>templates>general>overall_header

click Edit  

search for </head>

and place this code above it

Code:
<script type="text/javascript" src="http://yourjavascript.com/12115426121/fallingsnow.js"></script>  

Save

then scroll down to Overall_header and click Add to publish it

then your done

Note This is not the same snow script you posted .. this is my custom one

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 4:44 pm

@_Twisted_Mods_ wrote:sorry took so long i been busy but here

goto

admin panel>display>templates>general>overall_header

click Edit  

search for </head>

and place this code above it

Code:
<script type="text/javascript" src="http://yourjavascript.com/12115426121/fallingsnow.js"></script>  

Save

then scroll down to Overall_header and click Add to publish it

then your done

Note This is not the same snow script you posted .. this is my custom one

Thank you very much  Razz   Hello  it works but how do I see it on the Forum, as an administrator?

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 4:48 pm

So i when i'm on the forum also saw the snowflakes. Because i don't see them as an administrator, but i am currently on Mozilla firefox. What you squeeze that s saw? Cool

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by _Twisted_Mods_ on November 20th 2014, 5:01 pm

if you mean in the admin panel its not poible

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 5:10 pm

Not on the administratorski panel, but on the forum when i sign in. For example mozilla firefox, because they can't see through the snowflakes, but if I'm going to google crown yes. How can a half log, because the application does not see? blackeye

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 5:36 pm

@Ustanov wrote:Not on the administratorski panel, but on the forum when i sign in. For example mozilla firefox, because they can't see through the snowflakes, but if I'm going to google crown yes. How can a half log, because the application does not see? blackeye


Yes, it works great Mr. Green   ~1~  Thank yuo  Twisted Mods



Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by Ustanov on November 20th 2014, 5:38 pm

And maybe, you know, if you do, you can too, it's snowing on the topics on the Forum?

Ustanov
Forumember

Posts : 64
Reputation : 3
Language : slovenian

http://slovenia.forumsmusic.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by SLGray on November 20th 2014, 8:06 pm

Please try not to double post.  Use the edit button.

So this code works in Chrome, but not in Firefox?


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Problem with javascript!

Post by _Twisted_Mods_ on November 21st 2014, 12:05 am

well i know the script works fine and im on firefox ... so my only guess is you have another java-script causing it to error

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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