Roccu 0 Unverified User

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&amp;il=1&amp;channel=72057594045485799&amp;site=widget-e7.slide.com" style="width: 450px; height: 200px;" name="flashticker" align="middle"><div style="width: 450px; text-align: left;">&nbsp;<a href="http://www.slide.com/pivot?cy=lt&amp;ad=0&amp;id=72057594045485799&amp;map=2" target="_blank"><br></a></div></div>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.