Changing hosting changes how html works

Asked by:
dee14me / 8 Points
Time:
2011-08-25 12:12 pm EST
Category:
Website Troubleshooting
Hits:
2,933
I am changing from godaddy hosting to web hosting hub. I am adding my domain to a hosting account that I already use for someone else.

Before I point the hosting to my new domain, i want to make sure my mouse over function will still work.

If you visit my site, currently hosted by godaddy, the mouse over function works. www.dianakohne.com/artwork.html

I have tried different approaches to coding the web hosting hub code, but the mouse over isn't working. Will it magically work when I point the domain?
http://www.margaretehahner.net/dianakohne.com/artwork.html

Thank you,

Diana

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User

0

bradm
Staff
1,846 Points
2011-08-25 4:22 pm EST
Hi Diana,

Javascript runs on a user's browser, it does not depend on anything server side. The same javascript that runs on GoDaddy's server should run on Web Hosting Hub's server. Again, javascript does not require anything on the server to run, it is instead executed by the user's browser.

When I visit the site that is not working:
http://www.margaretehahner.net/dianakohne.com/artwork.html

I looked at the html and saw this:

<script type="text/javascript" src="/help/thumbnailviewer2.js" defer="defer">


The problem is that this file does not exist:
http://www.margaretehahner.net/dianakohne.com/thumbnailviewer2.js

I would double check that you have uploaded all of the appropriate files.

I'm not familiar with the javascript function that you're running, but let us know if it does not work after you've uploaded all of your files, and we'll be more than happy to review further.

Thanks!
- Brad

To submit a comment on this answer, please first login.

ANSWERS

0

KevinW
591 Points
2011-08-25 2:22 pm EST
Hello Diana,

I'll be more then happy to help. Just for an example, here is part of the html for one of the pictures:

rel="enlargeimage::mouseover"
rev="<strong>loadarea::http://www.dianakohne.com/lariver100.jpg</strong>"

The way that the code is set up, the "loadarea" is still loading to <strong>http://www.dianakohne.com</strong>. Since the code is on <strong>http://www.margaretehahner.net/dianakohne.com/artwork.html</strong> at the moment, it is causing it not to load properly since it is trying to load the picture to the wrong place. So you are correct that it should start working once it is pointed to our servers as then the load path will be the same again.

Also, while I was looking at the page just make sure that you have loaded all the images into the new addon domain for your account with us, for example it looks like the Twitter image has not made it over yet. Since Web Hosting Hub uses a Linux server, all files are case sensitive, so keep that in mind as well when creating your links. Also, if you use any css, make sure those files are uploaded into the same folder on our servers. If you have any additional questions just let us know!

Kevin

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}