Please take a look in my webpage
http://www.4parchitects.com/presentationtest.htm
I Have added the fbpage script as it is in istruction pages:
<script type="text/javascript">
fbPageOptions = {
theme: blue,
resizeDuration: 5.5,
imageFadeDuration: 4.5,
overlayFadeDuration: 0,
navType: 'both'
};
</script>
But it cannot render the first floatbox in this page as desired.
Also, there is the triangle mark with the (!) on the bottom left of the internet explorer that reports error on page. I believe that the problem is the theme: part of the above code but why?
when i remove the theme:blue, note there is no such mark but the result is not as expected.
As you may notice in the same page i am using the rev=" " in each floatbox with perfect results but it is a bit annoying. I wound prefer a global setting for each page.
What am I doing wrong ? Is the doctype correct ? I think so....
thanks in advance and keep up the good work.!!!
fbpage options dont' apply and report error in page
Page: 1
Author | Post |
---|---|
stelrp
|
#1 Sun Apr 12, 2009 10:15 am
|
Guest | |
#2 Sun Apr 12, 2009 2:54 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
It's always the simple things that cause grief.
'blue' is a string, the same way 'both' is, and needs the quotes. |
stelrp
|
#3 Mon Apr 13, 2009 3:55 pm
|
Guest |
Thanks a lot for your reply. I have made all the correction and the result is beautiful !
Let me ask you something else, I am trying to make a slideshow last for ever by using the: endtask: 'loop', but the slideshow plays normally and when ic finishes it closes automatically. Please take a look at : http://www.4parchitects.com/presentationgiopat1.htm I think I am missing something here. Thanks |
#4 Mon Apr 13, 2009 4:40 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Still problems with your fbPageOptions construct. The options are case-sensitive. You have endtask: 'loop'. You need endTask: 'loop'.
Also, please note that 'true' is not a string, it's a boolean, and should not be quoted in fbPageOptions. You can get away with quoting 'true', but if you tried setting something to false and used quotes, it wouldn't work. For cleanliness, strip the quotes off 'true' as well. |
stelrp
|
#5 Mon Apr 13, 2009 6:33 pm
|
Guest |
Thaks a lot !
|
Page: 1