Try this:
var me = this;
setTimeout(function() { me.animate("start"); },animateInt[animateNumber]);
Type: Posts; User: Mr Moo; Keyword(s):
Try this:
var me = this;
setTimeout(function() { me.animate("start"); },animateInt[animateNumber]);
setCapture and releaseCapture are IE specific non-standard add-ons. There is a chap called Stephen Stchur who is developing a framework called Gimme which, in it's latest unreleased version (Caspian)...
Unfortunately there's no CSS way of doing this. You also can't do it with JavaScript because the page loaded is from a different domain and the security restrictions built into JavaScript will...
If I remember correctly, you need to set the text and value properties:
.
.
.
objOption = new Option(Option[i].text,Option[i].value);
.
.
.
I suspect this is because you have an inline script in the page you are loading dynamically. Inline scripts are not evaluated when they are appended to the page. If you have a look at any of the big...
IE6 does not support 32-bit transparent PNGs without some hacking. There are 2 recent posts on my blog which have some detail about this, but basically it comes down to using the AlphaImageLoader...
But then just add the additional html required to the image and set the iframes src:
<script type="text/javascript">
function changeIt(imageName,objName,url)
{
var obj =...
It depends on the OS and the C lib being used. In most cases, with modern OS's your memory will be freed, but with some older OS's it may not. Certainly, while your app is running the memory will not...
First, you should consider testing your site in something other than IE. Second, you should consider using something like SWFObject to embed your flash.
You have a z-index on your nav buttons (z-index: 10). If you put a higher z-index on the various divs that make up the lightbox it will appear above the buttons. (Or remove the z-index from the nav...
Here's my idea:
1. Head here and make yourself a nice loading gif
2. Add <div id='loading'><img src='images/loading.gif' /></div> to your page
3. Add a style for #loading to your style sheet and...
Please read: What you CANNOT do with JavaScript
You may be able to prevent image stealing by complete n00b users, but if people want your images, they can get them. There's no way around that....
If you change the overlayclose function to:
function overlayclose(){
for(var i = 0; i < arguments.length; ++i) {
document.getElementById(arguments[i]).style.display="none";
}
}
and...
Your link to the "code" just points to the Dev Shed forums.
I selected all the checkboxes (HTML insofar as I have created various applications that use HTML as a front end, but I guess then you should also include XML, SVG, XUL and all the other front end...
The trick is to position a transparent IFrame directly behind your floating div. The div will then appear above embedded Flash, SVG and select boxes (and other ActiveX controls). This is only...
That is true. In my example with the Google map of course, it is in fact better to hide the map initially: people without JavaScript wouldn't be able to use it anyway. In bestresource's case on the...
Heh, heh. Glad I could help.
That kind of thing really irritates me too. The thing is it doesn't make the web page any less usable, it just looks ugly.
I had a similar thing with a Google map...
You simply need to repeat the line:
document.getElementById("id_of_your_div").style.display = "block";
as many times as you need. So for example you might end up with:
<script...
I just fiddled with it a little bit, and have come up with the following:
1. In the style for the collapsing div add display:none;
2. Add the following code in the head section (or add it to your...
I'm sure there's a better way of doing this, but it's early and I haven't finished my coffee yet:
function formatNumber(number, digits) {
var d = digits > 0 ?...
1) CODE TITLE: Blender.js
2) AUTHOR NAME/NOTES: Marc Heiligers
3) DESCRIPTION: A script that fades a sequence of images into each other, based on Prototype and Scriptaculous.
4) URL TO CODE:...
1) CODE TITLE: Fader.js
2) AUTHOR NAME/NOTES: Marc Heiligers
3) DESCRIPTION: A script that fades a sequence of images in and out, based on Prototype and Scriptaculous.
4) URL TO CODE:...