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
 Java script from GFX?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 10 Aug 2010 :  23:23:09  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Here is my script:

<input type=\"submit\" value=\"Login\" onClick=\"window.open('http://stc-ed.org:2095/3rdparty/roundcube/index.php', 'newWindow');\" />

What I want to do is open the RoundCube email reader in a new tab or window. How do I do this, cause when I put this in an event on a GFX button, it does nothing!

Edited by - rmmarsh on 10 Aug 2010 23:23:52

petran
Super User

Netherlands
345 Posts

Posted - 11 Aug 2010 :  00:16:32  Show Profile  Visit petran's Homepage  Reply with Quote
The easiest way seems to me to just place that link in the menu. Right above the events line of your GFX-button you can open the Link Wizard. There you can place your link and make it to open in a new tab with Target Frame Name _blank.

http://www.rdbf.nl/DHE/gfx-link.png

--------

regards

Petran

Edited by - petran on 11 Aug 2010 08:10:28
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Aug 2010 :  08:58:24  Show Profile  Visit s.dav's Homepage  Reply with Quote
You can use many methods but as you used a "Submit" button you need to do these things:

1- draw a form container
2- draw your submit button into the form (without additional code)
3- set the form 'action' to "http://stc-ed.org:2095/3rdparty/roundcube/index.php'"
4- set the form 'target' to "newWindow"

In a standard (non "Submit") button you can use events ;-)

Regards, Davide
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