2 Replies Latest reply: Nov 11, 2012 1:30 PM by Mindmap RSS

    Help setting up Responsive banner on Theme 25

    Mindmap
      Hello,

      I am trying to set up this banner on apex 4.2 , theme 25.

      [url http://www.thevillaproject.com/i/KR/source/light.html] Standalone Demo

      But, it does not work. here is the doc
      [url http://www.famproperties.net/documentation/index.html] Documentation


      [url http://theexecutivetowers.info/apex/f?p=121:1]This is the app

      workspace: test
      user: test
      pwd: test

      I noticed that it works only when removing this file from the page template >> JavaScript >> File URLs
      #IMAGE_PREFIX#themes/theme_25/js/4_2#MIN#.js?v=#APEX_VERSION#
      I already gone through this doc, but to not avail:[url http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/app_comp001.htm#sthref1786] Referencing the jQuery Library in Your JavaScript Code


      Any help in setting this up is highly appreciated.
      Fateh
        • 1. Re: Help setting up Responsive banner on Theme 25
          fac586
          Didn't you get a solution here: +{message:id=10664176}+ ?

          This app gets the same JS errors Tom identified in that post, and they're resolved if you follow his instructions.

          The fatal error is caused by the plug-in trying to use Google Fonts:
          ...
          ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
          // Google Fonts !!
          // local GoogleFont JS from your server: http://www.yourdomain.com/kb-plugin/js/jquery.googlefonts.js
          // GoogleFonts from Original Source: http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js or https:...  
          //               PT+Sans+Narrow:400,700
          /////////////////////////////////////////////////////////////////////////////////////////////////////////////
          googleFonts:'Oswald',
          googleFontJS:'/kb-plugin/js/jquery.googlefonts.js'
          ...
          The console error is:
          GET http://theexecutivetowers.info/kb-plugin/js/jquery.googlefonts.js 404 (Not Found)
          Which is self-explanatory: the Google Fonts plug-in code can't be found at the specified location (i.e. <tt>/kb-plugin/js/jquery.googlefonts.js</tt>). You need to configure the plug-in option with the actual location on your server:
          ...
          ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
          // Google Fonts !!
          // local GoogleFont JS from your server: http://www.yourdomain.com/kb-plugin/js/jquery.googlefonts.js
          // GoogleFonts from Original Source: http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js or https:... 
          //               PT+Sans+Narrow:400,700
          /////////////////////////////////////////////////////////////////////////////////////////////////////////////
          googleFonts:'Oswald',
          googleFontJS:'/i/KR/source/kb-plugin/js/jquery.googlefonts.js'
          ...
          • 2. Re: Help setting up Responsive banner on Theme 25
            Mindmap
            Thanks Paul,
            Didn't you get a solution here: Re: Help to set up a banner within Apex App. ?
            Yes, but that was for different banner on different theme. And I was waiting for Tom to post any reply in order to give him 10 points and mark it as correct.

            Regards,
            Fateh