soon

soon

Real Name: Tony Whittaker

(United Kingdom)
Web evangelism advocate

Biography

Live in Derby UK, married to Mary, 5 grownup children, 3 grandchildren. Coordinator of Internet Evangelism Day.

Latest Contributions

  • Passing a value from an iframe to parent

    Hi folks

    I have a parent page containing an iframe. The parent page has a menu in it. I want to highlight different bits of the menu according to which page has loaded in the iframe.

    So I would like to do something like this:

    1. Use PHP to extract the file name (minus 'php' at the end, for the page within the iframe.
    2. Use javascript onload so that the iframe sends this value (say 'pagename') to the parent page when it loads
    3. The parent page, having received that variable into its header, will adjust a line of css thus:
    .pagename {background-color:red;}

  • A script does not work with certain unrelated code on page

    Hi

    I have a useful translation system on my site - you double click any word, and up pops a definition, with some translations in other languages.

    The script is quite old and will look a bit cludgy to script experts (I am not one). I was given permission to modify it to point to answers.com when the original owner stopped offering it themselves as a translator:

    http://www.internetevangelismday.com/scripts/dicti...

    It has done what I needed, until I find a better one (I know there is one on offer somewhere).

  • subscribing to forum

    Hi

    Is there any way that you can subscribe to a particular forum subject area, or a posting that you make, so that you get email notirication of replies or postings? I don't see this option anywhere.

    blessings to you

    Tony

  • Caching of images and javascripts

    Hi folks

    I have not really understood the best way to ensure caching of images and javascripts for a site, so that subsequent page loading of graphics takes place from the browser cache.

  • Can PHP do this

    Hi

    Having moved my site from a subdomain of gospelcom (ied.gospelcom) to its own domain http://www.internetevangelismday.com there are permanent 301 redirects from ied.gospelcom.net to the new domain, for each page.

    If I use PHP to find the referrer to any age, it displays the correct original linking page, irrespective of whether it was linking to ied.gospelcom.net or the new domain.

    Is there any sort of page property that PHP can detect, that would show the page had been a redirect from the subdomain, rather than a direct link?

    blessings and thanks

    Tony