# Help with drop-down menu

**URL:** <https://forum.kirupa.com/t/help-with-drop-down-menu/97037>\
**Category:** Uncategorized\
**Created:** [December 17, 2003, 12:44am UTC](https://forum.kirupa.com/t/help-with-drop-down-menu/97037 "2003-12-17T00:44:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PG\_MUL](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@PG\_MUL](https://forum.kirupa.com/u/PG_MUL)\
**Post date:** [December 17, 2003, 12:44am UTC](https://forum.kirupa.com/t/help-with-drop-down-menu/97037/1 "2003-12-17T00:44:15Z")

</div>

I made a menu similar to [http://www.kirupa.com/developer/mx/dropdownmenu.htm](http://www.kirupa.com/developer/mx/dropdownmenu.htm)  
but I dont know how to make it open a page when you click a button,and when the page opens,the bar should still be there. help me!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2003, 5:31am UTC](https://forum.kirupa.com/t/help-with-drop-down-menu/97037/2 "2003-12-17T05:31:11Z")

</div>

First off, please try to be a little more concise in your questioning so we can give accurate answers. Considering your brief question, you’ll get brief answers.

The method you are looking for is called “getURL()”

you can either use it to call a webpage from the button

on(release){  
getURL(“[http://www.google.com](http://www.google.com)”);  
}

or call a custom javascript function from the webpage the .swf is located within:

on(release){  
getURL("javascript:popUpWindowFunction(‘[http://www.google.com](http://www.google.com)’,‘myWindow’));  
}

Hope that makes some sense,

–EP
