The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Javascript to add drop-down menu to toolbar?

View previous topic View next topic Go down

Javascript to add drop-down menu to toolbar?

Post by Soulmonster on April 11th 2016, 6:29 pm

Hi,

At my site (http://www.a-4-d.com/) I want to add drop-down menus to the toolbar. By tweaking Ange Tuteur's tutorial for adding new share buttons to the toolbar (http://help.forumotion.com/t143547-add-more-share-buttons-to-your-toolbar) and this newbie tutorial for generating drop-down menus using CSS and JS (http://www.w3schools.com/howto/howto_js_dropdown.asp), I have been able to insert a new button which, when clicked, will open a simple drop-down menu. Aside from all the CSS styling that needs to be added to make it look good, and which I struggle with, I have a few more important concerns/problems:

1. The HTML code that is used to generate the content of the drop-down menu is now stored in Ange Tuteur's JS script for share buttons. I don't believe JS at Forumotion can contain sufficient code to make me design the drop-down menus I want to create.

2. I already have the drop-down menus created, and they are stored as widgets (look to the right side of my forum). Is it possible with JS to move the position of these widgets from the widget panel into the toolbar? And if so, can I still style them with CSS to make them look less, well, crappy?

Thanks in advance!

Soulmonster
Forumember

Posts : 203
Reputation : 2
Language : Norwegian

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum