Omega and Page transition

Events happening in the community are now at Drupal community events on www.drupal.org.
midoriconcept's picture

Hi to all,

I am getting pretty crazy right now.
I am trying to do a website for a touchscreen for internal use. Basically the site is internal use only so I do not have many worries about browser compatibilities, resolutions and speed.

The first Proof of Concept was done with Wordpress using a grid themes, but I am converting in Drupal/Omega since it will be WAY easier to place the blocks where I want and to have non techie doing the updates. Everything works smooth, but I need to add some fancy page transitions. The wp theme had some slide down effect (you can look for tanzaku theme).
I am not expert of this so I just tried to use a JQuery fade in on the body and on the blocks, just to be sure they work.. But after a lost afternoon banging my head pn the table and a question in stack exchange ( you can look jquery-fadein-effect-and-omega-theme-in-drupal-7)
still I cannot have any transition...

Basically I did scripts[] = '/js/custom.js' in the INFO
+

the custom js is

(function ($) {
$(document).ready(function() {
$("body").css("display", "none");
$("body").fadeIn(2000);
});
})(jQuery);

(I think I tried 20 different ways of writing it)

But nothing happens.. I am really getting crazy about it, because I really want to use omega...

Comments

Hi

mahtoranjeet's picture

The code custom.js file
"(function ($) {
$(document).ready(function() {
$("body").css("display", "none");
$("body").fadeIn(2000);
});
})(jQuery); "

Working fine with omega theme

Just try to
Replace scripts[] = '/js/custom.js' To scripts[] = 'js/custom.js'

I think I won the title for

midoriconcept's picture

I think I won the title for the most stupid person ever; since I my text editor there was a file that was not the correct one... Knowing that it was working for somebody else made me recheck all those 'details' ..

Thanks a lot!

Omega Framework

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: