Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6231233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:53:50+00:00 2026-05-24T09:53:50+00:00

I am new to JavaScript. Here is the HTML code from my .php page

  • 0

I am new to JavaScript.
Here is the HTML code from my .php page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<meta name="Description" content=" " />
<meta name="Keywords" content=" " />
<?php include './thumbsup/init.php' ?>
<?php echo ThumbsUp::css() ?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<?php echo ThumbsUp::javascript() ?>

<script type="text/javascript" src="/menu/tab-nav.js"></script>
<link rel="stylesheet" type="text/css" href="/menu/style.css" />
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
<meta content="http://www.likedislike.tk/img/Desert.jpg" property="og:image"/>
</head>

<body>
<img src="img/smalllogo.gif" width="50" height="67" /><img src="img/like,dislike,what-you-think.png" width="125" height="50" />
<!-- SIDE NAVIGATION -->
<div id="tab-nav-3" class="tab-nav">
  <ul>
        <li>
          <a href="#" class="Arrow">&nbsp;</a>
          <ul>
                <li>
                <div align="right" style="float:right; margin-right:7px;"> 
                <span>

                        <a href="http://www.99points.info/" class="small button TabAddNew">
                                99 Points
                        </a>
                </span> 
                </div>
                </li>

                <li>
                <div align="right" style="float:right; margin-right:7px;"> 
                <span>
                        <a href="http://www.99points.info/" class="small button TabAddNew">

                          PHP
                        </a>
                </span> 
                </div>
                </li>

                <li>
                <div align="right" style="float:right; margin-right:7px;"> 
                <span>
                        <a href="http://www.99points.info/" class="small button TabAddNew">
                                jQuery
                        </a>

                </span> 
                </div>

                </li>
                <li>
                <div align="right" style="float:right; margin-right:7px;"> 
                <span>
                        <a href="http://www.99points.info/" class="small button TabAddNew">
                                Codeigniter
                        </a>
                </span> 
                </div>

                </li>

                <li>
                <div align="right" style="float:right; margin-right:7px;"> 
                <span>
                        <a href="http://www.99points.info/" class="small button TabAddNew">
                                Tutorials
                        </a>
                </span> 
                </div>

                </li>
          </ul>
        </li>

  </ul>
</div>
<!-- SIDE NAVIGATION -->
<br />
<br />
<center>
<img src="img/Desert.jpg" alt="desert" width="300" height="400" align="middle" />
<br />
<?php echo ThumbsUp::item('test3')->template('thumbs_up_down') ?>
<?php echo ThumbsUp::item('test3')->template('mini_poll') ?>
</center>
<style type='text/css'>@import url('http://getbarometer.s3.amazonaws.com/assets/barometer/css/barometer.css');</style>
<script src='http://getbarometer.s3.amazonaws.com/assets/barometer/javascripts/barometer.js' type='text/javascript'></script>
<script type="text/javascript" charset="utf-8">
  BAROMETER.load('rSR42kS5mkSjZ55nSYmc7');
</script>
<script>var options={"publisher":"81cbe826-100d-469c-9e6f-5705f10c7db0","ad":{"visible":false,"openDelay":"5","closeDelay":"0"},"livestream":{"domain":"http://www.likedislike.tk"},"ticker":{"visible":false,"domain":""},"facebook":{"visible":true,"profile":"http://www.facebook.com/pages/LikeDislike/227916660563617"},"fblike":{"visible":false,"url":""},"twitter":{"visible":false,"user":"sharethis"},"twfollow":{"visible":true,"url":"http://twitter.com/#!/LikeDisliketk"},"chicklets":{"items":["facebook","twitter","gbuzz","email","sharethis"]}}; var st_bar_widget = new sharethis.widgets.sharebar(options);</script>
</body>
</html>

Now as you can see there is more than one HTTP request because of all the .js files.
Now is there is any way to upload this on code Google? and combine them together.
I know I can host it on code Google project but this is what I got in FAQ http://code.google.com/p/support/wiki/DownloadsFAQ

“Are there any restrictions to how much bandwidth a download can consume?
No, but excessive bandwidth usage will be throttled and malicious usage will be blocked.

We also discourage direct references to JavaScript files hosted on the download
service from HTML. This is because this path is not optimized for production web traffic.
As your traffic increases, you run the risk of experiencing failures on your current
requests. Instead, we encourage alternatives such as using the AJAX Libraries API
(http://code.google.com/apis/ajaxlibs/) which have better latency/scalability
characteristics for such scenarios or hosting the file on your own server.

BAD CODE. DO NOT DO THIS!

 <script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" type="text/javascript"></script> 
EXCELLENT

 <script src="http://www.google.com/jsapi"></script> 
 <script> 
   google.load("jquery", "1"); 
 </script> 

OK

 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> "

So how do I get this kind a link http://ajax.googleapis.com/ajax/libs/myfile.js
I want to make my site faster

Feel free to shoot some of my mistake 🙂
I am only 13 .

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:53:51+00:00Added an answer on May 24, 2026 at 9:53 am

    The Google Library API only hosts very popular libraries – it’s not a service that you can upload your own code to. You can view all the libraries they supply here.

    If your page load is slow, are you sure that the javascript load time is what is causing a slow page load? Before performing any optimisation, I would encourage you to measure your page load to find out which part is the slowest (server code, Javascript load, image load, page rendering, etc). As already mentioned, Google’s Page Speed tool might be a good choice (I haven’t used it, although it looks pretty awesome).

    If you decide you do want to combine your javascript files, you could use minify to do it. Additionally, if you’re worried about javascript load time, the answers to this question and the beginners guide found here could help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hallo, i am new to jquery, AJAX requests. Here is my html code in
I've been using PHP for too long, but I'm new to JavaScript integration in
The following javascript should setup an interval so a new item from the list
New to javascript/jquery and having a hard time with using this or $(this) to
I'm relatively new to Javascript and was wondering if there's a quick way to
Being fairly new to JavaScript, I'm unable to discern when to use each of
Wondering how to open many new windows with Javascript. I have found plenty of
Is it possible to launch a new window in JavaScript using the window.Open function,
Is there a way to spawn a new window via javascript in IE7 that
jQuery and JavaScript in general are new ground for me. What are some good

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.