You are viewing our Forum Archives. To view or take place in current topics click here.
Intergrating jQuery with html help
Posted:

Intergrating jQuery with html helpPosted:

Sundown
  • Winter 2023
Status: Offline
Joined: May 29, 201013Year Member
Posts: 4,173
Reputation Power: 9397
Status: Offline
Joined: May 29, 201013Year Member
Posts: 4,173
Reputation Power: 9397
I would like to integrate jQuery with html.

I have downloaded jQeury to the site but now I'm lost as how to insert it into the source.

Overall what I need is to have parts of the page load instead of the whole thing.
Currently have 200+images/gifs that have to load and I would like them to load in sections.
What I want to have to is a toggle for scroll points.
Where when you hit a certain scroll point a new set of images will load to the page.
#2. Posted:
Shniper
  • New Member
Status: Offline
Joined: Sep 23, 201310Year Member
Posts: 35
Reputation Power: 1
Status: Offline
Joined: Sep 23, 201310Year Member
Posts: 35
Reputation Power: 1
inside your html you will need a link to jquery I use:
"https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"

Then you will need to write some jquery in between script tags and preferably put it right above your ending body tag]

as for what you are trying to do it sounds like you need
.hide();
.show();
.toggle();

but without seeing your code I can't help much more than that
#3. Posted:
CriticaI
  • Supporter
Status: Offline
Joined: Nov 05, 201310Year Member
Posts: 2,737
Reputation Power: 448
Status: Offline
Joined: Nov 05, 201310Year Member
Posts: 2,737
Reputation Power: 448
Make a js file.

Then put this in your in your header. You will need to change the directory of the js file obviously.

Just make sure the jquery library comes first.

[ Register or Signin to view external links. ]

#4. Posted:
Sundown
  • Spooky Poster
Status: Offline
Joined: May 29, 201013Year Member
Posts: 4,173
Reputation Power: 9397
Status: Offline
Joined: May 29, 201013Year Member
Posts: 4,173
Reputation Power: 9397
Either of you want to teamviewer of screenshare with me?
I've looked over a bunch of pages and still kinda lost.
#5. Posted:
CriticaI
  • Summer 2018
Status: Offline
Joined: Nov 05, 201310Year Member
Posts: 2,737
Reputation Power: 448
Status: Offline
Joined: Nov 05, 201310Year Member
Posts: 2,737
Reputation Power: 448
yeah send me a pm and I'll help you
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.