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.
The forum of the forums
4 posters

    Problem with javascript!

    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Problem with javascript!

    Post by Ustanov 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>


    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

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

    So you wanna have snow on your forum?
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati 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/
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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 ...  

    Problem with javascript!  Cam00324 Problem with javascript!  Cam00325
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

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

    So is it working now?
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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/
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

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

    Can I see your overall_header templates code?
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati 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
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

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

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



    Problem with javascript!  Slgray10

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


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray 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.



    Problem with javascript!  Slgray10

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


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray 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



    Problem with javascript!  Slgray10

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


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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 :
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Problem with javascript!

    Post by _Twisted_Mods_ 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
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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?
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Problem with javascript!

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

    if you mean in the admin panel its not poible
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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


    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov 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?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray 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?



    Problem with javascript!  Slgray10

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


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Problem with javascript!

    Post by _Twisted_Mods_ 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

      Current date/time is November 13th 2024, 6:23 pm