Hello.
I am not entirely sure if this is possible or not but so far you guys here at SO were always able to help me out so here it goes:
The following website: www.bgarchitect.co.nz
Has a navigation that works fine on the main page but (due to me making a mistake) does not work on the sub pages as it relies on images being loaded and then switching their hide() / show() properties. (it's quite easy to spot the mistake once you're on the site).
Is there any way that I could create a function that checks if the user is on the home page (http://www.bgarchitect.co.nz/index.php) and if NOT then goes to that page and upon loading automatically executes the funtion that is normally mapped to the navigational element being clicked?
Example: I am on a sub page and click on "Culture" then—since i am not on the home page—I am being taken back to the home page and the culture() function is being executed without me having to click the button again.
Thanks for reading. Jannis
PS: I know this is far from ideal in any case but I am trying not having to manually having to fix my mistakes throughout the entire site (which would take quite some time)..