Forum: JavaScript / DHTML / AJAX 8 Days Ago |
| Replies: 7 Views: 334 Firefox doesn't provide such coding ability. |
Forum: JavaScript / DHTML / AJAX 8 Days Ago |
| Replies: 12 Views: 935 should have named that anonymous onload function since the beginning...
if(!this.addEventListener){
attachEvent('onload', namedFunction)}
else {addEventListener('load', namedFunction, 0)}
... |
Forum: JavaScript / DHTML / AJAX 12 Days Ago |
| Replies: 4 Views: 352 Here, - catch this:
function disableRefresh(netscape){
var F5=(netscape||event).keyCode;
if(F5==116){
if(!netscape){event.keyCode=0}
return false;
}
}... |
Forum: JavaScript / DHTML / AJAX 18 Days Ago |
| Replies: 11 Views: 47,286 ...............
sh. this thread is oldddd.... |
Forum: JavaScript / DHTML / AJAX 22 Days Ago |
| Replies: 14 Views: 40,651 If you are targeting Explorer only
you can always use a super lightwieght DSO to access data
go to MSDN and search for "Data Source Object" you'll find all that you need. |
Forum: JavaScript / DHTML / AJAX 22 Days Ago |
| Replies: 1 Views: 298 try alerting "i" at the end of the loop and tell us what's the value of it
if it is 110 as opposed to 62 items displayed your loop is skipping - pre counting during if(st=='') conditional. |
Forum: JavaScript / DHTML / AJAX 22 Days Ago |
| Replies: 2 Views: 301 This can make it 333
Test this code in your addresbar:
javascript: alert(333.33333.toFixed())
implement it if you like it.
You can also do things like:
3215.3248566432.toFixed() //gives... |
Forum: JavaScript / DHTML / AJAX 25 Days Ago |
| Replies: 6 Views: 546 No..., its exactly like that.
Inline scripts are, 'a bad coding practice' everybody agrees upon. Me to.
The onfocus event gets fired when element receives focus. That's all you need to know. And... |
Forum: JavaScript / DHTML / AJAX 25 Days Ago |
| Replies: 6 Views: 546 someLink.onfocus=doYourThing
Where "doYourThing" is the function you want to invoke when that paricular link has recieved focus. |
Forum: JavaScript / DHTML / AJAX 25 Days Ago |
| Replies: 2 Views: 356 |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 6 Views: 638 could it be the other way around, because if it really happens to be an IE "bug" you should post back at Microsoft -'cause we cant fix browsers.
Why don't you check you code instead of 'repoting... |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 4 Views: 327 of course, thats because your border doesn't have a color for you to see it, you sould set the bordercolor also. Or assign a previously defined class instead. it keeps things cleaner. |
Forum: JavaScript / DHTML / AJAX 27 Days Ago |
| Replies: 7 Views: 1,162 You are kidding, right?!
No matter what broswer you test this on, will not work at all.
Although invisible to novice attention. What 'explorer'?! It contains errors, javascript errors, therefore... |
Forum: JavaScript / DHTML / AJAX Oct 15th, 2009 |
| Replies: 8 Views: 21,025 Hey there!
You sholuld use:
location.replace("http://yourRedirPage.ext");
instead - and congrats! :')
- you're done! |
Forum: JavaScript / DHTML / AJAX Oct 14th, 2009 |
| Replies: 8 Views: 1,573 Yes, you simply delete it!
Just change the play button code from:
<INPUT TYPE="BUTTON" VALUE="Play" OnClick="Player.controls.play()">
into:
<INPUT TYPE="BUTTON"... |
Forum: JavaScript / DHTML / AJAX Oct 13th, 2009 |
| Replies: 8 Views: 1,573 This is interesting ....[?!?] still haven't found anything working for you on internet?!
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>... |
Forum: JavaScript / DHTML / AJAX Oct 13th, 2009 |
| Replies: 5 Views: 450 No,
it is even better!
:')
That's why you never heard of it before.
This one is automatic and doesn't need coders assistance. There are very rare situations when a coder might begin to notice... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2009 |
| Replies: 5 Views: 450 in fact, there is no such thing as anonymous array, this supposedly "arrray" will be garbage collected as soon as the function has passed over.
Therefore you must initiate/create that array... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2009 |
| Replies: 1 Views: 335 Tis is the most reliable method when checking for authentic mozilla browser editions.
javascript: if(document.body.style.MozAppearance==""){ alert('mozilla')} //b.b. Troy III p.a.e.
you will... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2009 |
| Replies: 4 Views: 290 no that's not true, you will be forced to have more lines of code if you try that manipulation through javascript, and on top of it all, you will be having to much problems with browsers and moreover... |
Forum: JavaScript / DHTML / AJAX Oct 11th, 2009 |
| Replies: 1 Views: 296 Dynamicity is and should remain a javascript responsibility not CSS.
Images should be ready for interaction when page fires onload event no matter if their display property is set to none.
... |
Forum: JavaScript / DHTML / AJAX Oct 11th, 2009 |
| Replies: 4 Views: 290 why not simply change the class of the row instead? |
Forum: JavaScript / DHTML / AJAX Oct 9th, 2009 |
| Replies: 16 Views: 795 Yes!
In that classic approach to the problem - it is absolutely necessary.
Because there is no other way to know that you are changing only the images that should hover.
Because with that script... |
Forum: JavaScript / DHTML / AJAX Oct 9th, 2009 |
| Replies: 8 Views: 1,573 The topmost code is hard coded html meaning it is html;
the second one is a scripting syntax meaning it has to go inside the <script> tag.
That line will store reference to the player object in... |
Forum: JavaScript / DHTML / AJAX Oct 9th, 2009 |
| Replies: 2 Views: 409 There's nothing wrong with the line you refer to as being 56th; (that is: the one causing the error). Because it can't!
You didn't declare your "chat" variable before using but that's not gona... |
Forum: JavaScript / DHTML / AJAX Oct 9th, 2009 |
| Replies: 5 Views: 298 to my point of view. There is absolutely no need or logic in creating and destroying multi-purpose structural objects of the document body just so you can play another content.
Do you buy... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 8 Views: 1,573 <OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL"... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 4 Views: 530 you will need Exel activeX object for this.
This is a demo code from MSDN:
var ExcelApp = new ActiveXObject("Excel.Application");
var ExcelSheet = new ActiveXObject("Excel.Sheet");
// Make... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 5 Views: 298 "errors"? :')
yeah, of course it is throwing errors... - What's the thing in red doing up there?!!
I'm sure I instructed you to:
and that in case you haven't done something like:
var id =... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 5 Views: 298 continue that line with this:
{
id.parentNode.removeChild(id);
}and you're done. (assuming you've already stored the targeted element in your "id" var globally),
otherwise you should invoke... |
Forum: JavaScript / DHTML / AJAX Oct 7th, 2009 |
| Replies: 3 Views: 844 check this thread:
Dynamic population of drop down list (http://www.daniweb.com/forums/thread227303.html) |
Forum: JavaScript / DHTML / AJAX Oct 7th, 2009 |
| Replies: 5 Views: 4,417 Thats nice - but what to do when you click some other image after this one how do you return its hover functionality? |
Forum: JavaScript / DHTML / AJAX Oct 6th, 2009 |
| Replies: 16 Views: 795 QWeel there's no need to do anything step by step, here cause a singe copy-paste step will do.
Are you sure you really have those images in your folder???
It is one thing if the image doesn't... |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2009 |
| Replies: 1 Views: 240 If you are talking about "window.onload" I assure you -that's impossible!
You have problems with your function assigned to it somewhere else, but not with the "window.onload" event.
-check the... |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2009 |
| Replies: 16 Views: 795 Yes, one is mine, others are yours. I forgot to delete the onoad event after I took effort to make the function reusable forgetting that I cant pass args to the function being assigned. Anyway, this... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 795 OK, here is a shorter one:
function rollover(r){
var ic=document.images;
for(var i=0; i<ic.length; i++){
if(ic[i].className==r){
var A=B=L=ic[i].src;... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 795 Sorry, but I have to disagree, since the script in discussion takes care of preloading too.
You should read the code more carefully... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 795 The "A" is exactly one or any of these "A"s in the Document! The "A" came from here:
<A HREF="next1.html"> <!-- PARENT -->
<IMG SRC="images/button1_off.gif" width="113" height="33" alt="button1"... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 9 Views: 574 1. Have you tried it against your refrigerator too. What on earth do you mean by "remote server" ?!!
2. Yes. Human mistake, most certainly you! |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 795 Hi, there.
This is some very old script, rigid and extremely interdependant
This script will stop functioning as soon as file naming convention is broken. Meaning that it relies in things not... |