Solved

jQuery into Google Site: How do I embed?

Posted on 2014-04-08
10
290 Views
Last Modified: 2015-03-02
I want to embed the following jquery into my google site - how do I do it?

0
Comment
Question by:eossma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39988390
where is your jquery and what you need to embed, show some code
0
 

Author Comment

by:eossma
ID: 39990353


This is the code I want to embed, but I don't know how to go about it.

http://jsfiddle.net/eossma/HHz6R/
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39991041
That is accordian, and if you need to insert in some of your existing pages

like suppose you want to show on the left side of the website

do it like this

.left {
	width: 250px;
	background: #CCC;
	min-height: 400px;
        position:static;
        top:100px;
}

<div align="left" class="left">
<?php include 'accodian.php'; ?>
</div>

Open in new window

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39991043
accordian.php will have your jsfiddle code inside it, once that is done and clear, if something is still annoying you, let me know
0
 

Author Comment

by:eossma
ID: 39991937
I'm sorry, do I put this in an app script, or gadget?  How do I embed this into a Google site?
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39993351
what you are referring as google site, your own site or into google..

In you referring gogle, check there api's if that has any kind of such functionality.

Because I am unclear of your Question, so i cannot provide you reliable answer
0
 

Author Comment

by:eossma
ID: 39995626
how do I get an accordion feature into a google site?  I was trying to use the jquery tool, but I don't know how to embed it into a google site.
0
 

Accepted Solution

by:
eossma earned 0 total points
ID: 40338056
After six months, I FINALLY found the answer.  Not all libraries work - for Google Sites, the older the better.  This is what made my site work:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js"></script>
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 40338086
congratulaions
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
replacing inline javascript with jquery 4 63
Outlook 2016 - Operation has failed 11 111
form isn't working is it missing a document 21 64
Secure registration PHP 7 39
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This Micro Tutorial demonstrates in Google Analytics how to create a custom report that shows you traffic over time using the month of year dimensions. There are also instructions on how to fix Google's odd month of year formatting, which Microsoft …
This Micro Tutorial will demonstrate common damaging and frequent mistakes I see in most analytic audits. Most of them are campaign tagging mistakes, so this video will break it down into simple steps.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question