I do the web sites for our local church. They're pretty simple and straightforward. As a result of us having a new vicar who wishes to change the design I'm doing some work behind the scenes at the moment.
I try to use the correct syntax and keep to standards. So for example, I use & in HTML, etc. rather than &. I have what is really a very small but niggling problem in this regard.
In a javascript menu routine I have as a parameter string
{U:'index.php?view=parents_toddlers&ch=sp',T:'Parent&Toddlers'}to call a particular page. However this doesn't work as it generates a URL
allhallows-church.org.uk/index.php?view=parents_toddlers&ch=spand thus gets the wrong page. If I change the parameter string to
{U:'index.php?view=parents_toddlers&ch=sp',T:'Parent&Toddlers'}it generates a URL of
allhallows-church.org.uk/index.php?view=parents_toddlers&ch=spIn other words the & in the 1st parameter is not being converted to &, but the & in the 2nd parameter is being so converted.
Any thoughts why?
[I've left the http:// off the front of the URLs to avoid them being treated as URLs]
Tony



Print Thread
cheshire_man