I have a list structured like below:
<ul class='binder'>
<li value='7'>Welcome
<ul class='section'>
<li value='7'>Introduction
<ul class='subsection'>
<li value='4'>About Us
<ul class='node'>
<li value='11'>2</span>
<ul class='element'>
<li value = '8' class='paragraph'>Test Paragraph</li></ul>
<li value='10' id='node_10'>1
<ul ...
I am currently exploring a bug in the template used on http://www.ecovivo.be/rubriek/food.
Problem:
When visiting the link you will notice a large floating image with content on the right. Now this all works fine. But upon activating list-style-type, the list images/numbers clip with the image whereas the text gets properly escaped. No...
Hey,
my friend and i develop a Android programm.
Now we got to the question if it's possible to get the actual position of an ListElement.
Example: You drag the list up and down, and now you want to konw which element is on the center of the screen?
can anyone help us?
...
Hi All
I've had a bit of a problem trying to bind a generic list to a repeater. The type used in the generic list is actually a struct.
I've built a basic example below:
struct Fruit
{
public string FruitName;
public string Price; // string for simplicity.
}
protected void Page_Load(object sender, EventArgs e)
{
List...
I have two Python lists of dictionaries, entries9 and entries10. I want to compare the items and write joint items to a new list called joint_items. I also want to save the unmatched items to two new lists, unmatched_items_9 and unmatched_items_10.
This is my code. Getting the joint_items and unmatched_items_9 (in the outer list) is qui...
Hello. I have problem with a css menu. It is correct on firefox,chrome,opera,safari and ie8. But not on ie7. You can find the menu here. You can see that every li in the submenu is not shown correctly, it breaks below it. How can I fix it? (I hate ie...).
Thanks in advanced.
...
How can I put my created graphic codes on the paint event?
I'm having troubles displaying It to the paint. I tried to add Points to a List but the lines I have drawn are merging.
Help!
Here's the code:
private Point _ps = new Point();
private Point _pe = new Point();
private TransparentPanel _thispan;
private Rectangle _SelectRect;
pri...
Hi,
In SharePoint 2010 for XSLT List View Web Part you can assign different styles using SharePoint Designer. For example "Basic Table", "Boxed" or "Shaded" etc. These styles just don't fit my needs. So my question is how can I create my own View Style which I can apply to any list?
I came across "Customize XSLT > Customize Entire V...
Hi,
I have a data object that is bound to a Report. In this object I have a List object that I am parsing a CSV file into for use in a chart. The binding to all the other items in my data object works fine, I can see them in my data sources browser, but the List object is another story. I only see the properties a List object exposes in...
I have a UL list in a ASPX page:
<ul id="tabs">
<li id="tab1"><a href="ztab1.htm">Tab 1</a></li>
<li id="tab2"><a href="ztab2.htm">Tab 2</a></li>
<li id="tab3"><a href="ztab3.htm">Tab 3</a></li>
<li id="tab4"><a href="ztab4.htm">Tab 4</a></li>
</ul>
I would like to add list items dynamically from codebehind, including the href e...
Hi Everyone,
I want to be able to loop over a list and return a single row where all the list elements have matched.
e.g.
lest say my list of id's is 1,2,3 I want to write an SQL statment that will do the following (without breaking).
SELECT id1
FROM TBL
WHERE 0=0
AND id2 = 1
AND id2 = 2
AND id2 = 3
Is this possible?
Thanks in adv...
I have a list that contains some interactive elements, including a custom textinput (Hillel Coren's FlowBox from his AutoComplete open source project). I'm trying to support drag and drop to reorder elements in the list for all of the other elements except for the FlowBox, but for the time-being I found a weird error that occurs when I d...
Hey All,
In some code I'm creating a List of Bytes, and want to insert an array of bytes into the list as I am building it. What is the cleanest way of doing this? See code below - thanks.
public class ListInsert {
public static byte[] getData() {
return new byte[]{0x01, 0x02, 0x03};
}
public static void main(Str...
Hi,
I have a list of elements like
<ol>
<li class="blah">some text <a href=#">test</a></li>
<li class="blah">some text <a href=#">test</a></li>
<li class="blah">some text <a href=#">test</a></li>
<li class="blah">some text <a href=#">test</a></li>
<li class="blah">some text <a href=#">test</a></li>
<li class="blah">some text <a href=#"...
I'm using a List in ASP.NET 3.5/C# to filter an existing list of dates (about 20 in total) on a specific month. So if a user selects a year of 2010 (ddlFromYear.SelectedItem.Text == 2010) then the returned list would consist of only 8 months because we only go up to August.
My question is - how do I output the DateTime as an int, or eve...
I have a List<> of objects containing two strings and a DateTime. I want to build another list of the same objects containing only the last unique items using the two strings as keys and the last DateTime value. In SQL think the following:
SELECT col1, col2, MAX(datetime) FROM table GROUP BY col1, col2
This gives the unique list of co...
Hey, I've a very funny problem. I have a very loong ul li a menu and want to have ONE item with different width and height.
The menu looks like this:
<ul id="nav">
<li id="smaller"><a href="#" id="smallerLink">The smallest item</a></li>
<li><a href="#">Another item</a></li>
<li><a href="#">Another item</a></li>
<li><a href="#">...
I am working with the Dashcode List element from the library and am trying to make a selection from within the program.
I have 2 lists binded to a datasource that gets requeried, which removes my selection from the lists. I am trying to keep the selection on the lists, so my current attempt to workaround the problem is to save the index...
I have a list in a Data Object in java which houses data retrieved from a database, be it multiple or single rows. I retrieve the List from the BO and dump it into a temporary list so that I can iterate over it to extract Data. When I just check the size of the list after doing the first assignment, everything is going on fine, but when ...
Simply put! there is this list say LST = [[12,1],[23,2],[16,3],[12,4],[14,5]] and i want to get all the minimum elements of this list according to its first element of the inside list. So for the above example the answer would be [12,1] and [12,4]. Is there any typical way in python of doing this?
Thanking you in advance.
...