Help with bookmark code on IE7
I am a noob to this stuff, but after browsing around here know that there is an expert who can point me in the right direction. I have a few bookmarks that work with ie6, but not with ie7. It may just be a difference in the engine, but here is my pretty simple code:
javascript:word=prompt('word:','');if(word)locatio n.href='http://en.wikipedia.org/wiki/'+escape(word);
It just prompts for a word, then looks it up. IE6 works, IE7 gives a null back without a prompt box. Let me know your thoughts what I am doing wrong or on the "fringe" here. Thanks.
|