• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

safari browser issue

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

when i am switching to a tab in safari browser whole page is not being displayed..so i noticed that something must happen on screen ....in order to do that first i kept an alert and it is working fine...so in a better way i tried to open an window and again close it...it is also working fine...

coming to the code side....when we switch to another tab it is calling a javascript function....

my main objective is to display the page when we switch over the tab and at the same time user must not be notified that....

can anyone help me regarding this issue..
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This the tabs on the browser or on the application itself?

If it is the browser, I have never heard of any issues like that. I would personally try to figure out why it is happening with your page [put pieces on it at a time and see when it fails] and not build some band-aid solution.

Eric
 
harsha vardhan ch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tabs are from application....and more over i am facing this issue with safari browser 2.0.4 version..i guess it is working fine with the higher versions and remaining browsers.

In my application i have two tabs such that if one of the tab is clicked the relative information should be displayed and vice versa. when we click the tab a java script function is being called. so i checked keeping the alert statements in that function and noticed that a alert must be there before a statement to display the content.
[ October 23, 2008: Message edited by: harsha vardhan ch ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"harsha vardhan ch", please check your private messages for an important administrative matter.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If things work when there is an alert, but not if there is not, it's a good bet that you've got a timing issue or race condition.

Is there any Ajax involved? Are you running inline script?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Show us your code on how you are doing the update of the tabs.

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic