.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

swfObject moves my DIV ?

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
Hey,I have my website css exported from Adobe Fireworks CS5here is the CSS id:#etPlayerDiv { margin-left: 160px; margin-top: 1px; display: inline; float: left; margin-bottom: 0; border: 1px solid #ccc; width: 640px; padding-top: 0px; height: 385px; text-align:center; }the div is in the perfect place.Now when im using SWFObject to put an swf inside the DIV, all the website goes wrong.The div go to the left and everything goes one line below..I Tried this:#etPlayerDiv object, #etPlayerDiv embed { position:relative; width:100%; height:100%; }But nothing...Any ideas?

View Complete Post

More Related Resource Links

How to determine when focus moves into a RowDetails panel in a DataGrid?

Is there a recommended way of determining when focus moves from the selected row into the details panel and knowing which field the focus is on? I don't really want to wire up all the controls in the panel, so am looking for a better way - all suggestions appreciated:-)

When I click on a TextBox the text moves a little bit for Vertical Alignment

I have a Grid of text boxes defined in the XAML using the following code:         <Border Grid.Row="2" Grid.Column="11" Style="{StaticResource BorderStyleContent}" >             <TextBox Text="-15.11" Style="{StaticResource EditableTextBox}"/>         </Border> The styles are defined below:         <Style x:Key="BorderStyleContent" TargetType="Border">             <Setter Property="BorderBrush" Value="Black"/>             <Setter Property="BorderThickness" Value="1"/>             <Setter Property="Padding" Value="2"/>             <Setter Property="SnapsToDevicePixels" Value="True"/>         </Style>         <Style x:Key="EditableTextBox" TargetType="TextBox">         &nb

Cross browser Javascript Help ! (SWFObject)


Hey i have this JavaScript code:

function loadPlayer() {
	var params = {};
	params.allowScriptAccess = "always";
	params.wmode = "opaque";
	var atts = { id: "etPlayer", name: "etPlayer" };
	swfobject.embedSWF("etPlayer.swf", "etPlayerDiv", "640", "385", "10", "playerProductInstall.swf", null, params, atts);

function onetPlayerReady(playerId) {
	if (playerId && playerId != 'undefined') {
		etPlayer = document.getElementById('etPlayer');
		setInterval(updatePlayerInfo, 0.1);
		etPlayer.addEventListener('onStateChange', 'onPlayerStateChange');
		etPlayer.addEventListener('onError', 'onPlayerError');

function updatePlayerInfo() {
	// Also check that at least one function exists since when IE unloads the
	// page, it will destroy the SWF before clearing the interval.
	//alert("updatePlayerInfo() " + etPlayer); //returns updatePlayerInfo() [object]
	if (etPlayer && etPlayer.getDuration()) {
		if (gup("id") == "RSpfTbxXaf0") {
			if (etPlayer.getCurrentTime() >= 11.90 && etPlayer.getCurrentTime() <= 12.00) {

Sometimes focus moves to first tab in TabControl when closed a dialog in another app domain


Hi everyone,

I have a strange and challenging problem. I have a TabControl with two tabs. When second tab is shown, users could open a dialog with a mouse click. However, this dialog is in another app domain because of some reasons. When users close the dialog, sometimes the focus moves to the first tab, it causes that second tab is hidden and the first tab is shown.

Any help are highly appreciated.

Best regards,

Workflow that moves item from one library to another, with condition: 1 year old.


I have Sharepoint 2007, and i now want to make a workflow that moves one year old item from one library to another, so that the old documents do not show in search. I have made the workflow, but i cannot see how i can set the condition that IF the item is older that ONE YEAR, it will be moved to another library.

I want to do this so that I can keep my old news-item not showing in search results.

If someone have other suggestion (besides workflow) to keep old items out from search results, I would appreciate tips :)



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend