vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I install jQuery? (https://vborg.vbsupport.ru/showthread.php?t=208921)

Villyz 03-20-2009 05:42 PM

How do I install jQuery?
 
How do I install jQuery?

UKBusinessLive 03-20-2009 05:54 PM

Quote:

Originally Posted by Villyz (Post 1772748)
How do I install jQuery?

JQuery what?? All JQuery is a simplified version of javascript, So it would depend what JQueary code you wanted to add ;)

http://docs.jquery.com/Tutorials:How_jQuery_Works

That tutorial helps too

Villyz 03-20-2009 05:58 PM

I just wanted to install the version "jquery-1.2.6.min"

UKBusinessLive 03-20-2009 06:03 PM

Quote:

Originally Posted by Villyz (Post 1772753)
I just wanted to install the version "jquery-1.2.6.min"

Does it not come with instructions??

Where ever it is you are getting that file it should tell you how to use it, otherwise it can be dangerous to install/Upload files you don't know anything about, Especially Javascript type files, What are you hoping to acheive, by installing this????

:confused:

Villyz 03-20-2009 06:18 PM

Quote:

Originally Posted by UKBusinessLive (Post 1772758)
Does it not come with instructions??

Where ever it is you are getting that file it should tell you how to use it, otherwise it can be dangerous to install/Upload files you don't know anything about, Especially Javascript type files, What are you hoping to acheive, by installing this????

:confused:

It's just something for my header that I coded, I found out I needed to install jQuery for it to work...

Regs 03-20-2009 06:31 PM

Just upload the jquery-1.2.6.min file to your server and then reference it in your headinclude template, i.e.,

Code:

<script type="text/javascript" src="/path_to_script/jquery-1.2.6.min"></script>

Lynne 03-20-2009 06:33 PM

jquery-1.2.6.min.js is just a file you upload to your server. It's included in one of the modifications I downloaded and all I did was upload it into the appropriate folder that the install instructions said to install it in.

1Unreal 05-09-2009 06:51 PM

Nobody actually answered this question so I thought I would post just incase anyone else needed to know.

Just put this code somewhere between the <head>tags.

HTML Code:

<script src="http://code.jquery.com/jquery-latest.js"></script>
Also, make sure that you put any jQuery code after this bit

ragtek 05-10-2009 04:39 PM

Anybody checked if its a better performance to get the jquery file from google or from jquery?


All times are GMT. The time now is 02:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01057 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete