XML Elves

XML Elves

<community>of XML and SVG Developers</community>


Unrolling menus in Routines: explanation

This is a discussion on Unrolling menus in Routines: explanation within the SVG Questions forums, part of the SVG Forums category; Hi, I'm new to SVG and javascript (although I bought and read Learn SVG I still have a lot of ...


Go Back   XML Elves > SVG Forums > SVG Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices


Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2004, 01:05 PM
Anonymous
Guest
 
Posts: n/a
Default Unrolling menus in Routines: explanation

Hi,

I'm new to SVG and javascript (although I bought and read Learn SVG I still have a lot of doubts).
Could you please tell me how to insert an event (like opening a new window or other types of events) when I click an option in the Unrolling menus svg example in the Routines examples of this site.
Eg.: File ->Open -> window.htm.
Should I work on the menu.js file or on the menu.svg file?

Thanks

Lorenzo Boncompagni
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-09-2004, 01:21 PM
Anonymous
Guest
 
Posts: n/a
Default Unrolling menus in Routines: explanation

In this example, any choice only open alert window with menu and submenu choosed.
To use this example, you have to define action in script of menu.svg in
function use_menus(num_menu,num_submenu)
as by example :

function use_menus(num_menu,num_submenu)
{
switch(num_menu)
{case 1 :
switch(num_submenu)
{case 1 : define here action or call function;break;
............
}
break;
case 2 :
.........
}

menu.js is used only to create, draw and delete rolling menu.

Michel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-09-2004, 01:39 PM
Anonymous
Guest
 
Posts: n/a
Default Unrolling menus in Routines: explanation

Thank you, although I still don't have clear what to do.

I will try to understand.

Regards

Lorenzo Boncompagni
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
explanation, menus, routines, unrolling


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 07:12 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

Printer Inks...
Order all printer inks and digital requirements from this company.

Hard Disk Drive Data Recovery Cheshire...
Recover data from servers, desktops/laptops, DVDs and CDs! Visit this site.

ink cartridges Free UK Delivery on ink cartridges such as Canon, Dell, Epson, hp & Lexmark.

1 2 3 4 5 6 7 8 9 10