QUICK: Image reloads on fb popup

Page: 1

Author Post
FreeformWeb
Guest
Quick problem:

Check this: http://www.looseleafconcepts.com/portfolio

In Safari, the main image map reloads and re-scrolls to the center (as per its marquee) when one of the items is clicked to load the fb inline pop-up.

Help!
Administrator
Registered: Aug 2008
Posts: 3382
Wow! I haven't seen a marquee since about 1982!

Floatbox loads its color theme css files on demand as needed. It appears that for webkit browsers (Safari, Chrome) all elements on the page are re-rendered when new css rules are inserted, and this re-rendering causes the marquee element to animate from the beginning.

There's a trick you can do. You can load the css at page load time so that it won't get loaded when your image map is clicked. You're using the white theme. So change your body tag to:
<body bgcolor="#CCCCCC" onload="window.fb && fb.getModule('white.css');">

Page: 1