Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-04 18:34:18

justgold79
New Member
Registered: 2006-09-19
Posts: 3
Website

noob question:Google Gadgets?

How do I fix this google gadget on my textpattern site:
medi-vet blog

It’s a google gadget that shows up incorrectly.

This is what I put into the template:

<script type="text/javascript" src="http://gmodules.com/ig/ifr?url=http://www.petsyclopedia.com/randpet.xml&amp;up_dogs=1&amp;up_cats=1&amp;up_rabbits=1&amp;up_guineapigs=1&amp;up_hamsters=1&amp;up_pygmygoats=1&amp;synd=open&amp;w=220&amp;h=220&amp;title=Cute+Pet+Pictures&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

Google now allows gadgets on any web page now, besides googlepages and google homepage.

Edit: Sorry, its here:

http://pastebin.com/800212

<small>(Your pastbin link doesn’t work. Edited post to display your code. -Els)
Second edit: edited pastebin link to work ;)</small>

Last edited by justgold79 (2006-10-05 20:29:24)

Offline

#2 2006-10-04 20:28:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: noob question:Google Gadgets?

Where on the page did you put the code? And where do you want it to appear?

Offline

#3 2006-10-05 20:24:29

justgold79
New Member
Registered: 2006-09-19
Posts: 3
Website

Re: noob question:Google Gadgets?

I want the code to appear on the left side.

<!-- left -->
<div id="sidebar-1">
<!-- Google Gadget -->
<script type="text/javascript" src="http://gmodules.com/ig/ifr?url=http://www.petsyclopedia.com/randpet.xml&amp;up_dogs=1&amp;up_cats=1&amp;up_rabbits=1&amp;up_guineapigs=1&amp;up_hamsters=1&amp;up_pygmygoats=1&amp;synd=open&amp;w=220&amp;h=220&amp;title=Cute+Pet+Pictures&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js">
</script>

</div>

Last edited by justgold79 (2006-10-05 20:30:27)

Offline

#4 2006-10-05 20:51:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: noob question:Google Gadgets?

Well, it doesn’t exactly show up incorrectly, you’ll have to adjust your layout to fit it in properly. One simple way would be to change the width of #sidebar-1 from 150px to 320px in your CSS, and in #content margin-left to 320px. But that’s not a great look either. I suggest you start with playing around with the CSS to find out how to manipulate the layout.

Offline

#5 2006-10-09 23:45:30

justgold79
New Member
Registered: 2006-09-19
Posts: 3
Website

Re: noob question:Google Gadgets?

ok, thanks. I guess I really need to learn css.

Offline

Board footer

Powered by FluxBB