Midget
29-06-2007, 12:20 AM
so here is my myspace (http://www.myspace.com/ant2oo4)
and i want to put a last.fm widget right under the music player on the right
the code for the widget is this:
<style type="text/css">table.lfmWidget20070629000838 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidget20070629000838 tr.lfmHead a:hover {background:url(http://panther1.last.fm/widgets/images/en/header/chart/weeklyartists_regular_grey.png) no-repeat 0 0 !important;}table.lfmWidget20070629000838 tr.lfmEmbed object {float:left;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmConfig a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat 0px 0 !important;;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmView a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -85px 0 !important;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmPopup a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -159px 0 !important;}</style>
<table class="lfmWidget20070629000838" cellpadding="0" cellspacing="0" border="0" style="width:184px;"><tr class="lfmHead"><td><a title="ant2oo4: Weekly Top Artists" href="http://www.last.fm/user/ant2oo4/charts/?charttype=weekly&subtype=artist" target="_blank" style="display:block;overflow:hidden;height:20px;width:18 4px;background:url(http://panther1.last.fm/widgets/images/en/header/chart/weeklyartists_regular_grey.png) no-repeat 0 -20px;text-decoration:none;"></a></td></tr><tr class="lfmEmbed"><td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="184" height="140" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab%23version=7,0,0,0" style="float:left;"><param name="bgcolor" value="999999" /><param name="movie" value="http://panther1.last.fm/widgets/chart/9.swf" /><param name="quality" value="high" /><param name="allowScriptAccess" value="sameDomain" /><param name="FlashVars" value="type=weeklyartistchart&user=ant2oo4&theme=grey&lan g=en" /><embed src="http://panther1.last.fm/widgets/chart/9.swf" type="application/x-shockwave-flash" name="widgetPlayer" bgcolor="999999" width="184" height="140" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="type=weeklyartistchart&user=ant2oo4&theme=grey&lan g=en" allowScriptAccess="sameDomain"></embed></object></td></tr><tr class="lfmFoot"><td style="background:url(http://panther1.last.fm/widgets/images/footer_bg/grey.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:184px;"><tr><td class="lfmConfig"><a href="http://www.last.fm/widgets/?widget=chart&colour=grey&chartType=weeklyartists& user=ant2oo4&chartFriends=&from=code" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20 px;float:right;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat 0px -20px;text-decoration:none;"></a></td><td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/ant2oo4/" title="View ant2oo4's profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20 px;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -85px -20px;text-decoration:none;"></a></td><td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?widget=chart&colour=grey&chartType=weeklyartists& user=ant2oo4&chartFriends=&from=code&resize=1" title="Load this chart in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20 px;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&resize=0','lfm_popup','height=240,width=234,resi zable=yes,scrollbars=yes'); return false;"></a></td></tr></table></td></tr></table>
so, i think that i need to create a floating div element with the above code inside, setting the x&y position to just under the music player
so far i've tried:
<div style="position:relative; top:100px;
margin-left:400px;"> widget code </div>
but it just gets stuck inside the white box containing my friends and comments... i think this is because that box is a div itself and i'm putting the code underneath that code
i've tried putting it above the comments div but it gets stuck behind the main bit of the profile... the same thing happening if i put it above all of the code in the layout
sooooo... i know this is probably a long shot, but does anyone know what else i can try?
doesn't matter, sorted it out... somehow
and i want to put a last.fm widget right under the music player on the right
the code for the widget is this:
<style type="text/css">table.lfmWidget20070629000838 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidget20070629000838 tr.lfmHead a:hover {background:url(http://panther1.last.fm/widgets/images/en/header/chart/weeklyartists_regular_grey.png) no-repeat 0 0 !important;}table.lfmWidget20070629000838 tr.lfmEmbed object {float:left;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmConfig a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat 0px 0 !important;;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmView a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -85px 0 !important;}table.lfmWidget20070629000838 tr.lfmFoot td.lfmPopup a:hover {background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -159px 0 !important;}</style>
<table class="lfmWidget20070629000838" cellpadding="0" cellspacing="0" border="0" style="width:184px;"><tr class="lfmHead"><td><a title="ant2oo4: Weekly Top Artists" href="http://www.last.fm/user/ant2oo4/charts/?charttype=weekly&subtype=artist" target="_blank" style="display:block;overflow:hidden;height:20px;width:18 4px;background:url(http://panther1.last.fm/widgets/images/en/header/chart/weeklyartists_regular_grey.png) no-repeat 0 -20px;text-decoration:none;"></a></td></tr><tr class="lfmEmbed"><td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="184" height="140" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab%23version=7,0,0,0" style="float:left;"><param name="bgcolor" value="999999" /><param name="movie" value="http://panther1.last.fm/widgets/chart/9.swf" /><param name="quality" value="high" /><param name="allowScriptAccess" value="sameDomain" /><param name="FlashVars" value="type=weeklyartistchart&user=ant2oo4&theme=grey&lan g=en" /><embed src="http://panther1.last.fm/widgets/chart/9.swf" type="application/x-shockwave-flash" name="widgetPlayer" bgcolor="999999" width="184" height="140" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="type=weeklyartistchart&user=ant2oo4&theme=grey&lan g=en" allowScriptAccess="sameDomain"></embed></object></td></tr><tr class="lfmFoot"><td style="background:url(http://panther1.last.fm/widgets/images/footer_bg/grey.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:184px;"><tr><td class="lfmConfig"><a href="http://www.last.fm/widgets/?widget=chart&colour=grey&chartType=weeklyartists& user=ant2oo4&chartFriends=&from=code" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20 px;float:right;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat 0px -20px;text-decoration:none;"></a></td><td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/ant2oo4/" title="View ant2oo4's profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20 px;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -85px -20px;text-decoration:none;"></a></td><td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?widget=chart&colour=grey&chartType=weeklyartists& user=ant2oo4&chartFriends=&from=code&resize=1" title="Load this chart in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20 px;background:url(http://panther1.last.fm/widgets/images/en/footer/grey.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&resize=0','lfm_popup','height=240,width=234,resi zable=yes,scrollbars=yes'); return false;"></a></td></tr></table></td></tr></table>
so, i think that i need to create a floating div element with the above code inside, setting the x&y position to just under the music player
so far i've tried:
<div style="position:relative; top:100px;
margin-left:400px;"> widget code </div>
but it just gets stuck inside the white box containing my friends and comments... i think this is because that box is a div itself and i'm putting the code underneath that code
i've tried putting it above the comments div but it gets stuck behind the main bit of the profile... the same thing happening if i put it above all of the code in the layout
sooooo... i know this is probably a long shot, but does anyone know what else i can try?
doesn't matter, sorted it out... somehow