HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Creating Links to .kmz files for Google Earth
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Mon Sep 21, 2009 12:02 pm     Creating Links to .kmz files for Google Earth Reply with quote

I'm trying to create a link to a .kmz file.

The code is not working.

<a
href="Final_Google_Map.kmz"
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>



any suggestions.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Mon Sep 21, 2009 5:21 pm     Reply with quote

Where is the full URL for the link? http://domain_name.com/..."
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Tue Sep 22, 2009 11:55 am     Reply with quote

Lets say it is a website. I can not give you the full address it is a secure website.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Tue Sep 22, 2009 1:04 pm     Reply with quote

I was just asking a rhetorical question. Is the *.kmz file local on your server or elsewhere on the Internet? What program is expected to use the file when link is clicked on?

Last edited by PayneLess Designs on Tue Sep 22, 2009 5:44 pm; edited 2 times in total
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Tue Sep 22, 2009 2:01 pm     Reply with quote

It is on the server. Google Earth.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Tue Sep 22, 2009 5:45 pm     Reply with quote

Well, you answered one of the two questions. getting info from you is hard. Better that you read the Google Earth's tutorial and then come back with more information:

Google Earth Tutorial
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Wed Sep 23, 2009 7:23 am     Reply with quote

I have read the tutorial. But it still does not address how to create a link from my web site using a .kmz file. This is the error message I get.

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------

Please try the following:

•Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
•If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
•Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

--------------------------------------------------------------------------------

Technical Information (for support personnel)

•Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
•Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Wed Sep 23, 2009 3:10 pm     Reply with quote

OK. I am going to try again. This path, "Final_Google_Map.kmz", is a relative path. The file must be on your server to work. If it is on Google's server or some other server other than yours, the path has to be:

<a href="http://Google.com/Final_Google_Map.kmz">Final Google Map</a>
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>

Or something similar. You must use "http://domain_name.com/" or whatever the full path is to the "kmz" file.
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Thu Sep 24, 2009 11:02 am     Reply with quote

Thanks, I have made these changes and the link still does not work.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Thu Sep 24, 2009 7:16 pm     Reply with quote

Show your code you used when you make changes.
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Fri Sep 25, 2009 6:37 am     Reply with quote

<a href="//domain_name/clients/CLIENT/forms/Primace Final Google Map.kmz"
<% If browser_type = "MSIE" Then %>
target="_blank"
<% End If %>
><b>Primacy Final Google Map
</b></a>

<% End If %>
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Fri Sep 25, 2009 1:40 pm     Reply with quote

href="//domain_name/clients/CLIENT/forms/Primace Final Google Map.kmz is an incorrect path as I keep telling you. Do you NOT know what a correct URL path is? That is suppose to be going to Google Earth's server...right? You have no path going to ANY server with that code.

Can you NOT give me the link to the Google Earth server where that file is found so I can get the exact path you need for you?
jabbazz



Joined: 21 Sep 2009
Posts: 9

PostPosted: Mon Sep 28, 2009 7:21 am     Reply with quote

This is not on the google earth server. But our own. At this time I can not identify the server name. Thanks for your help.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

PostPosted: Mon Sep 28, 2009 3:05 pm     Reply with quote

Well, you don't have to identify it, but just understand what I am saying about the path to it.

You're welcome. Sorry I couldn't be more help.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial