PDA

View Full Version : create menu in STM and import to ASM. is it possible ?


Crimson
06-26-2007, 10:28 AM
Hello,



i want to create menu using Sothink Tree Menu or Sothink DHTML Menu then import it to AutoPlay Media Studio and add action to specific button to go for a specific page . is it possible or not ?


thanks in advance :)

Haydeng
06-26-2007, 02:05 PM
AMS has a tree menu object.

Crimson
06-26-2007, 02:16 PM
AMS has a tree menu object.

thanks Haydeng for reply

i know that but the design in Sothink Tree Menu or Sothink DHTML Menu is very good to me :D

Haydeng
06-26-2007, 02:26 PM
Since the menus are javascript, they would have to be put in a web object.

RizlaUK
06-26-2007, 03:24 PM
yes but you can catch the url of the webobject and respond to it, if the user clicks a link in your menu it will load "page.html", use web.geturl to test the current page and jump to the right page in your application

EG:

cWeb = Web.GetURL("Web1");
if cWeb == "homepage.html" then
Page.Jump("Page1");
end

Crimson
06-27-2007, 10:12 AM
thanks Haydeng & RizlaUK

Ok, i publish HTML file and JavaScript file :
http://www.zshare.net/download/24558643a0fe27/

how add menu to my project in AMS ?

Haydeng
06-27-2007, 10:18 AM
You have to open the html file in a web object and use the code Rizla gave you as an example.

Crimson
06-27-2007, 12:45 PM
i try but don't work

Haydeng
06-27-2007, 01:02 PM
On the STM website it says that the menu is db driven so it must be put on a server with server side technology.

Crimson
06-27-2007, 01:57 PM
the problem is when click on Overview Button for example the action don't work and open the url " Overview.html " . i need just open other page in cProject not a web page or url . look to this project in Attach Files " ThE BeSt foR mE By Crimson " u see there is menu bar on the top create by AMS i want to use menu create by STM and import it to AMS to do the same work :huh . is it possible ?

Crimson
06-27-2007, 02:07 PM
...... project