Problem with javascript!  Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Problem with javascript!

    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Problem with javascript!

    Post by Ustanov Wed 19 Nov - 10:46

    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 : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati Wed 19 Nov - 11:32

    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 Wed 19 Nov - 11:47

    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 : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati Wed 19 Nov - 11:54

    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 Wed 19 Nov - 12:26

    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 : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati Wed 19 Nov - 12:29

    So is it working now?
    avatar
    Ustanov
    Forumember


    Posts : 118
    Reputation : 3
    Language : slovenian

    In progress Re: Problem with javascript!

    Post by Ustanov Wed 19 Nov - 12:34

    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 : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati Wed 19 Nov - 12:38

    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 Wed 19 Nov - 12:42

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

    Yes, that's exactly what you can see Smile
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    In progress Re: Problem with javascript!

    Post by Mati Wed 19 Nov - 12:54

    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 Wed 19 Nov - 12:58

    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 : 51500
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray Wed 19 Nov - 13:16

    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 Thu 20 Nov - 6:14

    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 : 51500
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray Thu 20 Nov - 6:25

    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 Thu 20 Nov - 6:47

    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 : 51500
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray Thu 20 Nov - 6:54

    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 Thu 20 Nov - 7:04

    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_ Thu 20 Nov - 10:15

    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 Thu 20 Nov - 11:44

    _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 Thu 20 Nov - 11:48

    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_ Thu 20 Nov - 12:01

    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 Thu 20 Nov - 12:10

    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 Thu 20 Nov - 12:36

    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 Thu 20 Nov - 12:38

    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 : 51500
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Problem with javascript!

    Post by SLGray Thu 20 Nov - 15:06

    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_ Thu 20 Nov - 19:05

    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