| Some sort of Dynamic page update and javascript help needed Ok, I've got things where they need to be finally, but I want to do a couple of things.
Number one (low priority). I've got static pages for everything. Not fun to update, but I suppose I can handle things for a few months. I'd like to make it easier. I was thinking of iframes, but Tony has suggested otherwise (navigation nightmare I believe were the words he used). I don't mind separate pages for my top menu items, but as you browse to different pages, most of them have a contextual menu on the left. I'd like to create files that contain the content of the and load that specific content dynamically without reloading the entire page. It'd make updates (by others) a lot easier, which means making life easier for me.
Number two (high priority). On our "Worship With Us" page there are two left nav items, the worship schedule and map. I've added a form to get directions using the Google! Advanced Directions Maps API.
code dot google dot com /apis/maps/documentation/examples/directions-advanced dot html
I don't know how to modify the javascript so that it will accept the address passed to it. I've played with it a little with no success. I know need to parse the input to get the from address.
Go to www dot resurrection dot org /dev/map.html to see what I'm talking about. (need to post 2 more messages to get past this. Why is there a 15 post min before I can put a URL in a post????)
Many thanks,
David
Last edited by davidsain; Monday, May 19th, 2008 at 05:24 AM.
Reason: wording correction
|