Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Strange behavior in Firefox
Old 05-30-2008, 05:22 PM Strange behavior in Firefox
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Open Firefox if you aren't using it now.

Here is a site I am building: click here
Right there on the homepage, in the right sidebar, there is a tabbed interface under the heading "voice samples". In this, there is a button that says "MORE SAMPLES". Click it.

This will open up a lightbox-like interface, with more tabs on it. There is a button that says "NEXT PATIENT". Click it.

The dialog changes so that a new patient is visible. But look at the lower right corner of the interface. There is a big chunk missing! Ok, no biggie I thought, there is some simple answer, as is normal.

But here is the befuddling part. If you changes tabs, then come back to the page, or resize the browser by even 1 pixel, or minimize the window then reopen it, the chunk is no longer missing... Has anyone ever seen anything like this before? It is only happening in Firefox.

There is some scripting going on in the page, so I guess it could be related. There is a Flash element (an MP3 player), and Javascript changing a lot of classes and styles to make the tabs play nice, but I can't seem to isolate the source of the problem.

I also haven't totally debugged it in Explorer, but the IE problems are totally standard stuff, so I'm not worried about them.

Any ideas?

***UPDATE: solved *** It was a CSS issue. I should have known better. Took me more time to write up this question than to figure it out, lol...
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 05-30-2008 at 09:15 PM.. Reason: Solved
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
 
Register now for full access!
Old 05-30-2008, 08:53 PM Re: Strange behavior in Firefox
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Mind sharing the solution? The page you describe is similar to one I'm working on that has Flash on it and uses a lot of javascript to change styles.

I've had a weird problem in all browsers. I have an empty link with a background image. The background image changes the source on hover. All done simply with css. The first time you hover no image shows at all. All that happens is the original background image disappears. Every time after that it works as you'd expect.

I know your issue was somewhat different, but it sounds similar enough to wonder if your solution can help mine.

Thanks.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-30-2008, 09:12 PM Re: Strange behavior in Firefox
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
It was an overflow issue. There was an inner div that was not expanding to hold the floats. I couldn't set overflow properties on the containing div, because of the way the tabs had negative positioning on the top (they needed to be visible without having scroll bars on the container) , and clearing the floats didn't seem to work. when I made the overflow of the inner div "hidden", it expanded to hold the floats. I'm still not sure why the gap would close when the window resized, that remains a mystery. So I may have treated the symptoms instead of the cause, but at least it is stable.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 06-02-2008, 04:38 PM Re: Strange behavior in Firefox
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Thanks. I'm not sure if that will solve my issue, but I'll keep it in mind when I'm working on it just in case.

I appreciate it.

I know what you mean about treating the symptoms. Sometimes the cause itself is puzzling to a point where you're completely lost and treating the symptoms is all you can do.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-02-2008, 05:23 PM Re: Strange behavior in Firefox
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
Quote:
Originally Posted by vangogh View Post
Mind sharing the solution? The page you describe is similar to one I'm working on that has Flash on it and uses a lot of javascript to change styles.

I've had a weird problem in all browsers. I have an empty link with a background image. The background image changes the source on hover. All done simply with css. The first time you hover no image shows at all. All that happens is the original background image disappears. Every time after that it works as you'd expect.

I know your issue was somewhat different, but it sounds similar enough to wonder if your solution can help mine.

Thanks.
I'm not totally sure from your description what you're trying to do, but if the background image changes on hover and doesn't appear the first time, you might want to try making it a CSS sprite if you haven't already. That tends to fix hover flickers and delays for images.
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 06-02-2008, 05:51 PM Re: Strange behavior in Firefox
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think I basically have it set up as a css sprite, but I just did some quick searching and bookmarking to look at when I get a chance. Maybe I'm missing one small detail.

Thanks for the suggestion.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Strange behavior in Firefox
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23882 seconds with 12 queries