Embed SimpleViewer and site home page

Asked by:
Jujululu / 11 Points
Time:
2012-03-22 6:02 pm EST
Category:
Website Design
Hits:
1,917
I am using simple viewer as a gallery. I have it embedded in a div in design.html



So why is the simple viewer showing up as my main page and not inside the div on design.html?

Thank you!

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

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2012-03-22 6:25 pm EST
Hello Jujululu,

I'm sorry you're having trouble integrating SimpleViewer with your website. By default, the server shows pages named index (index.html, index.htm, or index.php) before showing any other pages. This is called the Directory Index. Currently, your index.html file consists of the embed code for SimpleViewer so that is what shows when you go to your temporary URL (since your domain isn't currently pointed to our Nameservers).

SimpleViewer Code

While checking into this, I noticed that the embed code for SimpleViewer in index.html is not the same as the SimpleViewer code in Design.html. I would recommend replacing the SimpleViewer code in Design.html with the SImpleViewer code from index.html.

Your Site's Default Home Page

I see a file named home.html that I think is what you want to show instead of the index page. Once you have moved the code from index.html over to Design.html, you can either edit index.html to match home.html or place the following directive in your .htaccess file:

DirectoryIndex home.html

Please let us know if you have any questions or need any further assistance.

Regards,

Christi N.

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.
}