I'm currently working on a little product display page that loads prettyPhoto-enabled galleries through ajax. The problem is, prettyPhoto doesn't work on the images added after the page loads initially. I understand that I need to re-initialize prettyPhoto after the new content loads, but how? I've tried adding prettyPhoto.init(); to the...
I need to add dynamic controls and get its values in my asp.net mvc (C#) application using jquery.
On click of button, i need to add specific dynamic controls, enter the values and pass its values on clicking submit button using jquery.
For ex.: In Create Event of Google Calendar, we can add multiple options for reminder. Like that i n...
Hello,
I've a really small website, so I usually update the sitemap by hand!
In each "url" element there are the fields: loc, lastmod, changefreq and priority.
The "lastmod" field is setup to the date in witch I update the content of the related PHP page or the content that is loaded dynamically in the related PHP page!
I've tried to...
I'm creating an HTML/JavaScript widget to be used on third-party sites. This widget is generated by a <script> that our customers will insert on their page. The <script> creates an <iframe> in the customer's domain, and then creates and inserts all of that <iframe>'s content using JavaScript.
It's important that this <iframe> contain Cl...
So I'm creating columns dynamically for a Grid layout in Silverlight (V3.0, C#):
LayoutRoot.ColumnDefinitions.Add(new ColumnDefinition());
and you can specific that the width of the column be "auto" with
LayoutRoot.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
But how to you set it to be "*" (share with...
Set content of table
...
ViewState["Table1"] = Table1; // When remove this line, table is seen on the page.
...
What should I do, urgent please.
...
I'm attempting to create an <iframe> using JavaScript, then append a <script> element to that <iframe>, which I want to run in the context of the <iframe>d document.
Unfortunately, it seems I'm doing something wrong - my JavaScript appears to execute successfully, but the context of the <script> is the parent page, not the <iframe>d doc...
So I want to be able to add/remove class methods at runtime. Before you tell me that's horrible pratice in oop, it might be, but I don't really care. The reason I want to be able to do this is because I want the application to be very modular, so some plugin could extend some base class and add methods to it without killing the the main ...
Hi dudes,
I have this array:
const / var
_Data : array [0..4] of array [0..3] of Double =
((0,0,0,0),
(0,0,1,1),
(1,0,1,0),
(1,1,0,0),
(1,1,1,1));
I wanna pass it as param value for this procedure:
procedure NN.NetTraining(Data: TDoubleMatrix);
Where:
TDoubleArray = array of Double;
TDoubleMatri...
Hi,
I'm developing a little portfolio where I can choose a category and when I click it, the content (thumbnails) of that category will be shown (this is via an array).
e.g.
photography[0] = <a href="..." rel="lightbox" /><img ... /></a>
photography[1] = <a href="..." rel="lightbox" /><img ... /></a>
At first the site shows the c...
I've got a generic method TResult Foo<TSource, TResult>(IEnumerable<TSource> source) and if TResult is declared as dynamic I want to execute a different code path than for other type declarations.
For regular types you can do stuff like:
if (typeof(TResult) == typeof(int))
return ExpressionFactory.CreateExpandoFunction<TSource, TRe...
/^[a-d][a-d]*(?:_[a-d]+)*$/
I'm using the above regex in jquery where I call it on every keypress on an input field. It works exactly as intended which is a problem because I'm running a dynamic update too. You can tell for yourself what it does, but the point here is the underscore _. It's meant to be followed by a character a-d and t...
I need to find a way to write a program (in any language) that will connect to a website and read dynamically generated data from the website.
Note that it's dynamically generated--it's not enough to get the source html, because the data I'm interested in is generated via javascript that references back-end code. So when i view the webp...
is it possible to do dynamic programming in monodevelop for developing iphone applications using .net
...
Hi everyone,
I hope you can help.
I'm very new to jQuery and am working on a five- or six-level accordion menu for my side navigation. I got the majority of the code I have so far from Dane Peterson @ daneomatic.com (thanks Dane!). But, I'm stuck on one thing:
I'd like to have my accordion/tree work like this:
When I navigate down int...
Actually I am looking for something like this:
u alter the table in db (say u increase one column); it should be reflected in the front end wihtout hardcoding the mapping file...
thanks for help..
...
I am creating a dynamic table control with ASP.NET/C# and the table is being used to hold a form. I need to allow users to click on a button in a row and make a duplicate of that row right below the original. My page is also using AJAX and jQuery.
I have tried to use Table.Rows.AddAt(indexoforigrow+1, newrow) but I get an error that ...
I've a Web site with hundreds of html pages that are already deployed. Now I want to add event listeners to body such as onload and onunload in all the html pages. I don't want to manually change each of every of them, so I'm thinking whether I could dynamically add these listeners. My idea is to write javascript code that finds the DOM ...
Can't define (?) operator overload on type:
type Foo =
val s : string
new(s) = { s = s }
static member (?) (foo : Foo, name : string) = foo.s + name
let foo = Foo("hello, ")
let hw = foo? world
// error FS0043: The member or object constructor 'op_Dynamic'
// takes 2 argument(s) but is here given 1. The required signat...
Hello,
I am developing a user control in wpf where I need to set eclipse background color as per value in database. Now that field contains values between 1 to 6.
now I want that according to values in of that field my eclipse should have different color.
I have defined 6 different brushes in resources. Their key values contain 1 to 6 n...