SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Issue of a NON-Database Website
-
Aug 22, 2006, 19:09 #1
- Join Date
- Nov 2005
- Location
- Karachi - Pakistan
- Posts
- 1,134
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Issue of a NON-Database Website
Hi Masters
I have a tricky issue. That is, I m working for my client in USA. He has a website regarding Car Dealers in NewYork. THere is a page where all the car dealers are listed. HE DOES NOT USE ANY SCRIPTING LANGUAGE OR DATABASE He just use Frontpage. PURE HTML FILES. Now he wants that the Feature of Google map to be added to his list of Car Dealers.
According to the scenario, it simply means that if he has 1000 Car dealers info, then i will have to make 1000 HTML pages for shoing the map through GOOGLE MAP API as the address would change for every dealer.
Is there any way apart from the DATABASE that we make just one file and pass the address to that page "throug URL parememters like
"www.some.com?address=this and that" and that page show the map ???
please gudie
-
Aug 22, 2006, 19:36 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
no db and GET vars
You can pass GET vars to a page and use javascript. But this would mean the page had all the information in it. It could be a very large weight page. eg (in pseudo-code)
Code:<script... //get GET value switch (val) case 1 show_dealer1_info; case 2 show_dealer2_info; case 3 show_dealer3_info; //ad nauseam <div id="dealer1" style=hidden blah.. blah .... <div id="dealer2" style=hidden blah.. blah .... <div id="dealer3" style=hidden blah.. blah .... //ad nauseam
Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Aug 22, 2006, 20:11 #3
Originally Posted by zeeshanhashmi
the answer apart from database is using webservices, the only thing you need to do is find a webservice which can do the trick for you, or made or ask to make one for you.
thanks
navtej
-
Aug 23, 2006, 07:24 #4
- Join Date
- Nov 2005
- Location
- Karachi - Pakistan
- Posts
- 1,134
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hey can any one give me a lil example of using GET varialbe with javascript ?
Bookmarks