1
Jharis
small pr script
  • 2005/11/12 7:44

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


Ok here's a small script for pr that I've past into my footer section. Shows the my sites pr in the footer.

What do you guys think about placing scripts in the footer. Good idea or bad?

Here's the script.

<a href="http://www.pagerank.net/" title="Search Engine Optimization" target="_blank"><img src="http://www.pagerank.net/pagerank.gif" alt="Search Engine Optimization" style="border: 0;"></a>


don (el paso)
motto - green chili for everything!

2
highlander
Re: small pr script
  • 2005/11/12 9:26

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Possibly I would put scripts (and stuff) directly into the footer.php file (or the theme) to stop it having being pulled out of the database on each page. especially if the script is exactly the same on each page.

However scripts which are a littly dynamic (slight variation depending on on which page you are) could well be placed in the footer.

I have aslo spoken to people who feel all "scripts" should be in the header (or at least in one location) but I feel I can always find stuff by doing a good search.

kind regards, Highlander

edit: not actually sure when a script is a script and when its not. However the "script" you posted above looks more like an image with a link attached to it. I would say that the footer is an extremely good place for such a bit of code. !
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com

Login

Who's Online

233 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits