Advanced Search

Results 1 to 7 of 7

Thread: Browser Earthquake help.

  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Browser Earthquake help.

    This message is in directed to the Browser Earthquake script found at URL http://www.dynamicdrive.com/dynamici...earthquake.htm

    When I put this into my site (An invisionfree site, if that helps any), it worked perfectly, the pop up showing after the earthquake.

    After coming back to it the next hour, it did not work, the second I loaded the browser, the pop up came, no earthquake.

    Any help?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,706
    Thanks
    43
    Thanked 3,133 Times in 3,097 Posts
    Blog Entries
    12

    Default

    The link in your post to the script is broken. As I recall, both the occurrence of and the intensity of the 'earthquake' are random at each page load. Perhaps you got a very low intensity quake the second time and/or your window size was already so close to the quake size that it was hardly noticeable. Try clearing your cache, closing all open browsers and opening the browser with the window at about 3 quarters of maximum size and return to the page.

    The only other thing I can think of is that perhaps your host disabled the script but, I doubt that. Most likely they would have done so automatically from the very first time if they were going to do it at all.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I understand now...
    When I added more forums onto the page, the page got bigger, and the earthquakes range diddn't affect it at all.
    How can I make it so that when it shakes it is noticeable again?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,706
    Thanks
    43
    Thanked 3,133 Times in 3,097 Posts
    Blog Entries
    12

    Default

    I'm not sure you do, the amount of content on the page shouldn't matter. Can you supply a link to the page?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    May 2006
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    The link: http://www.dynamicdrive.com/dynamici...earthquake.htm

    To configure the likelihood that an earthquake will occur all the time simply change 50% to 100%.

    Funny script!
    "Only dead fish flow with the stream".
    - Unknown

  6. #6
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Try Calling The Function With A Link...
    <a onclick="earthquake()">Click To Test</a>

    If That Doesn't Work, Then There's Something Wrong With Your Host.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  7. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by boxxertrumps View Post
    Try Calling The Function With A Link...
    <a onclick="earthquake()">Click To Test</a>

    If That Doesn't Work, Then There's Something Wrong With Your Host.
    or the code. Or user error (using different browser that has problem with this script).
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

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