Thread: Strange view source behavior.
Results 1 to 2 of 2
help with <ol><li> behavior Forum: HTML ForumReplies: 3
Pop up menu AP Div buttons behavior Forum: CSS ForumReplies: 5
View source not working in IE6 Forum: General DiscussionReplies: 70
Unusual CSS behavior Forum: CSS ForumReplies: 4
Need help, source code differs from page view Forum: HTML ForumReplies: 5
01-02-2004, 07:04 PM #1
Strange view source behavior.
I've been having some trouble with a page, and I have noticed some very strange behavior with the view source option. I can get around the problem, but I would rather fix it since it is easier to use the view source option in IE.
What is happening is, when I go to the URL, I can view the source as long as I don't use the file name.
EXE: "http://www.relivguru.com" will allow source to be viewed, but "http://www.relivguru.com/index.php" will not. This is the same with all the pages on this site, and view source seems to work fine everywhere else. index.php is the only index page, so http://www.relivguru.com is exactly the same code as http://www.relivguru.com/index.php.
Before we go into all the options to fix view source, I'll go through what I've done.
I've cleared the cache, cookies, and history.
I've tried all the options for html editors in tools>internet options>programs.
I've tried using right click>view source, view>source, and the edit button(which is grayed out).
I have checked for notepad.* files on my desktop, and even hidden notepad.* files on the desktop.
This problem seems only to happen for this URL. Since I have not put any code in there that would stop view source, I'm unsure what could be the problem.
01-04-2004, 03:35 AM #2
I still haven't figured it out. It isn't just my browser that does it either. I'm have looked at the output, and see nothing that should make this happen. Sometimes notepad will open, but nothing will be in it.
I am using osCommerce, and it isn't modified much, but I don't have this problem with other osCommerce sites. I have looked at the code, and there is no js in there anywhere. I'm completely stumped on this.
I guess this is kind of the oddball question since I'm trying to make my source viewable instead of disabling view source.