Hello,

I am using rss feeds on my site and would like to open the links in a new window. However, at the bottom of this new window, I would like to have a sticky footer where I can put a message ... something like this site has done - http://www.saradaga.com/ ---- Under 'World News', if you click on a link, the link will open in a new window, however at the bottom on the new window, there is a banner.

How can I do this in php?

Thanks a lot for any help :-)

    You can't.

    PHP doesn't know what a "window" is or how you "open" one, or what "the bottom" would mean, or what a "link" is.

    Which is why we have HTML, Javascript, and CSS.

      Did you try this string "Sticky footer" in google?

        All that is is a frameset. All you'd have to do is make sure that your links send the url that is to be read. Their link sends the URL to be read through the URL as a variable: "furl".

        So your php page just takes the sent URL ("furl") sets that up in a frame, and uses another frame to put your logo / message at the bottom.

          Or use an iframe for the off-site content within a normal (non-frameset) page, following bpat's suggestions for using PHP to get the iframe's src attribute.

            Write a Reply...