Troy III 272 Posting Pro

That's because its not a button its a submit control which happens to be rendered to appear like a buton for user convenience sake.

Troy III 272 Posting Pro

Don't bother with it because it's wrong;
Completely wrong!

Troy III 272 Posting Pro

have you tried something less complicated

 $key.find(".headerArea").className = "RoundC";
    } else {
 $key.find(".headerArea").className = "NoRoundC";
Troy III 272 Posting Pro

this would mean that the thread is solved!

Troy III 272 Posting Pro

you could include my underdot lib

_ = document.getElementsByTagName("*")||document.all;

and use it like:

_[yourRegExp(returnedId)].getElementsByTagName(tag);

(instead of re-coding your project to accomodate jquery syntax)
its common syntax is: _.Id;

Troy III 272 Posting Pro

All the examples I've seen involve youtube-dl first to extract the physical video file.

how else would you think it would be possible to do anything with it anyway?
You need to have the code in order to be able to transcode it.

Troy III 272 Posting Pro
Troy III 272 Posting Pro

Additionally, the JavaScript Original Name was LiveScript.

sorry my bad:
(additionally), the JavaScript Original Name is: LiveScript .

Troy III 272 Posting Pro

the difference between alert("string") and window.alert("string") is:
an { implicit call to alert function } vs { explicit call to the same }.

You can also call self.alert("string"); top.alert("string"); this.alert("string"); ...but!
They are all the same.

The "alert" function of any window, is inherited through its prototype. Which means that this frame alert is not the same as that frame alert.
That would be the main and deliberate difference.

Troy III 272 Posting Pro

w3school’s a crap, but it’s seemed like the best free destination for an absolute beginner like that.

The acronym of hyper-text markup language >> should always be written in all caps because it isn't a word, it’s not a name, - it’s an acronym!

Furthermore HTML is a Case Insensitive Language
aNd IT dOesnT cARe!

JorgeM commented: I agree with those observations... +12
Troy III 272 Posting Pro

I don't think Troy ||| was suggesting to write HTML markup all in caps. I understood that he meant that the acronym should be written as HTML not html

Exactly

Troy III 272 Posting Pro

Additionally, the JavaScript Original Name was LiveScript .

Troy III 272 Posting Pro

and I really forgot when was the last time I've used the "else if" || "elseif"; syntax.

Troy III 272 Posting Pro

Similar question exist in http://stackoverflow.com/questions/3662412/are-elseif-and-else-if-completely-synonymous . Though i am nt sure about the answer there as one of them suggest else if as else { if(){}}

Sorry to have to say this, but we all know about ‘stack overflow’; thank you!
We are not lazy nor ignorant… we're just members of DaniWeb, and that's why we are hanging here @ http://www.daniweb.com/ while reading your post, not there!

Troy III 272 Posting Pro

hello guys

hello

i ask question it easy to use html language to web design?

HTML (should be written in "all caps", always!) is what web content is made of. And yes -it's easy enough.

or they have other language that easy to use

not really, HTML is the easiest.

guyz i ask question again they have site that i can learn about html web design??

Yes, there are good starter-pages on learning HTML Design. And you can start here: http://www.w3schools.com/html/ right a way...

Troy III 272 Posting Pro

I don't understand the meaning of the word "token" in your usage. So I'm not sure I understand the problem you are facing. And you are using that "$" thing, which points that - the best pro:help you could get with this, lies at its lib., official web address.

Troy III 272 Posting Pro

Yeah, last time I've checked - nothing that cant be done in JS is possible to do with jQuery.

Troy III 272 Posting Pro

All right ?
(...you didn't get killed on a car accident or something?...)

Troy III 272 Posting Pro

that's because you are using addeventlistener method assignment on that container instead of a simple onclick or onsubmit function assignments.

The true solution though, is not doing that dynamically.

Troy III 272 Posting Pro

Would you be accepting JS too, or it has to be a jQuery?

Troy III 272 Posting Pro
function startEffect() {
//add:
preload.style.visibility='';//here
//and see if it works the way you need it.
        if (mediaType == "img"){...
Troy III 272 Posting Pro

why is it that it never happens to stick a fork in your eye while you eat?

Troy III 272 Posting Pro

What do you mean by:

But then I have to make sure I'm not overriding any existing functions, which I think I'm not, but still.

?

Why would that happen ?

Troy III 272 Posting Pro

possibly a mixed security modes problem

Troy III 272 Posting Pro

I think that using human format of 0.8 instead of a standard programming: .8 is what's causing the parsing error.

Troy III 272 Posting Pro

I want the site loading in the iframe to load during the player resizing & opening sequence

Start loading the iframe source before "the player resizing & opening sequence" command is issued.

Troy III 272 Posting Pro

When the "popup" occurs, my site is still loading in the iframe; the process looks unproffesional.

so you want to look professional..., good! What is your dilemma?

Troy III 272 Posting Pro

What is this call

mos likely "a picture gallery" (web) app.
(flash free finally)

Troy III 272 Posting Pro

Can you jsfiddle it, 'cause the code is a bit to ong not pure {javascript} and I am not sure I'm seing it working just by reading it.And and if so mark the thread as solved so that other visitors may benefit?

Troy III 272 Posting Pro

That's nice
have you seen this:
http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/415888/if-statement-javascript#post1775237

    <!doctype html>
    <html>
        <head>
            <meta charset="utf-8">
            <title>Grade Calculator</title>
            <style type="text/css">
                body {
                    font-family: Arial, sans-serif;
                    text-align: center;
                }
                form {
                    width: 300px;
                    margin: 0 auto;
                    text-align: right;
                }
                .h-line {
                    background-color: black;
                    margin: 2px auto;
                    width: 100%;
                    height: 2px;
                }
                input {
                    text-align: right;
                }
            </style>
        </head>
        <body>
            <h1>Grade Calculator</h1>
            <p>Enter only whole numbers.</p>
            <form name="Grade Calculator" id="form">
                <p>
                    <label for="test1">Test #1 Grade:</label>
                    <input type="text" id="test1" value="" name="Test #1" size="3"
                    maxlength="3">
                </p>

                <p class="h-line"></p>
                <p>
                    <label for="final-grade">Final Grade (Letter Grade):</label>
                    <input type="text" name="Final Grade" id="final-grade" value=""
                            size="7" >
                </p>
                <p>
                    <input type="button" value="Calculate" onclick="calcGrade();">
                    <input type="reset" value="Reset">
                </p>
            </form>
        <script type="text/javascript">

            function calcGrade() {
                var form = document.getElementById("form");
                var finalGrade = document.getElementById("final-grade");
                var field = form.elements['test1'];     
        var input = field.value, grade, max = 100, min = 0;

        input = parseInt(input, 10)
            field.value = 
            grade = input > max ? grade = max : 
                input < min ? grade = min : 
                input;
            finalGrade.value =
                (grade < 60) ? "F" :
                (grade < 70) ? "D" :
                (grade < 80) ? "C" :
                (grade < 90) ? "B" :
                (grade <=100) ? "A" : "!";
        }
        </script>
        </body>
    </html>
Troy III 272 Posting Pro

you sohuld make the content fit the iFrame or
use CSS overflow: hidden;
or

overflow-x: hidden
Troy III 272 Posting Pro
Troy III 272 Posting Pro

Is there a way to make result=efg?

   var result  = alpha.match("efg");

Or even just remove everything infront of efg.

   var result = alpha.substring(alpha.match("efg").index);
Troy III 272 Posting Pro

I think that with few adaptations of the existing...
...

sorry, my bad read.

for the real question -it turns out as if
its practically impossible to reuse the browser spell-checker plugin from a page.

Troy III 272 Posting Pro

...only now I finally get it.
-These guys are simply trying to keep it a Secret!?!

Troy III 272 Posting Pro

if "menu-item" is a one-liner, you can:
check this : http://jsfiddle.net/8fySf/

Troy III 272 Posting Pro

It doesn't matter - the best way to accomplish your task, is the way that makes you happy.

Today, you are satisfied with for (var i =0; i< 6; i++); tomorrow, you may not!
But at any time in your life, - if you change your mind, you can come/go back and change it to say
for (var i =0; i< 8; i++); and latter on, -again revert to how it was. Or perhaps even decide to make it more generic and throw arrays that may be shorter or lengthier than 6 by doing: for (var i =0; i < ar.length; i++) and still -it wont matter, because its a scripting language, and that's the beauty of it -your lengthy program doesn't have to be recompiled simply because you decided to replace some "," with a ";" somewhere in its flow.

-It's your call...

Stay Happy!

Troy III 272 Posting Pro

There are at least about 99% of people who actively think that Java and JavaScript are >>almost<< identical languages, too! :D

p.s.:
The presumption in:

Is HXTML a library of HTML? Do I include an 'XHTML' include file to use XHTML? I'm just wondering how I use it.

question, - is at least tentatively, logical - which happens to be untrue just the same! And it is so -because of a (deliberate) naming confusion added to it, for "marketing" purposes they used to say (huh marketing!) but they both failed.

xhtml is, to say the least, a "Discontinued" and a failed attempt to hijack; Take Over & commercialize the Web Content Creation practice, and make people who are capable of using any Plain-Text-Editor to create marvels (we can everyday see), -incapable of doing so without purchasing their (xhtml coding, JAVA addictive) products, debuggers and so.

The Live Script and HTML prevailed, as good over evil always will...
Well, "most of the time" than.

Stay a happy coder.

Troy III 272 Posting Pro

I think that with few adaptations of the existing code, the spellchecker can be made to reflect errors on any other content; editable or non-editable.

In fact, ever since DHTML introduction or the day that Gen-4 browsers came out, there's nothing non-editable in HTML. HTML is alive ever since Live Script came to existence, and now that we have DOM we have almost everything we need to be truly productive.

Of course, the dynamic changes will not affect the source - but they'll be clearly visible to the client.

Troy III 272 Posting Pro

Here you can try this function :

function setImage(targetElement, imageURL) {    
    if (typeof(targetElement)=="string") 
    { 
        targetElement = document.getElementById(targetElement);

        targetElement.style.filter = 
            "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + 
            imageURL + 
            "',sizingMethod='scale')";
    }
}

setImage( [arg1], [arg2] );

arg1 - a) image container element or b)its "id"; //format: a) object, or b) "string ";
arg2 - url\image ; //format: "sring" only;

Troy III 272 Posting Pro

W3C CSS(3) Validator is reporting a parser error on rule (53),** # cover **.
53 #cover Parse Error = 80)

The problem is caused by your

#cover  { 
    top : 0; 
    left : 0; 
    min-height : 100%; 
    min-width : 100%; 
    position : fixed; 
    background-color : black; 
    opacity : 0.800000011920928955078125; 
}

There may be severeal problems with this style but my judgement none appears to be crucial.
consider revising the opacity value from 0.800000011920928955078125, to what will really happen: 0.8,
or opacity: .8;

Another problem might arise by "position: fixed" rule statement.
If parent element has no declared dimensions, the actual element will have to collapse to its parent dimensions which are unspecified; therefore the strict browser will have to either assume 0 dimension or throw a value parsing error, or both.

You are using min-height and min-width which (to say the least) serves absolutely no purpose at all.

p.s.:
TIP: in fact you need to reinstall IE in case you've installed FF or Chrome or Safari on top of it, always and since the earliest ff version releases.

Troy III 272 Posting Pro

Its a 'soft warning' :: nothing to be really concerned about, - yet:
You are using a wrong doctype ( xhtml ) on a plain HTML document!
That's wrong [!] because you are missleading your current clients and also the Servers answering those requests.

But there is no harm [...] exept for
few extra (wasted) bytes on content transport, like..., 'over and over again'.

Troy III 272 Posting Pro

In fact beginners require strict and finite rules, otherwise they cannot learn a thing.
Another fact is that "HTML" and "xhtml" are two completely different Mark-Up Languages.

Troy III 272 Posting Pro

are you having fun yaragalla mural?

Troy III 272 Posting Pro

Hi i have looked at all the suggested methods. But there is a problem. "display:table" will not work in all the browsers. I mean all the users will not be using the latest browsers. Most of them must be 2-4 years old. So this will not definetly work on all browsers. "inline-height" is not the solutions as my div contains multiple lines of text. so still my problem is unsolved.

here is your universal solution:

<div style="height: 200px; border: 2px dashed silver;">
<span style="height:100%;display:inline-block;vertical-align:middle"></span>
<span style="display:inline-block">This is my book.<br>I am so happy.</span>
</div>

p.s.:
I've been answering this question since years...,
I've answered it here on several ocasions too!

Well, guess what, - nobody even bothered to at least say "it worked"! Let alone "thanks", or mark the thread as solved, etc, etc...

but, who cares? -Have fun!

Troy III 272 Posting Pro
  1. this.Circle();
  2. this.Square();

...is the same as if you'd stated:

  1. MainMenu.Circle...
  2. MainMenu.Square

But the "MainMenu" doesn't have the "Circle" method!
You wrote it for "Shape".
[and this is just to begin with, since there are several other errors on the path]

Troy III 272 Posting Pro

I wrote you this:

;(function f(){find("skip ad")?getSelection().anchorNode.parentElement.click():setTimeout(f,1000)})();

copy-paste it on the page that needs to skip the ad and tell us how it went.

Troy III 272 Posting Pro

Can't simplify something, that is not (either) yours nor mine...
What can we say: "remove jQuery - would be a good start" I guess.
After all, it is [the lib alone] most probably 10x larger than the content of the Site itself.

-did I say: most probably?
-yeah, I most probably did! :)

Troy III 272 Posting Pro

You are correct,
the second dd is the actual dd [object] in fact. The 'first' is its name ['handle'].

Troy III 272 Posting Pro

Where do you get them back to, or where do you see them reappearing?
p.s.: Facebook >>is a Trojan<< there's no news in that - So, what else is new?