-
Posts
14,901 -
Joined
-
Last visited
-
Days Won
177
Content Type
Profiles
Forums
Events
Everything posted by Ingolme
-
There's no client.side solution. For security reasons Javascript cannot access content that is on another domain. To get around it, people use what's called a proxy: a script on your server that gets content from another website. Here's one article about it: http://developer.yahoo.com/javascript/howto-proxy.html
-
If you want to give important information to search engines, start using <h1> to <h6> tags for page titles and section titles and don't use images to show text.
-
I believe there's cross-domain protection stopping you from accessing data from other websites.
-
Quick question from somebody new to HTML/XHTML (Validation)
Ingolme replied to LaC0saNostra's topic in HTML/XHTML
If you use HTML rather than XHTML you don't need to use XML attributes. Since HTML 5 is the newest standard XHTML is not used very commonly anymore. -
Use CSS to change the font. Here's the tutorial page: http://www.w3schools.com/css/css_font.asp And an example: http://www.w3schools.com/css/tryit.asp?filename=trycss_font-style
-
Quick question from somebody new to HTML/XHTML (Validation)
Ingolme replied to LaC0saNostra's topic in HTML/XHTML
Adding the xml:lang attribute would solve the problem. -
So what does your code look like?
-
You've already linked to your website in another thread and this thread is nearly identical to your previous one, so I would ask not to make threads just to advertise your website. From a web developer's perspective your website's design and code are not very well done, I would recommend looking deeper into CSS and looking up proper web design.
-
Yes, the file_get_contents() function as mentioned just before. It saves you the step of using implode()
-
I think justifying the text is what's causing that.
-
Quick question from somebody new to HTML/XHTML (Validation)
Ingolme replied to LaC0saNostra's topic in HTML/XHTML
Well, the only mistake they're pointing out is that you should indicate the language that the page is in. I don't believe it's a big problem but if you don't want the validator to give you the error add a lang attribute: <html lang="en" ... -
Javascript runs as it loads, the session only saves its value when the PHP script finishes running, so Javascript starts executing as PHP is running. If you use session_write_close() right after unsetting the value it should fix the problem. You won't be able to change any other $_SESSION values after that, though.
-
This line is a problem because you're already inside a <?php ?> block: $f = $_SERVER['DOCUMENT_ROOT'] . "/files/<?php echo safeOutputToScreen($file->localFilePath, null, 55); ?>"; Substitute it with $f = $_SERVER['DOCUMENT_ROOT'] . "/files/" . safeOutputToScreen($file->localFilePath, null, 55); It might not be the only problem, but it's best to start with the most obvious thing to fix.
-
Well, you'll just have to manually go through your own code and create the flow chart.
-
The HTML 5 draft goes through many changes. It's possible that at one point it was going to allow multiple forms.
-
I'm not sure what browser you're testing in, but Internet Explorer doesn't support the form attribute. I believe the value is case sensitive, so "Form1" would be different than "form1" Well, I am testing in Firefox and it seems that assigning an input to multiple forms isn't supported. I guess there's nothing to do about it. Here's Mozilla's description: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input
-
It sounds like an extremely difficult task to build a program that generates a flowchart for Javascript, however, here's one I found (thanks Google): http://code-to-flow-chart-generator.soft112.com/ Don't expect to find a program that's free, it's a considerable task to build such a program. I can't promise that it will work perfectly, Javascript is an ever-changing language and an older program might not know how to interpret newer Javascript.
-
Understand that changing <h3> to <h4> means changing the meaning of it. If what you want to change is the font size, change the font-size property of the <h3> element. CSS is there to change the way the page looks.
-
This thread is from over four years ago, the download attribute didn't exist then.
-
There are so many different factors involved in file size and the length of the video is just one of them. The compression method, the quality of the video, the resolution of the video and the distribution of bits before compression all are involved. You can't really know for sure how big a file will be until you create it, statistical averages can be made. In any case, the file size would be too large to measure in kilobytes, megabytes would be the order of magnitude the file would be measured with.
-
I don't believe the HTML specification tells browsers how to react to multiple headers. You might find results in the HTTP specification about it. My guess is that only the most recent header is taken into account. Note that the HTML <meta> tag only provides a suggestion, as it is not actually a real HTTP header; the browser may choose to ignore it.