Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 28, 2024 - @508.23 (what is this?)
Forum activity rating: Four Star Posts: 67/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :transport: :transport: More is More :transport: :transport:

+  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 363 times)
OfPowerDerive
Newbie ⚓︎
*


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 ⚓︎
**


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

⋆。˚⋆.°˖✧ but even in a box am i dreaming / of a galaxy of stars above my ceiling ✧˖°.⋆ ˚。⋆

icon by dovalore
Melooon
Hero Member ⚓︎
*****


So many stars!

SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

Always My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!The Smallest Ozwomp Known To ManBug!
« 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 ⚓︎
*


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: 1311
Last post February 25, 2022 @609.50
by Melooon
Where are IPFS backups on Neocities? ANSWERED!

Started by ellievoyydBoard ⁇ ∙ Tutorials

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

Started by MelooonBoard ☆ ∙ Showcase & Links

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

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


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