Hi pros,
I am new in programming, so please help me with this.....
I am have a website & am trying to put an embedded slideshow in an iframe... but the user can choose the slideshow from a dropdown list....
I managed a code that works on URL links but can't make it work on Embed ???
The code is as follows...
<form target="iframe">
<select onchange="change(this)">
<option value="">Search Engines
</option><option value="http://www.google.co.uk"> Google
</option><option value="http://www.yahoo.co.uk"> Yahoo
</option></select>
</form>
<iframe name="iframe" width="50%"></iframe>
<script language="Javascript">
function change(select) {
if( select.options[ select.selectedIndex].value) {
select.form.action =
select.options[ select.selectedIndex].value;
select.form.submit();
}
}
</script>
I want to try to put this embed in the dropdown :
<div><embed src="http://widget-e7.slide.com/widgets/slideticker.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" salign="l" wmode="transparent" flashvars="cy=lt&il=1&channel=72057594045485799&site=widget-e7.slide.com" style="width: 450px; height: 200px;" name="flashticker" align="middle"><div style="width: 450px; text-align: left;"> <a href="http://www.slide.com/pivot?cy=lt&ad=0&id=72057594045485799&map=2" target="_blank"><br></a></div></div>