Jump to content

Website and update parts of it (etc notification on this page)

Joveice
Go to solution Solved by leonfagan71,
1 minute ago, Joveice said:

Is is better to include the scripts or keep them in teh same file? (I like to keep stuff on one location to use for more stuff)

if you will be using the script on multiple pages, you can have the functions in a separate JS file.

but you'd call the function in the actual page.


Cheers,

Leon.

1 minute ago, Joveice said:

for etc displaying registered users I'm fine by that, same for online people (which I also do not know how to do) but let's say, is 5-10 to fast for the notification part?

5 seconds would probably be too fast. 15 seconds is probably okay.

Link to comment
Share on other sites

Link to post
Share on other sites

29 minutes ago, leonfagan71 said:

5 seconds would probably be too fast. 15 seconds is probably okay.

okey

Back-end developer, electronics "hacker"

Link to comment
Share on other sites

Link to post
Share on other sites

56 minutes ago, leonfagan71 said:

5 seconds would probably be too fast. 15 seconds is probably okay.

Is is better to include the scripts or keep them in teh same file? (I like to keep stuff on one location to use for more stuff)

Back-end developer, electronics "hacker"

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Joveice said:

Is is better to include the scripts or keep them in teh same file? (I like to keep stuff on one location to use for more stuff)

if you will be using the script on multiple pages, you can have the functions in a separate JS file.

but you'd call the function in the actual page.


Cheers,

Leon.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×