Web Hosting Talk







View Full Version : Really cool NFL team navigation. How to do it using PHP?


Junkie
01-07-2006, 03:54 AM
I'm trying to make a top navigation bar like the website examples below...

http://www.seahawks.com/Default.aspx
http://mirror.colts.com/defaultplayoff.cfm


Is it possible to do this using PHP includes? How? Do you embed the styles in the PHP include file or maybe the styles can be in a seperate style sheet and be linked from the PHP include file? Any ideas how to do this with PHP?

mitchlrm
01-07-2006, 12:41 PM
You can use php to generate html and javascript but php itself is server based and doesn't do navigation bars. You can have html and javascript within php includes but that probably doesn't help much.

There are lots of free javascript navigation bars around. I would start there.

seodevhead
01-08-2006, 12:40 AM
You don't want to use javascript for that... You can do all that with just CSS.