In order to close the window and for that fact opening a window using window.open I use a variable to do the work for me. Example
win=window.open(...); win.focus(); win.close(); If you are using a pop up window You can create a function on the opener to reload the opener and a function in the...
Thank you for the replies. In regard to the last post I was having trouble figuring out how to show you my problem because I was not sure what it was. The same in this case.
DaButcher this is actually a simulation of some thing that happens on the site. It is something that is similar in...
I have this effect that needs to be smooth and visible in safari but for some reason it is not visible in safari 2.x and does not work properly in safari beta. Please help me get this working. It is part of an overall problem I have with safari. Here is the link to the page to test.
http://...
khat
Fair enough I do recall you mentioning that before. I asked shortly after you mentioned this if is was possible if it were loading and no one answered. Well I took a plunge and tried. I did how ever think the first time I look into this problem that it was that function but had no idea...
I found this problem by dclaring a var that is the current time then at the end of the function alert the difference between now and that var and wow it took safari 6-7 seconds per object to do this task where the other browsers were less than a .25 seconds per object. Now it really screams...
I have a fix for this problem I just need to integrate that into the obfuscated code. Going to be a pain but probably tomorrow will be done. I will have questions about the current version of safari and its innerHTML replacement problem. Plus possible two or three others. THanks for the replies.
I have been reading some article one particularly pretty interesting was something about closures and accidental closures in ecma scripting, which this app obeys. I found that when I create the objects inside the function I called libinit() it seems that I create accidental closures of my...
What you need to do is use CSS to layer your page. Then once you layered your page you could use the div layer with the appropriate form in it and display:none that element. There are functions that are freely available that slide your "invisible" div from the top location to "open" position...
j4606
I look and looked while loading safari and reloading safari for leaks in the memory in the task manager. I see no increase in memory usage when either the full version or the demo is or both at the same time are loaded. I inserted return true in all the functions that do not return...
First off you should use document.getElementById('imageID').src ten you have to use this code to create a source object so the image will allow you to replace it source. This work great I have used this and recommended this in the past.
var imageSRC = new Image();
imageSRC =...
Thanks for the replies and for looking at the demo.
First I took out the css file since they are no longer used, same slowness.
The full app has the ; placed at the end of each function.
The obfuscated version runs the same as the unobf, there is perceivable differences but not much.
I...
In cases like this I use naming conventions to short cut the need to get more information from some other element. I use a naming convention where I get the info I need from either the ID or the name of the element in question. By the way onclick you can pass the parameter of the element with...
You can not avoid that in some cases but I found that this code tidbit opens a new browser window almost every time to a new window the size you desire. So I am pretty sure this will address his issue. creating a variable for the window and naming it will help in most cases but to completely...
TYhe problem you may run into with the javascript verification is that if you use the onkeypress, onblur, or onkeyup events is that you get sent to the of the text if you verify incorrectly. Example you are typing some text like "I am the best" and you make a mistake and would like to replace...
try this little onload trick. I must say that I have run into problems of timing issues many times in the past. It will drive you crazy, I know. I have had scripts run perfectly for weeks make a change to some other place or the html and the script stops working and since the error occurs...
Try this I use this trick for many uses.
var win;win=window.open('somewindow.html','window_name', 'scrollbars,resizable,width=500,height=500'); Using this trick will allow you to close the pop up from iside itself or even the opener may close the pop up with out that IE dialog "you are about...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.