We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
CSS Files and Jscript files
emeraldbugle
Posts: 1,063 Forumite
in Techie Stuff
Is it possible to view these files out of my temporary internet files? How do I go about viewing them as a web page?
0
Comments
-
As far as I know, Cascading Style Sheet and Javascript files are program files, written in those programming languages. They are files which tell another file (written in something like HTML) how to display a webpage and add in a separate piece of code respectively.
So they can't be viewed as a webpage without the corresponding "master" program, written in HTML or whatever.
They can be viewed in programs such as Dreamweaver or Visual Studio, or simply right click on them and Open With Notepad or Wordpad.0 -
Most browsers should be able to view them. They are both interpeted by the browser when rendering a page.
If on a page, just do a "view source". You'll then need to identify the Css and JavaScript elements.
Here's a JavaScript and Css file for this site:
http://forums.moneysavingexpert.com/clientscript/vbulletin_global.js
http://forums.moneysavingexpert.com/clientscript/vbulletin_css/style-4e281d8a-00002.css
Noteably neither of these have been optimised. You'll sometimes find sites that compress the file, basically removing all whitespaces, and shortening object names so that is is smaller in size. Some sites will even try to obfuscate the JavaScript to stop people copying it."Boonowa tweepi, ha, ha."0 -
You can view them from your Temp. Internet files, just right click and open in notebook.
You aren't going to see a 'webpage' though as you will need the corresponding HTML content.
There are many plug-ins for Firefox that allow you to view linked files, some also allow you to change CSS files (locally) to see what difference the alterations would make.0 -
If you use Firefox as your browser, there is a neat little extension called CSSViewer which allows you to display the CSS that applies to any element you hover your mouse over. Can be quite a useful way to get to understand CSS.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.5K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.5K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.5K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards