...

View Full Version : PhP and javascript



AmmO
01-12-2010, 03:09 PM
Hi all need some help with a Site ive been working on heres the link

www.tech4t.co.uk/territorymapping/vip-valet

What the problem is on the pages that contain PHP, I can not for love nor money get the Javascript backup function work.

Does any1 have any ideas?

djm0219
01-12-2010, 03:17 PM
What backup function and where on that site?

AmmO
01-12-2010, 03:19 PM
Its the the same one that the Back hyper link uses but its been linked to the maps on the top and bottom levels, however when I try to apply it to the Region level Maps it just falls over

JAY6390
01-12-2010, 04:12 PM
Are you trying to just go back a page?
if so use this in your href
history.go(-1)

AmmO
01-12-2010, 04:19 PM
Well yes I want it so when a user clicks on a portion of the map on the php pages that does not have co ords relating to a specific page they will go back one page in their browser history, but only when they click on area of the map that does not drill down no a smaller area or they click the back link.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum