smngy Posted January 30, 2014 Share Posted January 30, 2014 Hi All, I’m building this site and have hit a big wall. http://smongey.github.io/landl/ What I’ve done is use ajax (via jquery load) to pull in different segments of a pages. When a user clicks a link jquery takes and splits the href attribute and pushes it into the load action like so to get the relevant page. .load($address + ' #page > *') this makes sure the contents of the div with id page all get loaded back in. the address variable is then stored and used for back button and changing links to active etc. I was pretty happy with how the static version was working but when I tried to implement into PW the parts of the pages with pw fields weren’t rendering. That link is to the static version of the site. I haven’t pushed up the pw version yet. If there are any ideas, thoughts, or even if I’m doing this wrong I’d really appreciate advice. Thanks Seán Link to comment Share on other sites More sharing options...
Wanze Posted January 30, 2014 Share Posted January 30, 2014 I was pretty happy with how the static version was working but when I tried to implement into PW the parts of the pages with pw fields weren’t rendering. Can you post your code that's not working correctly? Link to comment Share on other sites More sharing options...
smngy Posted January 30, 2014 Author Share Posted January 30, 2014 @wanze just pushed up my PW folder here. https://github.com/smongey/landl The practice page (for example) loads fine when I load that page directly but if its loaded through an ajax call it just returns a blank page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now