I built both of these pages:
http://www.stamps-plus.com/results.asp?cmd=AUS
http://secure.bbdesign.com/edwardyounger/catalog.asp?searchtext=a
In the first, the images pop open nicely... perfect size, BG color, etc. In the second the popups are way too big and a different color. I can't figure it out, what would the difference be? I copied most of the code from one site to the other. Thanks!
two sites, one works great, other doesn't... can't find the difference
Page: 1
Author | Post |
---|---|
#1 Mon Apr 13, 2009 7:25 pm
|
|
Member
Registered: Apr 2009
Posts: 81
|
|
#2 Mon Apr 13, 2009 9:00 pm
|
|
Member
Registered: Apr 2009
Posts: 81
|
Is it possible there are limitations to the floatbox directory being in the root or not?
|
#3 Mon Apr 13, 2009 9:07 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
On the first site, your links are to .jpg files so floatbox already knows they're images. On the second site, the links are to .asp files, which by default will load as iframes. Iframes don't report dimensions the way images do.
So for the links that go to .asp pages that return images, tell floatbox they're images by adding rev="type:img" to the anchor. I think then you will get the behaviour you're looking for. If not, let me know... |
#4 Tue Apr 14, 2009 6:45 pm
|
|
Member
Registered: Apr 2009
Posts: 81
|
That did it! Thanks so much.
|
Page: 1