How can I hide my page source for my website? [closed] - html

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to hide my page sources for my website. But I am having some problems to find the code that would hide my page sources. I am using HTML and CSS.
I have tried searching on Google, but I was unable to find it. I would appreciate if anyone could tell me that code to hide page sources.
Thanks

It is impossible. No matter how much JavaScript tricks you use (which, by the way, hide your site from search engines, too) - the browser will always build a proper DOM tree anyone can look at e.g. using firebug.

You can't. The source of your page is how the browser renders it. It's what your server returns when a request is made.
Any developer could create a web client, make the request, and simply dump the text to the screen...thus revealing your source code.

You cant... The best thing you could do is obfuscate the html and css so people cant easy read it, but if they want there are some ways of getting your code anyway.

It's complicated and can't be used for every page you might think of, but think about using phantomjs to render your page on the server side and serve that instead of regular HTML. The complicated part is having your links or other media behave like they should.
Practically it's about impossible... and usually totally useless... Forget it!

Related

Is it possible to create a countdown using purely html? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible to create a countdown timer using purely HTML?
I mean no javascript or iframe or external CSS. just basic HTML and embedded style sttributes - i.e. <h1 style="CSS GOES HERE">TEXT GOES HERE</h1>.
Is this possible?
if so, how?
You could use an animated gif.
The html would look like this.
<img src="countdown.gif" alt="countdown">
where countdown.gif is a reference to your countdown image.
Actually creating the image is left as an exercise to the reader.
You may be able to cobble something together using a <meta http-equiv="refresh" tag and some static pages.
No. HTML is a mark-up language, not a script language. Mark-up languages are static, you can set them once. If you need interaction, you need a client-side script language like JavaScript.
Side Note
It is possible with only CSS3 animations: http://codepen.io/WouterJ/details/brguf
But be aware that CSS3 is not stable yet and the CSS3 animation API is far from stable. More information on canIUse
In short, no. HTML is completely static unless you use something such as javascript to make it dynamic.
As #SLaks suggested though it is possible using CSS3 animations but this will not be supported in older browsers.

Web Designing: Navigatible Large Flash Background [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm working on a project and I want to make one big background where only a portion of it is showing at a time, but when the user clicks a menu item the screen scrolls to a different section of the large background. There will be another menu on the second area that will move the background somewhere else. How do I do that?
Actually I've to create a website similar to this one
http://artofflightmovie.com/
I am confused that
1)what are requirements for designing such a website. (javascript? flash? ??)
2)how we generally name such kind of website?
3)How can I find such sample websites (what should I search on google)
If you can explain a little bit that how such website will be designed(Just Basics) I'll be very grateful to you.
Each, any and every kind of help will be greatly appreciated.
-Thanks in advance
1) Fairly certain as tuxtimo said, definitely no flash there. So, yes, JavaScript/jQuery is good enough (if not better) for the job.
Probably there are many out there, however, I've seen this one before:
http://joelb.me/scrollpath/ The site itself is a very basic example of what you might be looking for. And it has documentation - https://github.com/JoelBesada/scrollpath. Figured it's a good starting point.
Also check out multi directional scrolling site - the http://demos.flesler.com/jquery/scrollTo/ might also be what you need.
Also another one I found - http://janne.aukia.com/zoomooz/ and this one has a demo that does pretty much does it all like you want: http://janne.aukia.com/zoomooz/examples/svgtree/index.html
2/3) I'm not sure on this, however one/single [multi-directional] scroll page seems to yield some results for me, give it a shot :)

best way to build a web page [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have been developing a magazine engine which behaves like a web page. Currently it is heavily dependent on a nested system of divs labelled by id's and classes to allow it to be swappable, and resize to fit the monitor of the device in question.
I recently showed this to someone, asking for feedback on how it looked, and he concentrated on how sloppy the html was.
My question is, is it better to have a clean, unadorned html at the very beginning of the load, and build out the code to make the magazine that allows for the swiping on the different devices and click-throughs for desktop versions?
Sorry I don't have a demo handy, I'm trying several css frameworks to gain control over the typical adventurous "let's try this" coding cycle to make it easier to understand and update for the future (an integrated creation system online, with styles a creator can modify). This latest iteration is exploring responsive image downloads.
Not sure what you mean by a magazine that allows for swiping .... but there are frameworks out there that lets you skip the HTML authoring altogether and stick with Javascript and CSS to render your application in a browser compatible manner as well as ability to show in a mobile device. Take a look at Sencha (ExtJS and Touch)

Creating uniform submit, save, cancel buttons without photoshop [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Appearance-wise, I am struggling to use CSS to create buttons for forms that will look ok cross-platform and be consistent with each other without using images. Is there such a thing? I just need add/delete/cancel/validate buttons for my form, but I'd like them to be uniform, and ideally work cross platform whether they are submit inputs, buttons, or links.
I really don't want to fiddle in Photoshop though.
I found this resource on Rediscovering the Button Element (archive.org), which shows it can be done with CSS and an image gallery for designers who don't want to create their own.
The solution looks ok, but there are complaints about what IE submits in the postdata in the comments, and about how IE renders the buttons in IE 6. How can I get around the issues with IE6?
There are a few options, one being color gradients. There is a way to do it in "The Big Three" (Firefox, Chrome/Safari, IE), and you can find a great example here.
A second option is to use jQuery UI, and that is a nice way that tends to be cross-browser safe, but the drawback is that it can be a lot to include for buttons.
The last option would be to use images as the background, but that can be a bit tricky in IE, or at least that I've found.

Firefox displaying extra <strong> tags, but there not in the html source? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
My website in acting stangely while being viewed in firefox so I started debugging and found firefox only is adding extra <strong> tags in my code, all empty?
Any ideas?
http://allia.honestideas.co.uk/
Any time the generated markup differs from the markup retrieved from the server (i.e., the markup you get when doing "View Source"), JavaScript is involved. The only way the structure of the page can be different from the markup you wrote is if JavaScript is making changes.
In this case, the extra <strong> tags all seem to be clustered immediately around the slider markup. I can't find any obvious explanation in slider.js but it's also not a plugin I'm intimately familiar with. Removing slider.js from the page entirely should solve the problem, but of course you then won't have the functionality you want. Perhaps a different plugin can offer the same functionality without the unintended side-effects.
Firefox is not adding anything. If you look at 'view source', there are no strong tags in there. So what debugger are you using? I'd bet the debugger is inserting something.
In firebug, I see a strong syntax in the code
#mainContent strong, #mainContent label
may be this causing some issues. I am not sure too.