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
 buttonlink
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

be
Practical

21 Posts

Posted - 23 Oct 2004 :  17:43:06  Show Profile  Visit be's Homepage  Reply with Quote
Sorry but I still can't understand how one do to make a link from a button to un other file.
When I click on a button the "properties" list om the right is opend, and the only option I see is to click on "events" and fill in "event" and "actions" but what do I do then? wich "destination" do I use to link the button to un other file?
be

eimar
Novice

Netherlands
1 Posts

Posted - 23 Oct 2004 :  18:05:01  Show Profile  Visit eimar's Homepage  Reply with Quote
I have the seem question as "be"

Eimar
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 25 Oct 2004 :  08:57:20  Show Profile  Visit s.dav's Homepage  Reply with Quote
In the forum there is already the solution!
Be sure to watch also the sample "links"

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 25 Oct 2004 :  14:45:40  Show Profile  Reply with Quote
Look in the sample file for links.dhe and open it. There at the bottom right you see two buttons. Click on one of them and then click on events in the properties panel.

There you can see the result. I must admid that I have no idea how Davide (I presume he made this example) did this.

I clicked on Events and choose onClick and then under Actions I choose javaCall and in the field that showed up I filled in the url but that doesn't seem to create the same line of script as the example has.

I am missing for example window.open and I have no idea what it says after http://www.hexagora.com because I can't scroll to the right.

I looked in the source of the exported page and saw there that ;return false; was added behind the url but if this is also added in the program itself I don't know.

Martin
Go to Top of Page

be
Practical

21 Posts

Posted - 25 Oct 2004 :  19:22:39  Show Profile  Visit be's Homepage  Reply with Quote
Dear s.dav

I have tryed many times, but I can't make it. Would you be so kind to tell us the solution of the riddle?

Greetings be
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 26 Oct 2004 :  09:18:19  Show Profile  Visit s.dav's Homepage  Reply with Quote
The only way for creating a link using a button is by events.
- Draw a button
- Click on events
- Choose the OnClick event (it starts when you click the button) and JavaCall action.
- Write the javascript call
- For open a new window you have to write "window.open('yoururl.htm')"

I suggest that you use a link instead a button for linking.

- Create a label
- Open the label editor
- Select some text
- Write your link in the HRef field 'yourlink.htm'
- Press the Create Link button

Regards, Davide
Go to Top of Page

be
Practical

21 Posts

Posted - 26 Oct 2004 :  19:35:59  Show Profile  Visit be's Homepage  Reply with Quote
Thank you wery much for the answer.

Purtroppo it rise some new questions :

1. What ?s, and how do i write a javascript call?
2. If I write for exampel: "window.open www.hexagora.com" nothing happen, why?
3I can open the label editor, and write some text, but it's not possibel to write in the HRef field, How com?

Regards be
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 27 Oct 2004 :  12:37:57  Show Profile  Visit s.dav's Homepage  Reply with Quote
1- Javascript is the default language for dynamic HTML
2- you have to write exacty:
window.open('http://www.hexagora.com');
3- you have to select some text before

Regards, Davide
Go to Top of Page

be
Practical

21 Posts

Posted - 27 Oct 2004 :  19:52:44  Show Profile  Visit be's Homepage  Reply with Quote
Hi
Thank's for the answer, now it function

But I tryed to chang the color of some of the letters in a text I have written in a label-property, circa 200 words.
But now it's not possible to select the text with the mouse. Why is that?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 28 Oct 2004 :  13:37:58  Show Profile  Visit s.dav's Homepage  Reply with Quote
You can modify your label only with label editor, so first double click on your label, select the text and change the color.

Regards, Davide
Go to Top of Page

be
Practical

21 Posts

Posted - 29 Oct 2004 :  00:02:14  Show Profile  Visit be's Homepage  Reply with Quote
That's what I trye to do. I have opend the label by double clicking on the text, but inside the label editor it is not possibel to select the text at all. How come?
be
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 29 Oct 2004 :  08:44:47  Show Profile  Visit s.dav's Homepage  Reply with Quote
Have you tried using mouse or SHIFT+Arrows?
???
Very strange!

Regards, Davide
Go to Top of Page

be
Practical

21 Posts

Posted - 29 Oct 2004 :  11:54:09  Show Profile  Visit be's Homepage  Reply with Quote
Since I want to change the color of only a fewe letters, I'v used the mouse.

be
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