Closed (fixed)
Project:
OpenLayers Plus
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2013 at 10:32 UTC
Updated:
3 Jul 2015 at 06:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
agentjay commentedI'm not sure if it's related, but as the first issue with the height is CSS related maybe it has something to do with the CSS file missing?
/behaviors/openlayers_plus_behavior_blockpanel_toggle.css
Comment #2
agentjay commentedI have also found that the height issue only happens to the top and bottom flaps. If the flap is used on the left or right side of the map it has a height of 100% and a width of 350px
Comment #3
agentjay commentedI discovered what was causing the height issue.
in line 158 of the mbExtruder.js there is:
var container=$("<div>").addClass("text").css({width:extruder.get(0).options.width-20, height:extruder.height()-20, overflowY:"auto"});If you delete "height:extruder.height()-20," then it works fine.
As it seems to be an issue with the Extruder I suppose it's not something you can fix in the module?
Comment #4
batje commentedWe had an issue with mbExtruder earlier, forked the repo and got it committed in a few hours. If this is really a bug in mbExtruder (it might be, it might also be a combi between OpenLayers and mbExtruder), then by all means, for mbExtruder. Totally Open Source approach: https://github.com/pupunzi/jquery.mb.extruder/issues?state=open
Comment #5
agentjay commentedForget my earlier statement, it ends up breaking the display for left and right flaps.
Comment #6
jlsevillano commentedI'm trying to run this library in drupal but i'm not sure the url in libraries.
sites/all/libraries/jquery.mb.extruder/mbExtruder.js ?
sites/all/libraries/mb.extruder/mbExtruder.js ?
Any help?
Thanks
Comment #7
batje commentedJlsevillano that would normally be a new ticket with a fresh question. The answer is, you can download the library here
https://github.com/pupunzi/jquery.mb.extruder
Comment #8
jlsevillano commentedSorry batje,
I'm gonna to do it...but the problem not is the library my problem is, i downloaded the library and i tried a lot of paths to get this library in my website, but always display:
For blockpanel to work, you need the mb.extrduder library installed.
Comment #9
batje commentedThe folder in your libraries folder needs to be called 'jquery-mb-extruder' so:
/sites/all/libraries/jquery-mb-extruder/
That is where the files
README.md
and
jquery.mb.extruder.jquery.json
and the rest of the files should be.
Comment #10
jlsevillano commentedI did it too, before...but always display the same:
For blockpanel to work, you need the mb.extrduder library installed.
ANd clean cache and run update and the problem continous.
Comment #11
batje commentedAh.
I think I check wether you have installed version 1.x Very old, but it prevents us from having to use jquery update.
This is the version we use: https://github.com/pupunzi/jquery.mb.extruder/archive/1.6.tar.gz
(you can also change the first line of the README.me to
and see the module die in totally different ways.
Comment #12
jlsevillano commentedOK, now recognize the library. I added in README.me :
# mb.extruder 1.6
Thanks, batje!
Comment #13
batje commentedIf you dont run into issues with the latest version of the library, can you let me know, then I can adapt the test to check for a newer version of the library.
In the meantime i committed a clearer error message.
Comment #14
jlsevillano commentedwith the last library it runs perfectly, only i had needed to modify readme.md.
one more problem, if i set the block closed, it not runs because is not enough the z-index. i modified it in mbextruder.js and i put zIndex:1000
but now it runs right.
thanks.
Comment #16
milos.kroulik commentedI think this is solved. I will open follow-up issues for library detection and z-index.