•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,539 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,198 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1895 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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>
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>
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- trouble with slide show (Graphics and Multimedia)
- slide show in flash (Graphics and Multimedia)
- Resizing desktop slide show (OS X)
- Javacript Slide Show (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: JavaScript Menu + vBulletin = Help!
- Next Thread: require urgent help


Linear Mode