Parent page displays graphic/link IF file there?

Les Kern

macrumors 68040
Original poster
Apr 26, 2002
3,063
76
Alabama
Is this possible?
Lets say I have a page, "index.html", and on that page is a cell for a graphic-as-link (or even just a text link) that will be enabled and visible ONLY if a page it's pointing to is present? Rather NOT have a 404 show up.
 

Les Kern

macrumors 68040
Original poster
Apr 26, 2002
3,063
76
Alabama
you will need to use php includes and if statements.
That's what I came up with so far as well. Unfortunately this is html gnerated from an application. Might look and see if it can be done with code from that app... should be able to..
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.