robbrucker
11-10-2008, 01:38 PM
1) Script Title: Switch Content Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem: I'm looking to use a flash button or movie clip instead of the typical text used in this script. I have my page set up as such
<span id="bobcontent1-title" class="handcursor">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="50" id="bobcontent1-title" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="tester.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="tester.swf" quality="high" bgcolor="#ffffff" width="200" height="50" name="tester" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</span>
Basically I thought wrapping a span tag around it would do the trick, but it didn't. I also tried to declare the bobcontent in the id of the flash object, but that didn't work either. Does anyone have any suggestions, or know how to do this?
Thanks
Rob
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem: I'm looking to use a flash button or movie clip instead of the typical text used in this script. I have my page set up as such
<span id="bobcontent1-title" class="handcursor">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="50" id="bobcontent1-title" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="tester.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="tester.swf" quality="high" bgcolor="#ffffff" width="200" height="50" name="tester" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</span>
Basically I thought wrapping a span tag around it would do the trick, but it didn't. I also tried to declare the bobcontent in the id of the flash object, but that didn't work either. Does anyone have any suggestions, or know how to do this?
Thanks
Rob