Closed (fixed)
Project:
Conditional Fields
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2010 at 11:03 UTC
Updated:
21 Mar 2010 at 14:10 UTC
Having a problem to display Gmap properly.
Having read some documentation:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._n...
There are two solutions:
1 based on CSS
This does not work, with this Conditional fields.(Or am i missing something?)
As this module does not use a stylesheet nor does it have a different css class when the gmap is hidden
it uses inline css with js to change display: none -> display: block
2 The other one is based on javascript.
.ui-tabs .ui-tabs-hide {
position: absolute;
left: -10000px;
}How can i implement this code so that my Gmap will display properly?
Thanks
Comments
Comment #1
held69 commentedThe javascript mentioned under 2 should be:
How can i implement this code so that my Gmap will display properly?
Thanks
Comment #2
pasquallesubscribe
Comment #3
mrbangkok25 commented@held69
Change you conditional_field.js on line 13 and 31 from
To
and on line 37 from
To
To add and remove class based on 'show' or 'hide'
And the last part is add to your stylesheet
Hopes this helps you
Comment #4
held69 commented@mrbangkok that sounds great Thanks!
Ill trie and report back.
Comment #5
held69 commented