Click to See Complete Forum and Search --> : Lousy IE...
alcodes
10-27-2003, 05:53 PM
Most of my webpages will not work in IE, I tried figuring it out, and came up with the conclusion that IE no longer uses the funtion() script...this is in, at greatest, IE 5, and since most people vieng my pages use IE, I have a problem, any solutions, or am I to remove all of my hours of scripting from all my pages?
Im pretty sure it is IE, if not, please tell me
Charles
10-27-2003, 06:02 PM
You have inadvertently offended a blind begger who has cried out to God against you. And God in his mercy has visited this plague upon you. Your only solution is to give away all of you possessions and dedicate your life to performing humble tasks for some monks. Of course, if I'm wrong about the begger thing then I'm possibly wrong about the monk thing. You might want to post your code just to be sure. (But then, performing humble tasks for monks is always a good thing in and of itself.)
James L.
10-28-2003, 01:24 AM
lol, Charles... great post. It's a new you. I think this should be the way your posts read from now on!
and to add my thoughts...
"If you give a man a fish, you feed him for a day. If you confuse him with confounding statements such as above, he won't realize he's starving to death!"
:)
AdamBrill
10-28-2003, 11:40 AM
Originally posted by James L.
"If you give a man a fish, you feed him for a day. If you confuse him with confounding statements such as above, he won't realize he's starving to death!"I have a new favorite quote. ;) I hope you don't mind if I take it... :D
alcodes
10-28-2003, 04:50 PM
Okay charles, here is some source to satisfy your hunger
function menu(url){
win=window.open('menu.htm','menu','width=100,height=400,resizable=yes,scrollbars=yes,menubar=no')
}
if it makes any difference, I am using this function in a button
Lol... this has got to be one of the funniest threads I've read... :D
alcodes
10-28-2003, 06:25 PM
lol charles, I recall another post which might explain the one you posted on this thread.
BTW pyro, do u have IE? can u see if its just me or is IE really not using the function() script anymore?
James L.
10-28-2003, 06:42 PM
It's yours Adam!... It just hit me after reading Charles's post.
:)
Charles
10-28-2003, 09:51 PM
Originally posted by alcodes
function menu(url){
win=window.open('menu.htm','menu','width=100,height=400,resizable=yes,scrollbars=yes,menubar=no')
}I have a very strond suspicion that you are doing something like
<a href="javascript:menu('someURL.html')">menu</a>
That never was correct and modern browsers have stopped correcting for the error. Use instead
<a href="someURL.html" onclick="menu(this.href)"; return false">Menu</a>
Yes, I have IE, though I really only use it for testing purposes. You should really use Charles method, as it will continue to function for those without JavaScript enabled.
AdamBrill
10-28-2003, 10:10 PM
Originally posted by alcodes
can u see if its just me or is IE really not using the function() script anymore? Just to answer the question(since no one else really did), function() works fine in all browsers that I have ever seen, so I'm sure that isn't the problem.
If you continue to have problems with it, maybe you could post your entire source so we can find the error and point it out to you...
alcodes
10-29-2003, 04:37 PM
if it makes any difference, I am using this function in a button
My button source is:
<input type="button" onclick="menu()" name="open" value="Open Menu">
Charles: Also, it does work fine in NS, just not IE
Pyro: I have a link for people who have no Javascript or don't want to use Javascript
Adam: Thanks for answering.
AdamBrill
10-30-2003, 07:19 AM
It's possible that it doesn't work because the function is declared like this:
function menu(url){
and you call it like this:
onclick="menu()"
Notice that you don't have the url in the function when you call it... If that doesn't fix the problem, then I would suggest that you post all of your source, since something else must be messing it up.