Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

jQuery into Google Site: How do I embed?

I want to embed the following jquery into my google site - how do I do it?

0
eossma
Asked:
eossma
  • 5
  • 4
1 Solution
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
where is your jquery and what you need to embed, show some code
0
 
eossmaAuthor Commented:


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

http://jsfiddle.net/eossma/HHz6R/
0
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
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
Independent Software Vendors: 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!

 
Gurpreet Singh RandhawaWeb DeveloperCommented:
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
 
eossmaAuthor Commented:
I'm sorry, do I put this in an app script, or gadget?  How do I embed this into a Google site?
0
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
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
 
eossmaAuthor Commented:
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
 
eossmaAuthor Commented:
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
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
congratulaions
0

Featured Post

Industry Leaders: 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!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now