Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Open link in same window
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterthebike
Novice

2 Posts

Posted - 08 Jul 2004 :  20:11:49  Show Profile  Visit peterthebike's Homepage  Reply with Quote
I want to open a link from a button in the same window, but do not know what should be in the java call - HELP please [2 ?:-|]

I can open a new window using window.open('newurl.htm'). I thought that location.href('newurl.htm') was the command I wanted, but that does nothing!

Help please.

Peter

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 Jul 2004 :  08:44:06  Show Profile  Visit s.dav's Homepage  Reply with Quote
quote:
Originally posted by peterthebike

I want to open a link from a button in the same window, but do not know what should be in the java call - HELP please [2 ?:-|]

I can open a new window using window.open('newurl.htm'). I thought that location.href('newurl.htm') was the command I wanted, but that does nothing!

Help please.

Peter



There is an example in the 'samples' directory of Dynamic HTML Editor.

You can watch also this:

http://www.hexagora.com/forum/topic.asp?TOPIC_ID=224


Regards, Davide
Go to Top of Page

peterthebike
Novice

2 Posts

Posted - 09 Jul 2004 :  12:58:23  Show Profile  Visit peterthebike's Homepage  Reply with Quote
Davide,

Thanks.

I was sure there should be an example in the 'samples' but I could not see it. I think I was looking so much at the two menu samples, that I forgot the link sample. [img]http://www.emotipad.com/newemoticons/Doh.gif[/img]

Peter
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000