Sunday, 1 September 2013

li:hover doesn't get triggered

li:hover doesn't get triggered

I haven't done this in a long time and I looked it up aswell but when I
hover over an li I expect its child UL to open up (display), but it isn't:
<nav>
<ul>
<li><a href="#">Products&nbsp;<img
src="~/Shared/Assets/Images/LIItemArrow.png" /></a>
<ul>
<li>Hi</li>
</ul>
</li>
<li><a href="#">Services&nbsp;<img
src="~/Shared/Assets/Images/LIItemArrow.png" /></a></li>
<li><a href="#">Shop&nbsp;<img
src="~/Shared/Assets/Images/LIItemArrow.png" /></a></li>
</ul>
</nav>
CSS:
ul li ul { display: none; }
ul li:hover > ul {
display: block;
}
According to the several articles I looked up, I believe that I'm doing
this right, so why won't this work?

how to see the coverage for a whole plugin where both junit and swtbot test casesvhave been written

how to see the coverage for a whole plugin where both junit and swtbot
test casesvhave been written

I have a eclipse plugin for which both junit snd swtbot test cases have
been written… a test suite for junit runs all test cases as junit plugin…
test and coverage could be seen… in the same way swtbot test cases could
be run as swtbot test and coverage could be seen… but these do not include
coverage on…whole plugin… . how can I have one test suite that runs junit
test cases as junit test and swtbot test cases as swtbot test… and give
coverage for whole plugin…

Targeting objects in AS3

Targeting objects in AS3

I am wondering how to target specific objects/instances in flash as3. I
have 2 objects on the stage, for now we'll call them obj1 and obj2 (with
instance names). I am trying to have ob1's rotation speed based on obj2's
y position. I want to place the code inside of obj1 so I figured if I
wanted to target obj2 from inside obj1 I'd just use something like
this.rotation = this.obj2.y / 10; but for some reason the thing just keeps
it's rotation still. I used the "Target" button at the top of the native
code editor but it still gave me the same this.obj2. Any ideas? Thanks in
advance.

Saturday, 31 August 2013

Differnece Between VGA Compatible Text Mode and Graphics Modes vs Modern Graphics Hardware

Differnece Between VGA Compatible Text Mode and Graphics Modes vs Modern
Graphics Hardware

I am under the assumption that modern graphics hardware for "somewhat"
modern PCs can be implemented in many different ways. Thus, the questions
in this post might not have specific answers. General explanations to the
questions below about the differences between "VGA-compatible text mode
and graphics modes" and "modern graphics hardware" will suffice.
Q1: Are the addresses (see below) used by VGA-compatible text mode and
graphics modes different from those used by modern graphics hardware?
Assuming this to be true, what are the general techniques for obtaining
this new address on a given piece of modern graphics hardware?
0xA0000 for EGA/VGA graphics modes (64 KB)
0xB0000 for monochrome text mode (32 KB)
0xB8000 for color text mode and CGA-compatible graphics modes (32 KB)
Q2: How do modern operating systems (e.g. Linux, Windows, and Macs) obtain
better resolutions than that offered by VGA-compatible text Mode and
graphics modes given the lack of modern graphics hardware?
Definitions:
Modern Graphics Hardware: Any discrete or on board device that provides
for possible higher screen resolutions. Eg. Intel's on-board graphics
chips or an ATI/NVIDIA discrete graphics card.
References: http://en.wikipedia.org/wiki/Video_Graphics_Array

Why is my FlexSlider acting weird?

Why is my FlexSlider acting weird?

When you hover over the slide to see the arrows, they show up screwed up.
What's going on...?
http://shopmoonfall.bigcartel.com/

android manifest application 3 errors detected

android manifest application 3 errors detected

I am trying to build a mobile app for android,using ADT,and i get a weird
error for AndroidManifest.xml,it says that are actually 3 errors
detected,in 'Application' tab.
Below is the content of the manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.example.mfc"
android:versionCode="1"
android:versionName="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<uses-permission
android:name="android.permission.INTERNET"></uses-permission>
<application> <activity android:name="Home"
android:label="@string/app_name"></activity></application>
</manifest>
Can anyone tell me which is the issue?

add aocolumns with $.parseJson() datatables.js

add aocolumns with $.parseJson() datatables.js

I need a little of help here.
I need to fill a table with json from the server, the aaData and
aoColumns, but the thing is that I need a column with a button.
I have this code
$('#divGrid').html('<table cellpadding="0" cellspacing="0"
border="0" class="display" id="example"></table>');
var results=result.split('@_@');
$('#example').dataTable({
"aaData": $.parseJSON(results[0]) ,
, "aoColumns": $.parseJSON(results[1])
});
}
my results are
results[0]="[["jpa","SI","","","","PADILLA",1],["sid","SI","","","","MIRAMONTES",2]]"
results[1]=[{"sTitle":"UserName"},{"sTitle":"ID_CENTRO_TRABAJO"},{"sTitle":"rolName"},{"sTitle":"dominio"},{"sTitle":"recibeAlertas"},{"sTitle":"NOMBRE"},{"sTitle":"edit",
"fnRender": 'function(obj){ return '<input type='button' name='hola'
value='Play'></input>';}'}]"
but my console is clean, no errors are throw. The value apperas but the
button is not.
thanks for any help