.position only runs on Firefox
Hi.
I am working with Drupal 7.36 and Jquery 1.10.
The script:
- (function ($) {
- Drupal.behaviors.moveFlexsliderAtTheRightPlace= {
- attach: function (context, settings) {
- $( ".flexslider" ).position({
- my: "right bottom",
- at: "right bottom",
- of: ".region-main-upper"
- });
- $( "#block-superfish-1" ).position({
- my: "left bottom",
- at: "left bottom",
- of: ".region-main-upper"
- });
- $( ".view-logo" ).position({
- my: "left center",
- at: "left center-100",
- of: ".region-main-upper"
- });
- }
- };
})(jQuery);
In Firefox every div appears at the right place. Unfortunately it didn't work in Chrome and Safari.