Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12

Thread: Site Refreshing

  1. #1
    New Coder
    Join Date
    Jun 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Site Refreshing

    Hello. I've been getting alot of complaints that one of my sites has a problem of refreshing. Meaning that when you go to it, it keeps refreshing and refreshing non stop. It does not however make hits to the site. I can not find anything wrong with the code. This just started happening out of no where. I just started experiencing it on IE. I don't think it happens on AOL.

    Problem: Page keeps refreshing until 'Stop' button is pushed

    Solution: I really need one, my visitors are leaving.

    Any help would be greatly appreciated.

    www.splintercellsource.com
    Last edited by SC Source; 01-10-2004 at 04:24 AM.
    -SC Source
    Webmaster and Owner
    www.splintercellsource.com
    "I only play in the dark."

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Location
    USA
    Posts
    230
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A link or some code would be helpful.

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Well I didn't see any code that would be causing it right off hand but I've gotta say... it is a real mess in there.

    What is the deal with repeating this block of code every few lines?
    Code:
    <style =" text/css">
    
    body { font-size: 7pt; color: 272727; }
    
    td { font-size: 7pt; color: 272727; }
    
    A:link { text-decoration: none; color:"white" }
    
    A:visited { text-decoration: none; color:"white" }
    
    A:hover { text-decoration: none; color:"272727" }
    
    </style>
    It is extremely redundant and incorrect coding.

    I didn't have any refresh problem with Mozilla 1.5 btw.
    OracleGuy

  • #4
    New Coder
    Join Date
    Jun 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is in my news. If u go to any other section, u won't see it. I can't do anything about it. And it works, I don't know how that is wrong.

    I don't care about that right now, I want it to stop the refreshing.
    -SC Source
    Webmaster and Owner
    www.splintercellsource.com
    "I only play in the dark."

  • #5
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Just getting an error 404

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Iowa / Notre Dame
    Posts
    538
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've noticed a few things, whether or not they contribute to your issue I can't be sure. First off, in presumabley every browser but Internet Explorer, your links appear the defualt blue color, rendering them pretty much un-readable. This is cause by your css being coded incorrectly. Currently, your code reads:

    A:link { text-decoration: none; color:"white" }

    The quotes around the color name should not be there. You've no need to quote most css attributes. The code should read more like:

    A:link { text-decoration: none; color: #fff }

    Also, as oracleguy pointed out, you keep repeating your <style> block of code. Besides being completley unnecessary, this repeated block is incorrectly coded. One example is the line that reads <style =" text/css"> should read <style type="text/css">. I don't know if this has anything to do with IE hanging, but you never really know.

    BTW, I had no refreshing problem in Firebird 0.6.1 or IE 6 (winXP).
    My Site {Mike's Adventures}

    Yikes, forums are almost too much fun.

  • #7
    New Coder
    Join Date
    Jun 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, thanx. I know alot of my coding is messed. But it seems to work. I will fix that now. I have to keep those style sheets on there because its a news post program that posts it evertime I post it again. Can't help that.
    -SC Source
    Webmaster and Owner
    www.splintercellsource.com
    "I only play in the dark."

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think you should clean up your code first and if the problem still exists, then ask about how to find and fix it.

    It's like having making bedroom into a total disaster area and then expecting someone to go in there and find a sock you lost. If the room is clean, you're not likely to loose a sock in the first place but should you loose one, it's going to be a lot easier for someone else to assist you in finding it.

    Whew! That sounds harsher than I intended but I ran HTML Tidy against your the page you linked below and it showed more than 700 warnings.

    However, in the interest of doing more than just complaining that your pages are horrible code (something most of us have been guilty of in the past, it does seem to be part of the learning experience) I'd also ask that you check and see what kind of browsers the users who are experiencing problems with your site are using. If the problems are limited to a specific browser then finding the exact source of the problem will be simplified because we'll stand a better chance of reproducing the problem.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #9
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Using a WYSIWYG editor ?

    Okay, that wasn't fair
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

  • #10
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Originally posted by SC Source
    I have to keep those style sheets on there because its a news post program that posts it evertime I post it again. Can't help that.
    I'd either use a different news script or edit the script and remove them. There is absolutly no need to keep repeating the css. No offense to the person who wrote the system but that is a very bad way to write a peice of web software.
    OracleGuy

  • #11
    New Coder
    Join Date
    Jun 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I don't understand why the hell it does it and from what I see and am reviewing, I do not see any mistakes with my HTML. All of my code that I see as of now is perfect. I use everything correctly. I checked it over and over. I would like to use that HTML Tidy prog, would you mind giving me the link to download it.

    I fixed the style sheets so that it will work in every browser now.

    The only browser that is having problems is in IE, but not in AOL. Very strange.

    The news script is cute news. I added the style sheets to it, thats the only way I could friggin figure out how to make it so the same font and stuff was being used in that news prog.
    -SC Source
    Webmaster and Owner
    www.splintercellsource.com
    "I only play in the dark."

  • #12
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For HTML tidy try: http://infohound.net/tidy/

    You can also find in built into some tools (I use Ultredit which has tidy built in).
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •