I'm stumped. I'm not so sure what is the answer to that question. I'll do some research and get back to you if I discover an answer. You should email the people at iContact as they probably could assist you..
Hi there Freycinet,.
And a warm welcome to these forums.
I have changed the script in your.
Links.html.
..
It will now work in the major browsers.
See attachment..
Thanks to both of you and thanks a lot for the link.zip!.
OK, so it turns out that it was actually the "nifty" jscript-function that made it not work. My uncle also just told me that..
Now that the links work again (in the zip you sent me) my remaining problem is the following: When using the back button after visiting a linked page, my home page doesn't display correctly, in it's "pristine" state, with the top list items showing in all the lists..
Can this be made in standard javascript as it was in jscript?.
Thanks guys, this is a learning experience! This seems like a great forum...
Ok, I tried placing two "//" in front of "document.body.focus()", so that it is just considered a remark..
- the problem is the same though. The page is not going back to it's original state (reloading) after a visit to another page and returnnig with the "back"-button.....
OK, uploaded the revised, non-working page here....
Http://perso.wanadoo.fr/delfin/SD/2001/Links.html.
- What I don't understand is, why does the page display the 2nd item in all the lists, after I go back to it with the "back"-button?.
It displays all the lines that I have entered as item 2 in all the lists. It would be nice if it just displayed item 1 - the headline of the lists - as I'd prefer!..
Hi there Freycinet,.
This is the best that I have been able to.
Come up with, so far, and it's not great.
....
A reset button at the bottom of the page..
It works ok in firefox but is abysmal in Opera..
I'll reserve judgement on I.E. also.
See attachment..
Hey, thanks a lot for your effort!.
...You're right, it is not optimal.....
- I hope there's another solution out there, I'll keep looking....
I think it SHOULD be possible... I kind of like the concept of my page, and think it should be possible to have pages like that on the accesible-by-all-browsers net... - with lists of links...
Hi there Freycinet,.
I am going senile.
, but have just enough grey matter left to crack this..
This last effort works in.
I.E..
And.
Firefox.
But Opera resets to blank options..
See (final ?) attachment..
Hey, I just made a Haxx0rs solution!.
I uploaded it just now, but it basically involves putting the list title in the SECOND place as well as the first place..
It seems that Firefox for some unfathomable reason always defaults back to showing the second place, when I'm using the "back"-button....
It seems a bit strange, but I can get used to seeing the list title repeated, if that's what it takes!.
I'll have a look at your solution now, I'm sure it must be prettier!..
Hehe, my haxx0rs page didn't last long on the internet....
Your FINAL attempt is a beauty, THANKS a LOT! - It works exactly as it should..
Http://perso.wanadoo.fr/delfin/SD/2001/Links.html.
I'm glad the unified internet has stood up to attack once again, thanks to programmers like you..
It is so sad with pages that can only be viewed with either one browser or the other. I'm glad Firefox now sees the page correctly, and IE too, since I guess 90% of surfers still use it. Too bad about Opera, though..
Can you explain in semi-layman's terms what you did?.
Anyway, thanks again!..
Hi there Freycinet,.
Glad it worked out ok in the end.
Perhaps if you were to ask Jere (agent002) our resident.
Javascript guru and Opera.
Aficionado.
He may be.
Able to explain the unusual reset behaviour..
Firstly, I removed all the separate forms, and just used one.
This was so I would be able to reset with one button,.
As I could find no other means to achieve the desired result..
Secondly, I slept on the problem..
I have found that, over the years, this is an amazingly good way of solving problems..
The simple answer was there when I awoke this morning..
Get rid of the button and just add this to the body tag....
Still better late than never..
Hello,.
I did almost miss this thread.
Yes, it really is odd behaviour from Opera, but you should only need to add.
Selected="selected".
To the first option of every <select>, and it's fixed..
Hi there Jere,.
Tried that.
Opera just resets to the visited option rather than the blank.
Could this be an Opera.
BUG..
While you still don't get the default option back in Opera, at least you don't get the odd blanks, when the selected="selected" attribute is specified. However, if we use a slightly approach, and reset the form already before redirecting, we can make it work in Opera too.
Remove the onload attribute from the <body> and change the linkTo() function to.....
Hi there Jere,.
I just tested it in Opera, popped in...selected="selected".
And your modified script and.....
Great !!! it now works.
But....
Unfortunately in firefox it now resets to....
So it seems that we have a cross browser incompatiblity..
Hmmm, looks like Firefox's odd behavior can be avoided by setting the values of the options to something else than the value of the first option. E.g. change:.
To:.
Also, I noticed that if you don't want to specify selected="selected" for the first option in the selects, to get rid of the odd behavior in Opera, you can change the linkTo() function to.....
So, does this mean that it wil be possible to have the page actually work correctly in all three browsers? (your discussion is going a bit over my head...)..
Yes.
Are my instructions too unclear? I can try to clarify if you want...
Yes please (sorry, i'm an html-analphabet...).
Whee do I have to put in the changes, and does the page still work well in firefox and IE after it is fixed for opera?..
Ok. If you have added any selected="selected" attributes to the options, like I adviced you to do earlier, you can just as well remove them. If you haven't done it, good, ignore it..
Then, find the code for the linkTo() function. This is the code for it, it is between the <head> and </head> tags of the page:.
Replace it with:.
Then, from the <body> tag, remove this part:.
And finally, clear the values of the second options in the selects - i.e, this is one of the selects:.
Change it to:.
It should now work well in MSIE, Mozilla, and Opera...
Ok, thanks a lot agent002, I implemented your changes and they work in IE and firefox.. - could anybody confirm that they work in opera too?.
Only slight issue is that IE takes me to "http://perso.wanadoo.fr/delfin/SD/2001/" when I select one of the ""'s. But it's no biggie at all...
Works great in Opera.
BTW, I have made a bug report of Opera's odd behavior..
If you don't want the "" option to go anywhere... change the linkTo() function to:..

