Welcome to WebmasterWorld Guest from

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)

Full Member from US 

10+ Year Member

joined:Mar 22, 2008
posts: 319
votes: 0

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)

Senior Member

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

joined:May 26, 2000
votes: 0

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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members