Hello
Hopefully someone may be able to quickly advise the best way for me to model my ERD (I'm using IDEF1X & ERWin not Chen Notation) although it doesn't really matter.
Basically I have Three Entities
Organisation
Person
Trustee
Business rules state that a Trustee can be either a person or organisation.
My question is, would i...
Ok so I have a span with a background that is positioned in the left side, and a 20px padding-left to keep text from being rendered on top of the image... pretty standard.
I also set white-space:nowrap on the span to stop the line from wrapping.
The span is in a div about 200px wide. If the text in the span is long enough to exceed the...
Iam using the date picker in the insert functionallity in the footer of gridview in asp.net. The effect of the update panel for the date picker is seen only in IE. But in the Mozilla and Chrome browser the whole page refreshes, and the calander is not seen.
Code that works for IE well but not for Mozilla and Chrom browsers.
...
I am newbie to Address book programming. I want to retrieve all email id's from address book.The issue is below code gets the all data for one record(one person). but When i add more than one contact in address book. it crushes without showing any exception.
Any suggestions? Thanks in advance.
self.pastUrls = [[NSMutableArray alloc]...
I have a weird problem. Every time i execute this query in php i get the output "Challenge" even if the query is empty (should get "emptyq" if empty) when i test it in phpmyadmin everything is great and query is empty when it should be. I also tried to echo $detectChallengeRes[0][1] and got nothing. I cant find the problem, any help is v...
I'd like to do search animation like on twitter.com
It means that when the user put the cursor over one element some other will be animated also.
I try to do it in that way:
$(".classinput").mouseover(function(){
$(this).animate({
opacity: 1,
});
}).mouseleave(function(){
$(this).animate({
opacity: 0...
Hi,
I let my members of my website to post some information about them in textarea. I use function nl2br to be it more prettier, smth like that:
$text_of_area = nl2br($_POST['text_area_name']); //yeah, of course i use functions against xss, sql injection attacks
mysql_query("..."); //here I insert a text
But here is problem. I ...
guys,,
need help here. i have an app that completely works on iPhone (ios 4) and iPod touch. but when i try on iPad i got this Log error message :
-[UIImageView _cleanUpCrossView]: unrecognized selector sent to instance 0x2e7760
CoreAnimation: ignoring exception:-[UIImageView _cleanUpCrossView]: unrecognized selector sent to instance 0...
Hi, i have a simple activity with a linearlayout and a scrollview. Dynamically i add a tablerow with one textview and a button. But when i launch app scrollview doesn't contain all tablerow... infact the first is "this is a text - 3 -" Rows from 1 to 3 are cut off from screen!
this is java code :
int contatore = 0;
final...
I a have the following datamapper ressource :
class Job
include DataMapper::Resource
storage_names[:default] = 'job'
property :id, Serial
property :at, Integer, :required => true, :min => 0
property :name, Float, :required => true, :default => 0
property :cpu, Float, :required => true, ...
Hello all..
I have this problem with my code, the page is redirecting and wouldn't stop.. The browser stop it because it's redirecting all the time, and I have a global.php file that included in all php pages, so I putted this code for the session and it went like what I said
if (!session_is_registered('username')) {
if(!eregi('log...
I've put this information into a pastie, but repeated it here (pastie link http://pastie.org/private/4vprzwhllqv35egrf8jzwg )
The problem showed up in my own project, but I have no idea what i'm doing wrong: here's the full output:
$ rake test
(in /Users/me/Projects/version-three)
/Users/me/.rvm/rubies/ruby-1.9.2-rc2/bin/ruby -I"lib:...
I'm working on a project and i need to use multiple html pages to interact with my code
like:
viewing index.html first:-
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, template_values))
and then when i press the sign out button the program should view this page:-
path = o...
Hi,
i use Jammit to pack all the .css and .js files in my project
I faced a strange problem, that really confused me...
When Jammit deals with .css, it kills some css rules.
The rules:
background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #111111), color-stop(1, #303030) );
background-image: -moz-linear-g...
i have a query to fetch 100 rows of events ordered by timestamp. i want to ignore top 2 entries from the result set. The problem is that there is no criteria match (simply to ignore first 2 rows).
i am using pager (drupal) which results 10 events per page. If i process it after fetching 10 rows i lost 2 entries (first page contains onl...
Hi,
I am trying to install Django on Windows XP. Here is what I did:
(1) Downloaded and installed Python 2.7 from
http://python.org/ftp/python/2.7/python-2.7.msi
in C:\Python27
(2) Downloaded Django 1.2.1 from
http://www.djangoproject.com/download/1.2.1/tarball/
(3). After unzipping the file I placed Django's folder ...
Now I didn't do the website design but a couple of months ago I ported an existing website over to wordpress for a client of mine.
I got a call from a client today regarding their website, and some sort of a security problem.
The websites homepage loads up fine, but if you try to navigate to any other page it brings you to - http://sec...
Dear all,
After hours of debugging, I have to ask some help...
I try to make this work on IE : http://ferc.noisy.ch/professionnels-plan.html (user and pwd : ferc)
It works fine with FF, but with IE6/7/8 I have the following message :
Line:133
Character: 18
Error : invalid argument
After some investigation, I found that the problem ...
Hello,
I want to test if an object is deleted after a calling to my function executeDelete in order to send to the user an error if the object is still in my database.
if ($logement->isDeleted()) {
$this->getUser()->setFlash('notice', 'Suppression du logement effectuée');
}
else {
$this->getUser()->setFlash('error', 'Erreur lors de...
This is my 960 grid system case:
<div class="kundregister_grid_full">
<div class="kundregister_grid_1">ID</div>
<div class="kundregister_grid_1">Namn</div>
<div class="kundregister_grid_1">Anv.Namn</div>
<div class="kundregister_grid_1">Email</div>
<div class="kundregister_grid_1">Roll</div>
<div class="kundregister_grid_1">Aktiv<...