Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 19, 2025 - @267.53 (what is this?)
Activity rating: Four Stars Posts & Arts: 86/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :eyes: ~ Inconvenience is counterculture ~ :eyes: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  HELP: Using jQuery on Neocities


« previous next »
Pages: [1] Print
Author Topic: HELP: Using jQuery on Neocities  (Read 1072 times)
OfPowerDerive
Newbie ⚓︎
*

⛺︎ My Room

View Profile WWW

First 1000 Members!Joined 2023!
« on: August 17, 2023 @173.94 »

Hey! I'm working on a personal website hosted on Neocities, part of the website needed a bit of JavaScript for an animation. I typically use jQuery and therefore linked the Google Hosted Libraries link (specifically: https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js) to my html file in the head as I often do. It functioned entirely fine until I tried opening up the website on another desktop after I had updated the files on Neocities. The jQuery on the other desktop was not functioning at all.

Has anyone else dealt with a similar issue when using jQuery?

What I was thinking of doing is clearing the cache of the desktop to make sure it's viewing the most recent iteration of the website. However, I opened up the developer tools and the newest section of code appears to be there, it just isn't working.

The second potential solution I was going to try is just downloading the jQuery files onto the website itself, but that seems like overkill. Especially since it'll take up a portion of the storage available on Neocities, which could be entirely unnecessary. So I was hoping that someone might have an alternate solution or suggestion to keep in mind when working with jQuery on Neocities.
Logged
Kolo
Jr. Member ⚓︎
**


⛺︎ My Room
StatusCafe: kolo

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #1 on: August 17, 2023 @386.82 »

The second potential solution I was going to try is just downloading the jQuery files onto the website itself, but that seems like overkill. Especially since it'll take up a portion of the storage available on Neocities, which could be entirely unnecessary. So I was hoping that someone might have an alternate solution or suggestion to keep in mind when working with jQuery on Neocities.


Wouldn't the minimized file only be like 80 KB? I don't think you need to worry too much about self-hosting it if space is your primarily issue.
Logged

⋆。˚⋆.°˖✧ there is a dream world many miles inside me ✧˖°.⋆ ˚。⋆
⋆。˚⋆.°˖✧ and i go there when i can ... many miles haunting me ✧˖°.⋆ ˚。⋆
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Hyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travelsAlways My Pal
« Reply #2 on: August 17, 2023 @596.91 »

What I was thinking of doing is clearing the cache of the desktop to make sure it's viewing the most recent iteration of the website. However, I opened up the developer tools and the newest section of code appears to be there, it just isn't working.
So the thing you'd wanna look at in dev tools is - A. Are there any errors in the console! - B. Is the jQuery file being loaded in the network tab - (Also C. Does that other browser have Javascript enabled)

However Id agree with Kolo! You are better off keeping all your files in one place and a minified version of jQuery is super small!
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
OfPowerDerive
Newbie ⚓︎
*

⛺︎ My Room

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #3 on: August 17, 2023 @857.94 »

Alright! I'll check everything mentioned, but at this point I'll probably just download the minimized file. Thanks!
Logged
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

I need help with neocities

Started by Kane VirkutisBoard ☔︎ ∙ I need Help!

Replies: 1
Views: 2219
Last post February 25, 2022 @609.50
by Melooon
Where are IPFS backups on Neocities? ANSWERED!

Started by ellievoyydBoard ✁ ∙ Web Crafting

Replies: 3
Views: 2592
Last post March 17, 2022 @162.86
by PAINTKILLER
Neocities on Polygon!

Started by MelooonBoard ☁︎ ∙ Hyperlinks

Replies: 9
Views: 2833
Last post June 18, 2023 @827.12
by Melooon

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi