Hi,
How to detect whether a DOM element is block or inline with javascript?
For example, is there a function/property which returns 'inline' for a 'a' tag?
Thank you.
I want to be able to determine if the web.config element
<compilation defaultLanguage="vb" debug="false" />
if the property is debug is set to true or false.
Public Shared Function isDebug() as Boolean
......
......
......
......
End sub
Thanks
Hi,
I'm getting this error when trying to restore an SSAS database from a backup:
The ddl2:MemberKeysUnique element at line 63, column 4862 (namespace http://schemas.microsoft.com/analysisservices/2003/engine/2) cannot appear under Load/ObjectDefinition/Dimension/Hierarchies/Hierarchy.
Google hasn't turned up any helpful solutions. (a lot of people found that installing SP2 made the error go away but this has always previously worked in our environment)
I don't really understand what the error means. Can somebody interpret or suggest a fix?
Thanks,
Phil
Hello!
I'm developing a Flash-only application and I want to integrate the flowplayer directly into it, but not on the webpage using some swfobject-like approach.
So, at some moment (for example, when arbitrary event fires), I would like to add the flowplayer object to the scene so that it starts streaming the specified video.
Does someone know if that is possible?
Would the following API (http://releases.flowplayer.org/apidoc-latest/index.html) help me somehow?
Thank you.
You have an array size n and a constant k (whatever)
You can assume the the array is of int type (although it could be of any type)
Describe an algorithm that finds if there is an element(s) that repeats itself at least n/k times... if there is return one. Do so in linear time (O(n))
The catch: do this algorithm (or even pseudo-code) using constant memory and running over the array only twice
$("div.square").droppable({
accept: '.white',
drop: function (event, ui)
{
$to = "#" + $(this).attr('id');
alert(to);
$.post(
"/Game/AddMove",
{
from: $from,
to: $to,
GameID: $("#gameID").val()
});
}
});
Well it's nor working. So I must ask, is it possible to call AJAX on droping some UI element ?
The problem is, it's not even calling an controller,
Without any extension library, is it possible to have multiple layers in the same canvas element?
So if I do a clearRect on the top layer, it will not erase the bottom one?
Thanks.
var phoneBookTableValue = [];
phoneBookTableValue.push({ "key":"1", "value":["3396,Accounting ,CCH,,,,","1"]});
phoneBookTableValue.push({ "key":"2", "value":["3284,Acute Care ,CCH,,,,","2"]});
phoneBookTableValue.push({ "key":"3", "value":["3265,Acute'Care East ,CCH,,,,","3"]});
When running the javascript file I get the error "missing ] after element list. Can U help me? PLZ!
Hi,
I was working on an application that streams live video using Flash client and Wowza media server.
As of now, I use an independent desktop based encoder(Flash Media Live Encoder) to publish my live stream.
I wanted to know if it is possible to do the encoding part in the browser? My application would be a used by many to publish their streams so I cannot ask everyone to use FMLE to publish.
I was wondering how do the other web based video chat applications do the encoding part over the web.
Please help.
Thanks
hi, I am getting this exception
Could not find schema information for the element 'class'
on line
Line 13: Predictive.DALUtility.Global.Configuration.AddAssembly("ReleaseDAL");
What can be the possible cause?
Thanks
Hi,
I have a class
Class MyObject
{
decimal v1;
decimal dv1;
decimal v2;
decimal dv2;
}
and a
List<MyObject> ...
I need to process every element of the list by adding dv1 to v1 and dv2 to v2
Something like (pseudo-syntax):
myList.Transform(o=>o.v1+=o.dv1, o.v2+=o.dv2)
How can I do this (obvious my pseudo-syntax doesn't works)?
Thank you
Hello all,
My question is quite simple,
I created a DIV, with a HyperLink control in it.
As following:
I created an 'onclick' event in jQuery for the DIV as well:
$('#divOne').click(function() {
alert('You clicked on the DIV element');
});
My goal is to trigger this event when the DIV area is clicked (working fine), BUT-
When the HyperLink is clicked, I need the page to redirect WITHOUT triggering the DIV 'onclick' event (can use JavaScript or jQuery as needed).
Thanks all!
What is the best way to allow for the adding of images and embedding of video in the body:text field of a Ruby on Rails blog.
I understand that I can use an attachment like Paperclip to add a photo to a record but I am wondering how to get images/vids into the actual body of the post.
I am attempting to locate the nth element of a List in Prolog. Here is the code I am attempting to use:
Cells = [OK, _, _, _, _, _] .
...
next_safe(_) :-
facing(CurrentDirection),
delta(CurrentDirection, Delta),
in_cell(OldLoc),
NewLoc is OldLoc + Delta,
nth1(NewLoc, Cells, SafetyIdentifier),
SafetyIdentifier = OK .
Basically, I am trying to check to see if a given cell is "OK" to move into. Am I missing something?
In Oracle, you can write:
update t
set xml = updateXML(xml, '/a/b/text()', 'gaga')
This works only if you already have some text in the <b> element. How to update the document and "add some text" in <b> if the document in the database looks like:
<a>
<b/>
</a>
here how it's goes:
You have an array size n and a constant k (whatever)
you can assume the the array of int type tho it kind be of whatever type but just for the clearane let assume it's an integer.
Describe an algorithm that finds if there is an element/s that repeat itself at least n/k times... if there is return one - do it in linear time running O(n)
Imortent:
now the catch do this algorithm or even pseuo-code using a constant usage of memory and running over the array only TWICE!!!
hello!
i'm looking for a proper way of placing popup div-elemnt in the center of current view area.
for example: we have some div element with {display:none; position:absolute} and few buttons, one on the top of document, second in the center and last one, somewhere in the bottom. By clicking on any of this button, div should appear in the center of current viewing area
$(".btnClass").click(function(){
//some actions for positioning here
$(div_id).show()
})
HI,
does anybody know if there's any option to show a real progress bar in my web site, when uploading a video to youtube using their API? I believe that in order to do so , I would need to have the option to make ajax calls during the upload to get the state of the upload. am I right? and if I am, do you know if that's possible and how?
Please, I am not a programmer, all I want to do is use iframes on my wordpress blog which is validating as xhtml 1.1.
If I use the iframe I am not validating. I get the error element "iframe" undefined
Amazon.com, widgets and astore links all come as framesets or iframes. Can someone help me please.
I have written a jquery-ui widget using the Widget Factory...
I need to be able to determine in code whether the element is already a widget or not...
My investmentGrid widget is created on #container with
$('#container').investmentGrid()
I need to be able to determine elsewhere in the code if $('#container') is already an investmentGrid