100 Web Space
http://forum.100webspace.com/

<a> and Onclick open cp.100ws.com
http://forum.100webspace.com/viewtopic.php?f=4&t=4747
Page 1 of 1

Author:  snb828 [ Sun Aug 20, 2006 4:33 pm ]
Post subject:  <a> and Onclick open cp.100ws.com

I have the following code, which should open my TableofContents Home page in iframe "_ToC" and my welcome page in iframe "_body".
Code:
<a href="ToC_home.htm" target="_ToC" lang="" onClick='parent._body.location.href="Welcome.htm"'>(Home) </a>

It opens the onclick code to cp.100ws.com, instead of me welcome.htm, this does work on localhost, or my computer, but not after upload.

My Site: http://marsto9.100webspace.net/HTML-PHP/index.htm

PS - My client is going to purchase a personal pro plan soon with her own domain name

Author:  Oliver [ Sun Aug 20, 2006 4:37 pm ]
Post subject: 

I guess that the link is wrong. Keep in mind that the server is case sensitive.

Author:  snb828 [ Sun Aug 20, 2006 7:10 pm ]
Post subject: 

Oliver wrote:
I guess that the link is wrong. Keep in mind that the server is case sensitive.


If the link is wrong, why would it work on my localhost?

Edit: Never mind, case sensitive :oops:

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/