Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 877409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:36:13+00:00 2026-05-15T11:36:13+00:00

I am having difficulty trying to get modernizer to run with codeigniter. this is

  • 0

I am having difficulty trying to get modernizer to run with codeigniter.

this is what I’ve done so far.

  1. downloaded Modernizr and renamed the file modernizr-1.5.min.txt to modernizr-1.5.min.js

  2. put the JavaScript file in the same directory as my header file is: apppath/views/tops/

  3. included the file in my headings <script src="modernizr-1.5.min.js"></script>

  4. included this in my HTML element <html class="no-js">

  5. just to preserve my sanity I put the JavaScript file modernizr-1.5.min.js in my views directory and in the application directory.

I am getting absolutely zero response when I read my page source to see if the has been replaced with the elements that my browser covers the wave modernizr is supposed to work. I have tried this using Firefox and chrome as far as reading the source.

any suggestions? Thank you in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:36:14+00:00Added an answer on May 15, 2026 at 11:36 am

    why would you put javascript files ito the view folder of your app? i would rather use this path “/media/javascripts/modernizr.js” and then <script src="/media/javascripts/modernizr.js"></script> link it like that. the view folder is only for templates. other thing is that you will never see the changes that javascript does to your page in the pagesource. because it only shows you what html the browser received. and javascript starts to work after the browser received the html. you need to install firebug to see the “live” dom.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to echo the XML content at this URL but I'm having difficulty.
I'm having some difficulty trying to get Jackson to serialize/deserialize JSON date strings sent
I am having difficulty trying to get a very simple scenario working with PRISM
I'm trying to get Cabal to install the haskell-src-meta package, and I'm having difficulty
I'm having an epic amount of difficulty trying to get a result from a
I am having a difficulty when trying to make an if-statement with $(this).attr(id) .
I'm having a really difficult time trying to get php to connect to SQL
Im having difficulty trying to design a database structure for the following scenario: My
I'm having difficulty trying to sum up my question in form of a google
I am using REGEXP_SUBSTR in Oracle 11g and I am having difficulty trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.