# getURL

**URL:** <https://forum.kirupa.com/t/geturl/70218>\
**Category:** flash\
**Created:** [November 11, 2004, 5:10pm UTC](https://forum.kirupa.com/t/geturl/70218 "2004-11-11T17:10:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilfolaram](https://avatars.discourse-cdn.com/v4/letter/w/9dc877/32.png) [@wilfolaram](https://forum.kirupa.com/u/wilfolaram)\
**Post date:** [November 11, 2004, 5:10pm UTC](https://forum.kirupa.com/t/geturl/70218/1 "2004-11-11T17:10:55Z")

</div>

[font=Times New Roman][size=3]Is there some why that getURL can be added into the script below so that when someone clicks TwoDoor, FourDoor or SUV in the first combo box, a website will open in a popup. [/size][/font]

[size=3][font=Times New Roman] [/font][/size]

[color=black][font=Verdana]Cars = [“TwoDoor”, “FourDoor”, “SUV”];

TwoDoor = [“Theme1”, “Theme2”];  
FourDoor = [“Theme3”, “Theme4”];  
SUV = [“Theme5”, “Theme6”];

Theme1 = [“Color1”, “Color2”];  
Theme2 = [“Color3”, “Color4”];  
Theme3 = [“Color5”, “Color6”];  
Theme4 = [“Color7”, “Color8”];  
Theme5 = [“Color9”, “Color10”];  
Theme6 = [“Color11”, “Color12”];

myCars.setDataProvider(Cars);  
myThemes.setDataProvider(TwoDoor);  
myColors.setDataProvider(Theme1);  
listener = {};  
listener.ref = this;  
listener.change = function(evt) {  
var choice = evt.target.selectedItem;  
myThemes.setDataProvider(this.ref[choice]);  
myThemes.dispatchEvent({type:“change”});  
};  
myCars.addEventListener(“change”, listener);  
listener = {};  
listener.ref = this;  
listener.change = function(evt) {  
var choice = evt.target.selectedItem;  
myColors.setDataProvider(this.ref[choice]);  
};  
myThemes.addEventListener(“change”, listener);[/font][/color]
