558 Posted Topics
Re: >If you do this, you will see a downgrade in your SER, traffic loss, and zero customer retention nobody wants popup anything, especially when they are exiting I encourage you to type a letter in the box below and try to navigate away from this page. | |
Re: I still don't understand why not use a rich-text editor browser api ? | |
Re: you are using a **wrong** and *obsolete* DOCTYPE! consider us9ng a standard `<!DOCTYPE html>` | |
Re: There is no "best practice" to code images into a web page, there's only a correct syntax of doing it! Which is the image tag: **<img src="...">** A correct code/syntax is always the best practice. | |
| |
Re: >Site is slow due to jQuery but of course it is! | |
Re: > How to call HTML onClick event onLoad by JS I really don't understand your question, nor how many? you invoke the click event on eny elemet by `[targetelemen].click();` declaration. You don't like the "font"xyz" is installed notification alert, just delete the alert declaration line ... | |
Re: So you want a simple solution huh? Here it is: function addRow() { this.onchange = null; Dynamic HTML code ... } Have fun Nathaniel10 | |
This code enables you to publish a CSS only with mouse click and keyboard tab image swap. Attached is a Demo example of how it would look on IE6. To ensure the greatest possible cross-browser compatibility/support this code uses CSS level 1 capabilities only. One of extra benefits is that … | |
Re: you are most probably using a compromised google chrome. | |
Re: 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. | |
Re: Don't bother with it because it's wrong; Completely wrong! | |
Re: >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 … | |
Re: have you tried something less complicated $key.find(".headerArea").className = "RoundC"; } else { $key.find(".headerArea").className = "NoRoundC"; | |
Re: >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. … | |
Re: 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. | |
Re: 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;` | |
Re: >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. | |
Re: Additionally, the JavaScript *Original Name* was **LiveScript** . | |
Re: 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 … | |
Re: Would you be accepting JS too, or it has to be a jQuery? | |
Re: 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. | |
![]() | Re: function startEffect() { //add: preload.style.visibility='';//here //and see if it works the way you need it. if (mediaType == "img"){... |
Re: 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 ? | |
![]() | Re: >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? ![]() |
Re: 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; … | |
Re: In poor countries, up to 90% of the *population* may be smoking! (yes, I did say "population") The situation in *poor neighborhoods of wealthy states*, nonetheless, is not much better! In fact, *it* worsens with proximity to the *rich parts* of a given country -by adding *pot* to *'the habbit'*. … | |
Re: >What is this call mos likely "a picture gallery" (web) app. (flash free finally) | |
Re: if "menu-item" is a one-liner, you can: check this : http://jsfiddle.net/8fySf/ | |
Re: >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); | |
Re: bops is correct -it will work, simply don't declare both dimensions explicitly on an image | |
Re: 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: … | |
![]() | Re: you sohuld make the content fit the iFrame or use CSS `overflow: hidden;` or overflow-x: hidden |
Re: have you tried this? http://www.daniweb.com/web-development/javascript-dhtml-ajax/code/415096/client-side-image-sizetype-validation-demo | |
Re: **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 … | |
Re: 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 … | |
Re: > 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 … | |
Re: 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. | |
Re: 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 ; … | |
Re: 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 [...] … | |
Re: 2. 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] | |
Re: That's because you are using a *pre*-Toggler *slide'n'fade (jQuery) animation*. Meaning, you are using a "toggle". Which means:* the rest of the cubes will "jump" instead of "slide" in.* | |
Re: 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? | |
Re: It will gain you a "dd" method of "menu" object, which you can invoke with: `menu.dd(*[arg]*)` | |
Re: 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. | |
Re: 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 … | |
Re: Heads up, this thread appears in "Code Snippets" directory, -it shouldn't! | |
Re: > Hi, > > I have a scenario where in I had to sort an array, find duplicates and increment one or the other by 1. > So, Eg: An array has 22, 23, 21, 21, 24 within it then, an array should be able to find 21 and increment … | |
Re: `{ i = i + 1 }` = *"I just started coding and I simply Rock!"* `{ i += 1 }` = *"I know, I used to suck so hard..."* `{ i++ }` = *"Am I finally - getting the hang of it?"* |
The End.