Sorry, but you do not have the capability to view this topic
-
- Topics: 7
- Replies: 16
- Total posts: 23
Not too shy to talkPost count: 24Hi,
I am trying to create an HTML select list that has a few options. When clicking on one, I would like to redirect the user to a page in the MusicPlay site, but without interrupting music playing in the audio bar. I have tried window.location but that doesn’t work; it redirects and reloads the whole page):
<select onchange=”window.location = this.options[this.selectedIndex].value;”>
<option value=””>– Language –</option>
<option value=”/french”>French</option>
<option value=”/english”>English</option>
</select>This normal link works:
French
But this does not (I tried using window.location again on a normal link...):
Is there some CSS or javascript file I need to change to make the select list work? Or what would you suggest?
Thanks for your help,
AH- This topic was modified 9 years by alaahammoudeh.
- This topic was modified 9 years by alaahammoudeh.
- This topic was modified 9 years by alaahammoudeh.
- This topic was modified 9 years by alaahammoudeh.