Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Mar 2016
    Posts
    12
    Member #
    53504

    <script> problems

    Hey everyone

    Im new to web design/development, and pretty much just putting together a site for my wife. I have that "old" problem of everything working fine offline, but not working online.

    Ive used notepad to build the site, and have used HTML(not 5), CSS, Bootstrap, and Javascript. I have looked online for solutions...but none seem to work. Seems to me that the bootstrap script is the issue, but not 100% sure.

    Ive tried the dropbox method to "host", as well as googledrive. Only seems to sort of work properly on IE via googledrive.

    Any help, suggestions are much appreciated

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    That could be any number of things, unfortunately, but here are a couple to get you started:

    1) Referencing files (e.g. your Bootstrap files) can be CaSe-SeNsItIvE. So be sure that you're using the same case when you reference the file.
    2( If you're using absolute paths from your hard drive (e.g. C:\Users\Bob\Documents\My Site\Files\script.js), that can mess things up as well. This is common if you're using a WYSIWYG editor such as a Dr*amw*av*r.

    If neither of those do the trick, upload the site somewhere and give us a link so we can see it. I can't remember whether Dropbox or Google Drive will let you share a website via a link or not.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Mar 2016
    Posts
    12
    Member #
    53504
    Hey the game

    Pretty sure all files etc are lowercase, but will check and follow your suggestions.

    In the meantime, here is the link to the site

    https://52532f54ae056684b39a031d64a2...lOSDJDeFZxOUU/

    Cheers

  5. #4
    Junior Member
    Join Date
    Mar 2016
    Posts
    12
    Member #
    53504

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I see why now.
    Mixed Content: The page at 'https://52532f54ae056684b39a031d64a2f31ddc1d8b00.googledri ve.com/host/0BzytGHJ3aBRNTXlOSDJDeFZxOUU/' was loaded over HTTPS, but requested an insecure stylesheet 'http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'. This request has been blocked; the content must be served over HTTPS.
    Because you're using Google Drive (or Dropbox, the effect is the same either way), your page is secured with an SSL (the https:// part). That means any of the files you serve need to either begin with the https:// prefix or with //; otherwise, they'll be blocked for security reasons by browsers and they won't download. Your Bootstrap files are being served using the http:// prefix...so add an s.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  7. #6
    Junior Member
    Join Date
    Mar 2016
    Posts
    12
    Member #
    53504
    Cool. Thanx for the info.

    Updated....works fine,

    Big ups to you TheGame1264

    Cheer


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com