Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: open

Message Too Old, No Replies

CSS display when using AJAX (Unique to Safari)

     
5:00 pm on Mar 14, 2011 (gmt 0)

5+ Year Member



FILE #1: In a very full page of HTML, I have a few DIVs that are hidden by CSS. Various Javascripts cause the DIVs to appear and dissapear on specific events (click, mouseover, etc). Unfortunately, the data displayed on this page changes often.

"No problem," I said. I will just create:
FILE #2: An Ajax script, designed output File #1 every 30 seconds (to make sure the user always sees the latest data).

The Javascript and CSS work fine, when you are viewing File #1. But, when you are viewing File #2, the DIVs in question are always showing (ignoring any CSS and/or JavaScirpt).

This issue is unique to Safari. No issues in IE, FF, O, or Ch.

Does Safari handle something differently that might cause this?
10:26 pm on Mar 14, 2011 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Because both Chrome and Safari use the same rendering engine, the problem is most likely that the Safari JavaScript engine accesses the DOM object differently.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month