A Flash badge
- Flickr give us a code, which can be summaries like this :
<!-- Start of Flickr Badge -->
<style type="text/css">
... some style sentences ...
</style>
<script type="text/javascript">
... javascript sentences ...
</script>
... html sentences ...
</div>
</div>
<!-- End of Flickr Badge -->
<style type="text/css">
... some style sentences ...
</style>
<script type="text/javascript">
... javascript sentences ...
</script>
... html sentences ...
</div>
</div>
<!-- End of Flickr Badge -->
- Copy the green part, where the badge must appear.
- Create a file (with notepad) which contain the css (the blue part). Name this css file style_flickr.css
- The normal <link> tag to upload a style sheet, will be removed by GPC. You need to upload the style_flickr.css file into your GPC, and to write this javascript at the beginning of the first section (after header) of the page :
<script language="Javascript" type="text/javascript">
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href =
'http://YOURSITE.googlepages.com/style_flickr.css';
cssNode.media = 'screen, print';
cssNode.title = 'style sheet for changing width';
document.getElementsByTagName("head")
[0].appendChild(cssNode);
</script>
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href =
'http://YOURSITE.googlepages.com/style_flickr.css';
cssNode.media = 'screen, print';
cssNode.title = 'style sheet for changing width';
document.getElementsByTagName("head")
[0].appendChild(cssNode);
</script>
- The result :
An HTML badge
- Flickr give us a code, which can be summaries like this :
<!-- Start of Flickr Badge -->
<style type="text/css">
... some style sentences ...
</style>
<table ...
... some html ...
</td></tr></table>
<!-- End of Flickr Badge -->
<style type="text/css">
... some style sentences ...
</style>
<table ...
... some html ...
</td></tr></table>
<!-- End of Flickr Badge -->
- Copy the green part, where the badge must appear.
- Create a file (with notepad) which contain the css (the blue part). Name this css file style_flickr.css
- The normal <link> tag to upload a style sheet, will be removed by GPC. You need to upload the style_flickr.css file into your GPC, and to write this javascript at the beginning of the first section (after header) of the page :
<script language="Javascript" type="text/javascript">
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href =
'http://YOURSITE.googlepages.com/style_flickr.css';
cssNode.media = 'screen, print';
cssNode.title = 'style sheet for changing width';
document.getElementsByTagName("head")
[0].appendChild(cssNode);
</script>
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href =
'http://YOURSITE.googlepages.com/style_flickr.css';
cssNode.media = 'screen, print';
cssNode.title = 'style sheet for changing width';
document.getElementsByTagName("head")
[0].appendChild(cssNode);
</script>
- The result :
| www.flickr.com |
More Informations
- Media RSS and Slide Show for your GPC Page. Another way to create a slideshow from Flickr
- Changing the Background
- Changing Opacity and Transparency
- Opacity and Transparency with Blogger
- Adding titles for pictures using CSS
- Using a lightbox for your pictures
Tutorial - How to use Google Page Creator
- Accesskeys for your site
- Color bar
- Ajax and xml
- A blog and a feed on a site
- How to integrate a spreadsheet
- Changing the width of columns
- Internal links, indentation and drop caps
- Using frames with GPC
- Changing the background
- Changing style of links
- Using simple template black or white
- Changing opacity and transparency
- Using a lightbox for your pictures
- Lightbox2 - To Display a Set of Pictures
- Slimbox, another clone of lightbox
- Using text box with rounded corners
- Testing Menu from ButtonGenerator.com
- Playing with iframe
- Adding titles for pictures using CSS
- Create Borders for your Pictures
- Scrolling text and pictures with scrollTop
- How to integrate Google CSE to GPC
- A Plugin to add a Custom Search Engine to the Toolbar
- Fixed menus and dynamic contents
- Playing mp3 files
- Playing Video with GPC
- Favicon, Feed and Redirection
- Media RSS and Slide Show for your GPC Page
- Using Float Box for AdSense









