Closed Thread Icon

Topic awaiting preservation: Open an url from a text field... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8154" title="Pages that link to Topic awaiting preservation: Open an url from a text field... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Open an url from a text field... <span class="small">(Page 1 of 1)</span>\

 
crip
Nervous Wreck (II) Inmate

From: iasi, romania
Insane since: Apr 2002

posted posted 04-29-2002 23:22

Hi.
I want to open an url in a new window. The problem is that the url will be written in a text field in the first window. More to the point, what i want to do is put a text field on a page that will actually be my desktop. And I want something like an address bar directly on the desktop.
I also don't know if the desktop itslef supports this, I discoverd that though it supports a text field for a google search, it does not support the login fileds, user and password, for my email. The page works fine in a browser, but when on the desktop the login does not work.
Any ideas on these two problems?
Thanks in advance


crip

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 04-30-2002 02:16

crip: I'm not sure if it'll work but I'd try adapting one of those drop down menus which automatically send you to like they use at the GN. There probably is a script out there which'll do what you want but it might be quicker to change an exisitng one. Then again someone here will probably post the link to the exact script you are looking for. You might also want to search Microsoft on Active Desktops - they have a lot of information. Its a pity IE's support for Active Desktops has slipped - I always thought it was an interesting concept.

Emps

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-30-2002 04:05

Actually, this is a cool trick and was a good thread a while back. I actually did this but I've formatted my HD and lost it. I could give you the code but I think Slime 1 upped me and built a cool little tool to do all the work for you.

Slime! Slime??? are you out there man!?



.:[ The Tao of Steve ]:.
Be Desireless
Be Excellent
Be Gone
...................................

crip
Nervous Wreck (II) Inmate

From: iasi, romania
Insane since: Apr 2002

posted posted 04-30-2002 07:59

Thanks...any idea what the thread name was?
I'll try on MS's Active Desktop... But any new ideas are welcomed


crip

crip
Nervous Wreck (II) Inmate

From: iasi, romania
Insane since: Apr 2002

posted posted 04-30-2002 18:49

Ok, found a script that works...But I still am not happy (I want to much sometimes I guess . I want to get rid of the button, but it does not work unless I push it, hitting "enter" does nothing.
Any ideas how can i remove the button?
Here is the script:

code:
<form>
<input type="text" size="100" value="" name="where">
<input type="button" value="I_Hate_This_Button" " onclick="takeBrowser(this.form)">
</form>

<script language="javascript">

function takeBrowser(ref)
{
var form=ref;
location.href=form.where.value;
}
</script>


Thanks...


crip



[This message has been edited by crip (edited 04-30-2002).]

DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 05-01-2002 14:26

Try this:

code:
<form>
<input type="text" size="100" value="" name="where" onchange="takeBrowser(this.form)">
</form>

<script language="javascript">
function takeBrowser(ref){
var form=ref;
location.href=form.where.value;
}
</script>


That should call the function as you change the info in the textbox (ONCHANGE, when the element loses focus and its value has changed since it received focus.).
You can also try to trigger it as the form loses focus, that would be "onblur"
/Dan


-{ a vibration is a movement that doesn't know which way to go }-

« BackwardsOnwards »

Show Forum Drop Down Menu