Yay! I Have My Own Website!!!

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Yay! I Have My Own Website!!!

Postby Dante » Fri Oct 10, 2008 9:03 am

Alright... so last night, I couldn't sleep... so I decided to investigate and eventually purchase the rights to a domain name and hosting for a site name that I had long thought about but never thought would still exist. Long story short, I now own tensor-industries.com

...for a year... then I have to renew...

There are only two problems.
1. I'm not sure how to redirect my users to this page (http://www.tensor-industries.com/default.html) upon their typing in tensor-industries.com. tensor-industries.com just sits their as though its one big broken link.

2. It works happy in internet explorer and dies completely in firefox... I built it in firefox offline and it was happy... but now none of the pages are accessible and all of my images have vanished. I wouldn't normally think that I left my backslashes backwards, but the problem is, I don't HAVE any for many of these images and they are still not showing up. Anyone else have this issue with FF when switching to the web from their offline webpage production?

I anyone is interested in seeing it, you can check it out here... just make sure you use Internet Explorer :P.

http://www.tensor-industries.com/default.html
-Pascal
FKA Pascal
User avatar
Dante
 
Posts: 1323
Joined: Thu Mar 04, 2004 8:24 pm
Location: Where-ever it is, it sure is hot!

Postby Midori » Fri Oct 10, 2008 11:05 am

Okay, there are backslashes in the main page, which has the frameset. It loads the individual frames even though they have backslashes, because your web server treats backslashes like they're slashes. However, those frames have images and links in them that have relative urls, and IE and Firefox disagree about the nature of backslashes.

For instance, the frame at "http://www.tensor-industries.com/PRIME\NAVIGATION.html" has a link to "PHYSICS.html".
Internet Explorer interprets this as "http://www.tensor-industries.com/PRIME\PHYSICS.html".
Firefox interprets this as "http://www.tensor-industries.com/PHYSICS.html" since it does not treat the backslash as a directory delimiter.

It worked when viewing it offline, because Firefox sees that your filesystem uses backslashes, but when viewing it on the web, only slashes are considered directory delimiters. I believe this is in fact the proper behavior, and IE does it wrong.



(Cool site, by the way.)
User avatar
Midori
 
Posts: 1805
Joined: Mon Sep 12, 2005 6:43 pm
Location: Mingling with local sentients

Postby Dante » Fri Oct 10, 2008 3:34 pm

Thank you.... hmm... but does that mean that I have to add if IE explorer tags to everything and rebuild all images for IE and Firefox in order to make them both happy.
FKA Pascal
User avatar
Dante
 
Posts: 1323
Joined: Thu Mar 04, 2004 8:24 pm
Location: Where-ever it is, it sure is hot!

Postby Dante » Fri Oct 10, 2008 4:34 pm

Ok, figured it out! Turns out that I had to turn my file system on its head and have ALL of my html files on the front-most folder. Then my task was made much simpler by changing the file locations within the frame html file. Quite different from the last time I had a similiar problem like this :P.

-Pascal

(I don't care who is right and who is wrong, I just wish firefox and IE would implement a standard and be done with it!)
FKA Pascal
User avatar
Dante
 
Posts: 1323
Joined: Thu Mar 04, 2004 8:24 pm
Location: Where-ever it is, it sure is hot!

Postby Midori » Fri Oct 10, 2008 9:17 pm

Why can't you just use slashes instead of backslashes? Does the program you're using to write it use backslashes automatically? Cause, that's a little bit silly. URLs are very standardized, and using only forward slashes is the standard. IE also recognizes slashes, so it'll work in both.
User avatar
Midori
 
Posts: 1805
Joined: Mon Sep 12, 2005 6:43 pm
Location: Mingling with local sentients

Postby Dante » Sat Oct 11, 2008 12:14 am

Well no. The problem ended up being this, it wasn't the backslashes as much as it was the fact that internet explorer was recognizing the way I wanted my relative links to work out while firefox was not. The end result was that all of my links would be in PRIME/some_link.html for internet explorer (because the links were in the frames and so it was relative to the frame page) while firefox would simply place down some_link.html and ignore the folder PRIME. In other words it was looking relative to the frame holder and not relative to the frame.

I had already tried flipping the slashes and backslashes and it made no effect prior to this. Which was really wierd. Luckily this latest manipulation took little effort and now everything is online WOOHOO!!! Thank you for the help!

-Pascal
FKA Pascal
User avatar
Dante
 
Posts: 1323
Joined: Thu Mar 04, 2004 8:24 pm
Location: Where-ever it is, it sure is hot!

Postby Anime Dad » Thu Nov 06, 2008 6:58 pm

Nice site!

May I point out that you've spelled gozaimasu as gozaimausu on your news page? I'm only mentioning it because you're obviously proficient at Japanese so it would just be a typo :grin: ウェブサイトはすばらしいですね!
User avatar
Anime Dad
 
Posts: 126
Joined: Mon May 30, 2005 7:03 pm
Location: Australia.... BTW i'm not really a dwarf with a bushy beard and a helmety thing.....

Postby Warrior4Christ » Thu Nov 06, 2008 7:48 pm

While we're on that, it's actually 'konnichiwa' rather than 'konichiwa'.
And, depending on how you do double vowels, 'arigatou' rather than 'arigato'...
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Dante » Sun Nov 09, 2008 5:53 pm

Gah, have to change that next time I update... yeah its been two years since I took JPN and it's showing... everyone who speeks Japanese refuses to speek it in America :P. But yeah I tend to forget though those things too often :P.
FKA Pascal
User avatar
Dante
 
Posts: 1323
Joined: Thu Mar 04, 2004 8:24 pm
Location: Where-ever it is, it sure is hot!


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 116 guests