These are the option I've used for my gallery:
colorTheme:white group:export showPrint:true
My problem is that Print control does not appear.
Someone can help me please?
Problem with showPrint option
Page: 1
Author | Post |
---|---|
#1 Thu Mar 05, 2015 1:54 pm
|
|
Member
Registered: Mar 2015
Posts: 3
Location: Italy
|
|
#2 Thu Mar 05, 2015 3:56 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
The print control does not appear where???
If on Android, this is by design. Android browsers don't have scriptable print services so there's not much point putting up a print button that will do nothing. iOS is spotty. To the best of my knowledge, Safari on iOS will print, but no other browser will. The showPrint functionality is really only useful and reliable on desktop browsers. If it's giving you grief on a desktop browser, I would like to see the page that has the problem to see if I can determine what's up. |
#3 Fri Mar 06, 2015 1:40 pm
|
|
Member
Registered: Mar 2015
Posts: 3
Location: Italy
|
Sorry,
the problem is on desktop browser and affect all browser (IE, chrome, Firefox, Safari..) so I think I've made some mistake. The control appear using older version of floatbox but using latest it doesn't appear anymore. Using older version I put float box options on rev attribute and all works well. After the upgrade I made some changes according floatbox documentation putting all the options on fb-options attribute and testing that any single option is still valid. here a code sample: <a href="http://xxxxxxx.it/files/yyyy/141209/530793/gatto.jpg?022554" title="gatto.jpg" rel="floatbox.row_images_export" rev="colorTheme:white group:export showPrint:true printLinkPos:tl" data-fb-options="className:`allegato_img floatbox allegato_img floatbox`;printLinkPos:tl;showPrint:true;group:export;colorTheme:white;" id="fb_6">...</a> I hope this help to solve my problem. TYA |
#4 Fri Mar 06, 2015 1:43 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Perhaps the problem is you've got some options assigned to the rev attribute and others assigned to the data-fb-options attribute. Pick one, and put all your options together on the one you pick.
If that doesn't solve your problem, you'll have to show me the live page so I can see what's really going on. |
#5 Fri Mar 06, 2015 2:13 pm
|
|
Member
Registered: Mar 2015
Posts: 3
Location: Italy
|
Removing rev doesn't solve.
Sadly I cannot put live any sample, but this is the part: <tr id="row_images_export"> |
#6 Fri Mar 06, 2015 2:17 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Unfortunately, picking through code almost never reveals the cause of problems. The problem is occurring in a context, and if I can't see that context I won't be able to help determine the problem's real cause.
|
Page: 1