-
Posts
14,901 -
Joined
-
Last visited
-
Days Won
177
Content Type
Profiles
Forums
Events
Everything posted by Ingolme
-
You need a buttons, events, DOM nodes, probably the innerHTML property.
-
Perhaps you should use a server-side language to include the content on your page instead. For the <iframe> you would need to use Javascript to set the height of the iframe based on the height of the content in it. Here are some threads where this was discussed in the past:http://w3schools.invisionzone.com/index.php?showtopic=39905http://w3schools.invisionzone.com/index.php?showtopic=40227http://w3schools.invisionzone.com/index.php?showtopic=25211
-
Names I've heard around most often are Mootools, Yahoo GUI and Dojo. I'm not sure if they're all Javascript libraries or something else, I never went to research them.
-
Just substitute the "i" for a 0 and remove the loop.
-
I learnt my object-oriented programming from university, like almost everything else that has been useful to me in life.
-
It depends on the features that are most important to your company. People will recommend ones they're familiar with. This website shows comparisons between different content management systems: http://www.cmsmatrix.org/matrix/cms-matrix
-
Assign a min-width to the container
-
CSS is not capable of doing that. It would be complicated but Javascript can find some text and wrap it in an element with CSS style attached.
-
That's right. I hadn't looked carefully, it looks like that return statement was meant to be on the next line. I still recommend initializing the array properly.
-
I think, first of all, that you should be initializing the variable as an array:$CustomMenuLinks = array(); I'm a bit surprised that no errors are being shown for trying to treat an undefined variable as an array in the first place.
-
You can make an "equals()" method, it's a common practise. if(c.equals(c2)) { // Do something} When you create the equals() method you decide which values to compare and what operations to do.
-
Given this, a bad doctype will still cause inconsistencies between Internet Explorer and other browsers.
-
This is the window: http://w3schools.com/jsref/obj_window.asp
-
Perhaps Internet Explorer now runs in standards mode as long as <!DOCTYPE anyRootElement> is there.
-
Only print the year if it's greater than the year the page was created. Copyright <?php $year = idate('Y');echo '2013';if($year > 2013) { echo '-' . $year;}?> Edit: It seems it was already solved
-
The width and height attributes are there so that the browser can reserve space for the image, this was also true for HTML 4.01 so percentages haven't been valid since HTML 3.2. Using CSS to set these values as percentages is valid.
-
PDF documents aren't images. The way to embed non-image content is to use the <object> element in HTML 4.01 or the <embed> element in HTML 5
-
oTr.style.backgroundImage If VBscript follows any standards, that should work.
- 4 replies
-
- CSS
- JavaScript
-
(and 1 more)
Tagged with:
-
It's a syntax error because CSS uses curly brackets { } to contain sets of rules. The HTML validator validates HTML, you need a CSS validator to validate CSS.
-
As far as my years of experience go, a wrong doctype renders exactly the same as no doctype in all browsers. There are only two rendering modes: standards compliant mode if a correct doctype is used, quirks mode in any other case.
-
A syntax error in a previous line has caused the parser to ignore the code that follows it. This line, in particular:#btmpics (position:relative; margin-left:10px;)
-
The <a> tags works the same with PDF as with JPG.