Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Java script from GFX?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rmmarsh Posted - 10 Aug 2010 : 23:23:09
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!
2   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 11 Aug 2010 : 08:58:24
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 ;-)
petran Posted - 11 Aug 2010 : 00:16:32
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

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000