I have some sponsor-websites that launch out of my flash-menu on my website.
I just noticed that when you open them up they are non-scrollable.
Is there any way to resurrect this or should I tell flash to open the sponsor websites in a new window?
- Please read the docs first.
- The forum's search function can be very helpful.
- Give an online example of problems if you can.
- Try to behave.
Page: 1
| Author | Post |
|---|---|
|
#1 Mon Jun 07, 2010 10:58 pm
|
|
|
Member
Registered: Jan 2010
Posts: 19
|
I have some sponsor-websites that launch out of my flash-menu on my website.
I just noticed that when you open them up they are non-scrollable. Is there any way to resurrect this or should I tell flash to open the sponsor websites in a new window? |
|
#2 Mon Jun 07, 2010 11:35 pm
|
|
|
Administrator
Registered: Aug 2008
Posts: 1530
|
Do you mean that the external sites open as iframes in a floatbox and that the floatbox has no scrollbars even though there is content in the frame to be scrolled? This sounds odd and I'd really like to see an example.
But in the meantime you could try setting "scrolling:auto" in the options for the link or call that opens the floatbox. I say that the behaviour sounds odd because "auto" is the default setting for iframe content. |
|
#3 Tue Jun 08, 2010 11:37 pm
|
|
|
Member
Registered: Jan 2010
Posts: 19
|
That's right - but I am launching floatbox from a flash menu.
For an example go to http://www.thatsfishing.com.au. And on the big jampacked menu at the top/ the flash menu go to the right and click on Wilsons Fishing Tackle Specialist or on FishingFever Can you set floatbox options from Flash menu links? I have tried it so far on 2 macs 10.5.8 in safari and firefox and on a PC, Windows XP in IE |
|
#4 Wed Jun 09, 2010 3:12 am
|
|
|
Administrator
Registered: Aug 2008
Posts: 1530
|
Sure, you can set floatbox options from flash menu links.
I assume you are calling fb.start('http://www.wilsonfishing.com/') from your flash object. The second parameter to fb.start is an options string, like this: fb.start('http://www.wilsonfishing.com/', 'scrolling:auto') See the API reference. And that's exactly what you have to do. You've encountered a bug where iframe content that has neither a height nor a scrolling option set for it will fail to show scrollbars. I'll have that fixed in the next release but in the meantime you need to explicitly set either height or scrolling. |
|
#5 Sun Jun 27, 2010 11:48 pm
|
|
|
Member
Registered: Jan 2010
Posts: 19
|
this is what I'm calling now
ad2.onRelease = function() {and it doesn't work at all. clicking the buttons, won't open the window. also tried setting the height ad2.onRelease = function() {I'm pretty certain I have the latest version of floatbox. Don't know what can be causing it? Ever come across this before? |
|
#6 Mon Jun 28, 2010 12:55 am
|
|
|
Administrator
Registered: Aug 2008
Posts: 1530
|
Your fb.start syntax is messed up. Note the differences between what you quoted and the example I gave (curly braces, "href:" prefix):
Good--> fb.start( 'http://www.wilsonfishing.com/', 'scrolling:auto' ) Bad --> fb.start({ href:'http://www.wilsonfishing.com/','scrolling:auto'}) |
|
#7 Mon Jun 28, 2010 2:11 am
|
|
|
Member
Registered: Jan 2010
Posts: 19
|
oh of course. Yes it's working now.
Still have to note that I did need to specify scrolling:auto, and without it the buttons wouldn't work at all. final code: ad2.onRelease = function() {Edit: thanks! |
|
#8 Mon Jun 28, 2010 2:39 am
|
|
|
Administrator
Registered: Aug 2008
Posts: 1530
|
The scrolling:auto is certainly not required to be there. It's likely there was a typo in the call that didn't use that, like perhaps the comma still present between parameters, but no second parameter. That would be enough to halt the js interpreter with a syntax error.
|
Page: 1
Floatbox Forum is powered by UseBB 1 Forum Software