Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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&up_dogs=1&up_cats=1&up_rabbits=1&up_guineapigs=1&up_hamsters=1&up_pygmygoats=1&synd=open&w=220&h=220&title=Cute+Pet+Pictures&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
Google now allows gadgets on any web page now, besides googlepages and google homepage.
Edit: Sorry, its here:
<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
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&up_dogs=1&up_cats=1&up_rabbits=1&up_guineapigs=1&up_hamsters=1&up_pygmygoats=1&synd=open&w=220&h=220&title=Cute+Pet+Pictures&border=%23ffffff%7C3px%2C1px+solid+%23999999&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
Re: noob question:Google Gadgets?
ok, thanks. I guess I really need to learn css.
Offline
Pages: 1