text:
Customize your JAMA Network experience by selecting one or more topics from the list below.
Polanczyk G, Moffitt TE, Arseneault L, et al. Etiological and Clinical Features of Childhood Psychotic Symptoms: Results From a Birth Cohort. Arch Gen Psychiatry. 2010;67(4):328–338. doi:10.1001/archgenpsychiatry.2010.14
© 2020
It has been reported that childhood psychotic symptoms are common in the general population and may signal neurodevelopmental processes that lead to schizophrenia. However, it is not clear whether these symptoms are associated with the same extensive risk factors established for adult schizophrenia.
To examine the construct validity of children's self-reported psychotic symptoms by testing whether these symptoms share the risk factors and clinical features of adult schizophrenia.
Prospective, longitudinal cohort study of a nationally representative birth cohort in Great Britain.
A total of 2232 twelve-year-old children followed up since age 5 years (retention, 96%).
Main Outcome Measure
Children's self-reported hallucinations and delusions.
Children's psychotic symptoms are familial and heritable and are associated with social risk factors (eg, urbanicity); cognitive impairments at age 5; home-rearing risk factors (eg, maternal expressed emotion); behavioral, emotional, and educational problems at age 5; and comorbid conditions, including self-harm.
The results provide a comprehensive picture of the construct validity of children's self-reported psychotic symptoms. For researchers, the findings indicate that children who have psychotic symptoms can be recruited for neuroscience research to determine the pathogenesis of schizophrenia. For clinicians, the findings indicate that psychotic symptoms in childhood are often a marker of an impaired developmental process and should be actively assessed.
What does it mean when a child reports experiencing hallucinations or delusions? Increasing interest in this question has been stimulated by reports that hallucinations and delusions occur among children in the community who do not have childhood schizophrenia, that preadolescent children are able to self-report these symptoms, and that groups of such children followed up to adulthood have an elevated prevalence of diagnosed psychotic illness.1-6 However, the clinical and theoretical significance of their symptoms is not yet clear. From a clinical perspective, it is important to know whether these children are typically characterized by particular risk contexts or clinical features that ought to be a focus of treatment. From a theoretical perspective, it is important to know how the phenomenon of childhood psychotic symptoms fits into the field's current understanding of the origins of schizophrenia and whether children with such symptoms ought to be a focus of etiological research. Thus, we undertook a study to test whether children reporting hallucinations or delusions share the same risk correlates as adults who meet full diagnostic criteria for schizophrenia.
Two important literatures are relevant to determining the meaning of childhood hallucinations and delusions: the literature testing the neurodevelopmental theory of schizophrenia and the literature documenting the presence of psychotic symptoms in the population.
The neurodevelopmental theory of schizophrenia is relevant because it has directed scientific attention to the origins of schizophrenia in early life, many years before the illness can be diagnosed.7 Evidence from different methodological perspectives documents that individuals who later develop schizophrenia exhibited neurodevelopmental deficits as children.7 Abnormalities in behavioral, emotional, social, cognitive, and motor development and in neuroanatomy have been reported.8-10 These deficits are thought to signal the starting point of a risk pathway in which the endpoint is a nonaffective psychotic disorder, depending on genetic, perinatal, and environmental inputs.9,11 However, the neurodevelopmental theory has not emphasized the emergence during childhood of positive symptoms, such as hallucinations or delusions, and it is unknown whether or how such symptoms should be incorporated into the theory alongside other childhood neurodevelopmental risks.
The dimensional model of schizophrenia is relevant because it has directed scientific attention to the existence of psychotic symptoms in the general population, below the threshold for diagnosis of the illness.12 Subdiagnostic symptoms are common in the general population of adults,13-15 and evidence suggests that such symptoms are associated with the same genetic and nongenetic risk factors as the clinical disorder.15-17 Subdiagnostic symptoms are thought to signal the mild end of a risk continuum for which schizophrenia or psychotic disorder is the extreme point.15,17 As in neurodevelopmental theory, progression from symptoms to clinical disorder is not necessarily inevitable and likely depends on inherited susceptibility and exposure to environmental risks during development.15 However, the dimensional model has focused on symptoms during adulthood and has not emphasized the existence of symptoms during childhood. It is unknown whether or how such childhood symptoms should be incorporated into dimensional approaches.
These 2 relevant literatures suggested to us the possibility that psychotic symptoms in childhood signal neurodevelopmental processes that are already known to lead to schizophrenia and that childhood symptoms are part of the dimension of schizophrenia risk. Our research team previously reported that members of the Dunedin (New Zealand) Longitudinal Study birth cohort who self-reported psychotic symptoms at age 11 years had an elevated risk of developing schizophreniform disorders by age 26 (odds ratio, 16.4; 95% confidence interval, 3.9-67.8),1 results which have been subsequently replicated.3 This finding was consistent with the possibility that childhood psychotic symptoms signal neurodevelopmental processes that increase the risk for schizophrenia onset in adolescence or adulthood. Corroborating this hypothesis, our research team later reported that children in the Dunedin cohort with psychotic symptoms also showed significant impairments during childhood in motor development, language, and intelligence, skills that are often impaired among individuals who develop schizophrenia.18 Other studies have evaluated individual correlates, including perinatal complications,19 paternal age,20 low IQ,21 childhood trauma,22 peer victimization,2 and behavioral problems.23
In this study, we extend this previous work by testing the hypothesis that children who report psychotic symptoms are characterized by the same extensive network of risk factors and correlates previously reported in the research literature on adult schizophrenia. We evaluated the occurrence of psychotic symptoms in a nationally representative British twin birth cohort of 2232 twelve-year-olds. Guided by the research literature on schizophrenia,8,24-27 we tested 7 hypotheses. First, we evaluated whether, like schizophrenia, childhood psychotic symptoms are familial by testing whether children with symptoms were more likely to have mothers with psychotic-spectrum disorders and family members who had been admitted to psychiatric units or who had attempted or completed suicide.28 Second, we evaluated whether, as with schizophrenia, children's self-reported psychotic symptoms are heritable29 by using the twin design to estimate the genetic contribution to variation in children's symptoms. Third, we evaluated whether children with psychotic symptoms shared schizophrenia's social risk factors by testing whether these children were more likely to live in an urban environment30 and come from disadvantaged families.31 Fourth, we evaluated whether children with psychotic symptoms shared schizophrenia's neurodevelopmental risk factors by testing whether these children had older fathers,32 were born during winter or spring,33 had lower birth weight,34,35 suffered perinatal complications,36 or had cognitive characteristics including low IQ,37 executive functioning deficits,38,39 and impaired theory of mind.40,41 Fifth, we evaluated whether children with psychotic symptoms shared schizophrenia's home-rearing risk factors by testing whether these children had mothers with high expressed emotion,42 lived in chaotic households,27,43 or had been victims of physical maltreatment.44-46 Sixth, we evaluated schizophrenia's early-childhood behavioral risk factors8 by testing whether 12-year-olds with psychotic symptoms had, as 5-year-olds, shown externalizing and internalizing problems, social isolation,10 or educational problems.10 Seventh, we evaluated schizophrenia's comorbid conditions by testing whether children with psychotic symptoms self-reported more concurrent antisocial behavior,24 depression and anxiety symptoms,24 and tobacco use47 and cannabis use48 and whether they were more likely to harm themselves.49
Participants were members of the Environmental Risk (E-Risk) Longitudinal Twin Study, which tracks the development of a nationally representative birth cohort of 2232 British children. The sample was drawn from a larger birth registry of twins born in England and Wales from 1994 through 1995.50 Details about the sample have been reported previously,51 including in this journal.52 Briefly, the E-Risk sample was constructed from 1999 through 2000, when 1116 families with same-sex 5-year-old twins (93% of those eligible) participated in home-visit assessments. Families were recruited to represent the United Kingdom population of families with newborns in the 1990s, based on residential location throughout England and Wales and mother's age (ie, older mothers having twins via assisted reproduction were underselected and teenaged mothers with twins were overselected). Follow-up home visits were conducted when the children were aged 7 years (98% participation), 10 years (96% participation), and, most recently, 12 years (96% participation). The sample includes 55% monozygotic and 45% dizygotic twin pairs. Sex is evenly distributed within zygosity (49% were boys). Parents gave informed consent and children gave assent. Confidentiality was preserved, and the child's general practitioner was notified only when a mother reported her child was a risk to self or others. The Maudsley Hospital Ethics Committee approved each phase of the study.
At age 12, children were assessed for psychotic symptoms in a private interview conducted by mental health trainees or professionals. Interviewers had no prior knowledge about the child. Different staff members interviewed the child's parents. We investigated 7 psychotic symptoms (Table 1). Our item choice was guided by the Dunedin Study age-11 interview protocol1 and a subsequent instrument prepared for the Avon Longitudinal Study of Parents and Children.2 Our protocol took a conservative approach to designating a child's report as a symptom. First, when a child endorsed any symptom, the interviewer probed using standard prompts designed to discriminate between experiences that were plausibly real (eg, "I was followed by a man after school") vs potential symptoms (eg, "I was followed by an angel who guards my spirit") and wrote down the child's narrative description of the experience. Interviewers coded each experience as "not a symptom" (0), "probable symptom" (1), or "definite symptom" (2). Second, a psychiatrist expert in schizophrenia (M.C.), a psychologist expert in interviewing children (L.A.), and a child and adolescent psychiatrist (G.P.) reviewed all the written narratives to confirm the interviewers' codes (but without consulting other data sources about the child or family). Third, because ours was a sample of twins, experiences limited to the twin relationship (eg, "My twin and I often know what each other are thinking") were coded as "not a symptom."
Table 1 shows the frequency of children's psychotic symptoms, coded as probable or definite. Auditory and visual hallucinations were the most common symptoms, and mind reading was the least common symptom. Psychotic symptoms were reported by 416 children (19.6%): 291 (13.7%) reported only probable symptoms and 125 (5.9%) reported at least 1 definite symptom. Among children with at least 1 definite psychotic symptom, multiple symptoms were typical: 36 (28.8%) reported multiple definite symptoms and 76 (60.8%) also reported probable symptoms.
To test the heritability of psychotic symptoms, we summed the response codes (0, 1, and 2) across the 7 symptoms for each child. Scores in the sample ranged from 0 to 13 (mean [SD], 0.4 [1.0]). To test the hypotheses about the risk factors and correlates of children's psychotic symptoms, we compared 2 groups of children: those who did not present any definite psychotic symptom (hereafter called the "symptom-absent group"; n = 2002) vs children who presented at least 1 definite psychotic symptom according to the clinical review of narratives (hereafter called the "symptom-present group"; n = 125). One boy in this group had, by age 12 years, received a formal diagnosis of schizophrenia by the family physician and was being treated with antipsychotic medication, according to his mother. Analyses were performed with and without the inclusion of this child, and results did not differ; therefore, we decided to keep him in the sample.
Table 2 lists the measures used to test each hypothesis about the risk factors and correlates of children's psychotic symptoms. The table provides information about each measure, its source, the age at which it was obtained, and descriptive statistics.
To test the relative magnitude of genetic and environmental influences on psychotic symptoms, we first examined the phenotypic correlation within pairs of monozygotic and dizygotic twins. We then used Mplus statistical software73 to decompose variance in children's psychotic symptoms into latent genetic (ie, the sum of the average effects of individual alleles at all loci), latent family-wide environmental, and latent child-specific environmental factors.74
To test the hypotheses about the risk factors and correlates of children's psychotic symptoms, we conducted logistic and linear regression analyses comparing symptom-absent with symptom-present groups of children. Because each study family contains 2 children, statistical analyses were corrected conservatively for the nonindependence of the twin observations by using tests based on the sandwich or Huber/White variance estimator75 in Stata statistical software, version 10.76
The within-pair correlation for the scale measuring psychotic symptoms was 0.41 among monozygotic twins and 0.22 among dizygotic twins. The fact that the correlation was greater among monozygotic vs dizygotic twins suggests a genetic influence for this phenotype. Specifically, genetic effects accounted for 43% of the variance (95% confidence interval, 34%-52%), and child-specific environmental factors and error accounted for 57% (51%-64%).
Table 3 presents the risk factors and correlates for symptom-absent vs symptom-present children. Children with psychotic symptoms were more likely than children without psychotic symptoms to have mothers with psychosis-spectrum disorders as well as family members who had been admitted to psychiatric units and who had attempted or completed suicide (Table 3).
With regard to social risk factors, children with psychotic symptoms were more likely than children without psychotic symptoms to live in an urban environment and to come from disadvantaged families. With regard to neurodevelopmental risk factors, children with psychotic symptoms had lower birth weights for their gestational age and were slightly more likely to have multiple perinatal complications (P = .09). They exhibited significantly lower IQs, slightly greater executive deficits (P = .07), and impaired theory of mind. With regard to home-rearing risk factors, children with psychotic symptoms were reared by mothers who had more negative expressed emotion toward them (but not less warmth), lived in more chaotic households (according to both parent and child reports), and were more likely to have been physically maltreated (Table 3).
Twelve-year-olds with psychotic symptoms had more externalizing behavior problems (antisocial, inattentive, and hyperactive behaviors) as 5-year-olds, according to all informants. According to maternal reports, 12-year-olds with psychotic symptoms also had more internalizing problems at age 5, but this finding was only a trend according to teacher reports. Finally, 12-year-olds with psychotic symptoms were more likely to have been socially isolated at age 5, according to mothers and, marginally so, teachers, and to have had educational problems at age 5 (Table 3).
Children with psychotic symptoms reported that they engaged in more antisocial behavior and experienced more symptoms of depression and anxiety than children without psychotic symptoms. Children with psychotic symptoms were also more likely to have used tobacco but not cannabis. Finally, according to their mothers, children with psychotic symptoms were more likely to have engaged in self-harm (Table 3). According to maternal reports, the self-harm behaviors included cutting with razors, beating head against the wall, and attempted hanging. Two children made suicide attempts resulting in hospitalization, in which the children followed voices of command. (Although not included in our measure of self-harm behaviors, one child attempted to cut his mother with a knife following a voice of command.) There were no completed suicides.
We conducted 3 sets of additional analyses. First, because we included children with only probable symptoms in the symptom-absent group, we investigated how the distribution of risk factors and correlates in these children compares with the distribution of risk factors and correlates in children with definite symptoms and no symptoms. Children with only probable symptoms generally had intermediate scores, between those of children with no symptoms and children with definite symptoms. Because the nature of their self-reported symptoms was more ambiguous and clinically uncertain, including them in the symptom-absent group is a conservative approach.
Second, because it is conceivable that the risk factors and correlates investigated are not specific to schizophrenia, we investigated their association with childhood psychotic symptoms controlling for concurrent depressive symptoms. Only 4 of 25 correlates were no longer independently associated with psychotic symptoms at a P value of ≤.05: socioeconomic disadvantage (P = .09), mother's report of antisocial behavior at age 5 (P = .06), and mother's (P = .14) and teacher's (P = .15) report of social isolation at age 5. The effect of all 21 other risk factors and correlates remained statistically significant, including self-harm (odds ratio, 2.0; 95% confidence interval, 1.0-3.9; P = .04).
Third, because it is conceivable that psychotic symptoms are associated with neurological disorders, and in some cases may be caused by them, we investigated whether migraine, epilepsy, seizures, or other neurological disorders were more common in the symptom-present group. The occurrence of childhood psychotic symptoms was not associated with these neurological disorders in our sample (odds ratio, 1.8; 95% confidence interval, 0.7-4.5; P = .23). Five children in the symptom-present group (4.0%) and 46 in the symptom-absent group (2.3%) presented these conditions.
We examined psychotic symptoms and their risk factors in a birth cohort of 12-year-old twins ascertained from the general population. Results confirmed that a significant minority of 12-year-olds in the community self-report hallucinations and delusions. In addition, these symptoms are associated with many of the same risk factors and correlates as adult schizophrenia, including genetic, social, neurodevelopmental, home-rearing, and behavioral risks.
Our findings suggest that the continuum model of psychosis15 may apply to preadolescents, as well as to the adults for which it was developed. The prevalence of psychotic symptoms in our birth cohort of 12-year-olds was 5.9%, which is similar to the reported prevalence of childhood psychotic symptoms in other contemporary community samples of adolescents between ages 11 and 17 years4-6,21,77 (although prevalence estimates vary as the measures and numbers of questions used to assess psychotic symptoms vary). Furthermore, hallucinations were the most frequent psychotic symptom reported, a pattern previously reported in community21,22 and clinical samples.78,79 This estimated prevalence of psychotic symptoms in child populations markedly exceeds the estimated prevalence of early-onset schizophrenia,80 just as the prevalence of psychotic symptoms in adult populations markedly exceeds the prevalence of adult psychotic disorders.15,24 The presence of psychotic symptoms in preadolescence adds support to the hypothesis that symptoms may signal a longstanding trait diathesis, which in some but not all individuals converts to clinical disorder during adolescence or adulthood.
Our findings also suggest that the neurodevelopmental model of schizophrenia9,11 is useful for understanding the pathogenesis of childhood psychotic symptoms. As with adult schizophrenia, childhood psychotic symptoms were familial and heritable, associated with early impairments in cognitive functioning, and linked to premorbid behavioral, emotional, and educational problems. (Childhood psychotic symptoms were not associated with ethnicity.) Three findings, in particular, warrant comment.
To our knowledge, this is the first study to evaluate the familiality and heritability of psychotic symptoms in a representative sample of children from the general population. Consistent with studies of schizophrenia,81 we found that childhood hallucinations and delusions are influenced by genetic and environmental factors that are unique in the life of each sibling (and measurement error). Our twin data yielded a moderate coefficient of heritability (43%) that is similar to heritability estimates for adult psychotic symptoms and schizotypy82,83 and somewhat lower than heritability estimates for schizophrenia,29 suggesting that individuals with symptoms that progress to clinical disorder are influenced by a stronger genetic load. Alternatively, it is possible that the heritability of psychotic symptoms, assessed here at age 12, may increase with age as does the heritability of some other psychiatric phenotypes.84 The nonsignificant quantitative estimate of environmental factors shared by siblings in a family is also consistent with previous studies of genetic and environmental influences on schizotypy85 and schizophrenia.86 Our study revealed that, like schizophrenia itself, childhood psychotic symptoms are associated with measured social and home-rearing risk factors that might be expected to have similar consequences for siblings growing up together (eg, urban residence, socioeconomic disadvantage, household chaos). How is it possible that measured family-environment risks predicted psychotic symptoms, whereas the twin model estimated no family-environment effect on psychotic symptoms? Whether such risk factors lead to childhood psychotic symptoms may depend on each child's genetic vulnerabilities.87 When influences of siblings' shared environments interact with genetic vulnerability, these effects are included in the genetic component of twin models.
Second, we observed several cognitive deficits among children as young as 5 years who later developed psychotic symptoms. Impaired theory of mind at age 5 characterized children with psychotic symptoms, corroborating the hypothesis that a deficit in the capacity to infer and represent others' mental states is a trait of individuals with psychotic disorders.40 Moreover, the IQ deficit that we found among children with psychotic symptoms at age 5 is the same size as the IQ deficit observed among individuals with schizophrenia before illness onset: approximately one-half of a standard deviation.37 Of interest, our composite measure of executive functions at age 5 (planning ability, inhibitory control, and working memory) was only weakly, and not significantly, associated with psychotic symptoms at age 12. It is possible that age 5 years may be too young to detect executive functioning deficits in relation to psychosis; recent research suggests that deficits in executive functions may emerge in later childhood or early adolescence.88 Although the neurodevelopmental theory of schizophrenia has not emphasized childhood hallucinations and delusions, our findings suggest that such symptoms should be incorporated into the theory. Neurodevelopmental risk factors such as low IQ are common in the population and are associated with other mental disorders in adulthood.89 The key question is why only a few children with neurodevelopmental deficits and lower cognitive reserve eventually progress to adult schizophrenia, whereas most do not. Neurodevelopmental risks in early childhood affect many children; a smaller subset of children with neurodevelopmental risk go on to experience psychotic symptoms in preadolescence, and a smaller subset of these preadolescents with psychotic symptoms go on to develop schizophrenia. Thus, the psychotic symptoms we have studied may help to identify a key turning point in the canalization from neurodevelopmental risk into clinical disorder and to elucidate the nature of the association between low childhood IQ and schizophrenia.
Third, we found that 12-year-olds with psychotic symptoms had significantly more behavioral, emotional, and educational problems by age 5. Moreover, when children manifested psychotic symptoms as 12-year-olds, they also had significantly more antisocial behavior, depression symptoms, anxiety symptoms, and self-harm. These findings are consistent with reports of higher rates of psychiatric comorbidity in clinical samples of children with psychosis.78,79 These findings are also consistent with prospective3,10 and retrospective90,91 studies showing that adults with schizophrenia had elevated rates of aggression, anxiety, depression, and social and educational problems as children. Strikingly, like young people with clinical psychosis79 and adults with schizophrenia,49 children with psychotic symptoms were more likely to engage in self-harm or suicidal behavior (independent of depression). Given that children's self-harm was reported by their mothers in our study, not the children themselves, and that children can conceal self-harm from parents, the association between psychotic symptoms and self-harm may be underestimated here.
Our study has limitations. First, we were unable to evaluate the role of all important schizophrenia risk factors, such as delayed motor development. Second, we did not examine how the various schizophrenia risk factors were themselves correlated and whether these risk factors had independent or overlapping associations with children's psychotic symptoms. Rather, the goal of this study was to assess the construct validity of children's self-reported psychotic symptoms by evaluating the nomological network surrounding these symptoms. Such an evaluation of construct validity requires testing hypothesized relations between children's symptoms and risk factors and correlates for which there are theoretical grounds to expect significant associations.92 To our knowledge, the results of this study provide the most comprehensive picture to date of the clinical and theoretical significance of children's self-reported psychotic symptoms. Third, we studied a cohort of twins, who may not represent singletons. However, prior comparisons have found no twin to singleton differences in behavior problems, IQ, or personality traits.93-98 Nevertheless, replication of findings in studies of singletons is important. Fourth, we evaluated only a set of 7 positive symptoms. A more extensive assessment, including negative symptoms, may be desirable to identify risk factors and correlates that may be specific to particular symptom dimensions.
Our study also has strengths. We studied a nationally representative sample, followed up to age 12 years with 96% retention. Psychotic symptoms were assessed by well-trained mental health interviewers in a private interview with each child, and reports were subsequently reviewed by expert clinicians. Risk factors were assessed prospectively through multiple informants or formal testing of the child using measures with documented validity, independent of the assessment of psychotic symptoms. Incidentally, only 2% of the children with psychotic symptoms had used cannabis and only 4% had neurological disorders, indicating that the psychotic symptoms reported were not the result of these causes.
Our results have implications for research and clinical practice. For researchers, the findings indicate that children in the community who have psychotic symptoms can be recruited for neuroscience research into the pathogenesis of schizophrenia,99 years before the prodrome and long before the neurobiological picture is muddied by medications, substance abuse, and the rapid changes in brain development that characterize adolescence.100 For example, a neuroimaging paradigm recently used with ultra–high-risk and first-episode research cases, aged 14 to 30 years, could be extended to children assessed here.101 Because the risk factors and correlates investigated are not specific to schizophrenia, it is possible that childhood psychotic symptoms are developmental precursors not only of schizophrenia but also of other disorders. Longitudinal evaluation of individuals throughout adulthood can address this issue. Because, as our findings show, psychotic symptoms generally occurred in the context of other disorders, including attention-deficit/hyperactivity disorder, antisocial conduct, depression, and anxiety, it is feasible to screen pediatric psychiatric patients to identify children with hallucinations and delusions. It is our impression, based on experience with the E-Risk and Dunedin cohorts, that ages 11 to 12 years are an ideal window for obtaining self-reports of covert experiences such as hallucinations and delusions in a clinical interview. On the one hand, preadolescents are cognitively mature enough to understand what the questions are about. Therefore, they can provide valid self-reports of hallucinations and delusions. On the other hand, they have not yet learned by sad experience that they must conceal their psychotic symptoms to avoid stigma, ridicule, and rejection by others. Thus, preadolescents are willing to share frank self-reports with a sensitive interviewer.
For clinicians, the findings indicate that psychotic symptoms in childhood are often a marker of an impaired developmental process and should be actively assessed. Psychotic symptoms generally occurred in the context of other childhood psychiatric problems, indicating that it is worthwhile to ask all preadolescent psychiatric patients about hallucinations and delusions. Even if the psychotic symptoms are not themselves impairing, they are associated with important risk factors, such as chaotic household, maternal negativity, and physical maltreatment, and with behavioral problems, such as early tobacco use and self-harm, that should be a focus of attention. Whether interventions focused on childhood psychotic symptoms will prove necessary, feasible, or cost-effective is an important and unanswered question.
Correspondence: Avshalom Caspi, PhD, Department of Psychology and Neuroscience, Duke University, 2020 W Main St, Ste 201, Campus Box 104410, Durham, NC 27708 (firstname.lastname@example.com).
Submitted for Publication: May 12, 2009; final revision received August 7, 2009; accepted September 2, 2009.
Financial Disclosure: None reported.
Funding/Support: This research was supported by grants G9806489, G0100527, and G0601483 from the United Kingdom Medical Research Council; grant MH077874 from the National Institute of Mental Health; a 2008 National Alliance of Research on Schizophrenia and Depression Young Investigator Award (Dr Polanczyk); a Clinician Scientist Award from the Health Research Board, Ireland (Dr Cannon); and a Royal Society-Wolfson Merit Award (Dr Caspi). Dr Odgers is a William T. Grant Scholar.
Additional Contributions: We thank the families and staff of the E-Risk Longitudinal Twin Study.
Create a personal account or sign in to:


text:
|Previous Page | Table of Contents | Index | Next Page
Deductions Not Subject
List of Deductions(p12)
Amortizable Premium on Taxable Bonds(p12)
Pre-1998 election to amortize bond premium.(p12)
|Bonds acquired after October 22, 1986, and before 1988.(p12)
|Bonds acquired before October 23, 1986.(p12)
Deduction for excess premium.(p12)
Pre-1998 choice to amortize bond premium. If you made the choice to amortize the premium on taxable bonds before 1998, you can deduct the bond premium amortization that is more than your interest income only for bonds acquired during 1998 and later years.
More information.(p12)
Casualty and Theft Losses of Income-Producing Property(p12)
Federal Estate Tax on Income in Respect of a Decedent(p12)
Gambling Losses Up to the Amount of Gambling Winnings(p12)
You cannot reduce your gambling winnings by your gambling losses and report the difference. You must report the full amount of your winnings as income and claim your losses (up to the amount of winnings) as an itemized deduction. Therefore, your records should show your winnings separately from your losses.
Diary of winnings and losses. You must keep an accurate diary or similar record of your losses and winnings.
Proof of winnings and losses.(p13)
These recordkeeping suggestions are intended as general guidelines to help you establish your winnings and losses. They are not all-inclusive. Your tax liability depends on your particular facts and circumstances.
|Slot machines.(p13)
|Table games (twenty-one (blackjack), craps, poker, baccarat, roulette, wheel of fortune, etc.).(p13)
|Racing (horse, harness, dog, etc.).(p13)
Impairment-Related Work Expenses(p13)
Loss From Other Activities From Schedule K-1 (Form 1065-B), Box 2(p13)
Officials Paid on a Fee Basis(p13)
Performing Artists(p13)
Losses From Ponzi-type Investment Schemes(p14)
Repayments Under Claim of Right(p14)
Unrecovered Investment in Annuity(p14)
|Previous Page | Table of Contents | Top of Page | Index | Next Page

subset: commoncrawl


text:
Ch 44: Don't mention the C word
>> Monday, March 24, 2014 – food, hungry, keep calm carry on, sleep, tears
As we find ourselves thrown amongst the trials and tribulations of toddlerdom, dear husband and I have recently found ourselves dealing with the most random and unexplained challenges neither of us could have ever predicted nor possibly avoided.
Damn you custard!! We used to be friends!Your once off treat for 'something different' and 'fun' has turned out to be a dairy infused nightmare!
Toddler wraps himself around the fridge door. Heaving. Still. Wipes tears from face. Wails 'Ca ca'. No. Gawd No. No Custard. No more. Toddler B Screams as if world has suddenly fallen apart. 'CAAA CAAA'. Noooo. I said No. It's all gone, remember that litre of the stuff you inhaled this afternoon? It's all gone!Ok, a litre might be a slight exaggeration…but you know. I've got a tale to write here ok?
Ah yes. In terms of our custard dependency recovery process, we are still in the early stages of weaning him off the hard stuff.
Read more...
At any hour of the day or night we find ourselves scratching our heads with unexplained and perplexed looks on our fatigued faces muttering nothing more than...
Wha? Hang on, say what? Did he just..?Let me fill you in.
No, he didn't. Yes he did.
Ohh, what now. Not again. Really?
No, he didn't. Yes he did.
Ohh, what now. Not again. Really?
Firstly, picking dry snot from your nose and subtly wiping it on your mother's neck is not cool Toddler B. Not cool at all. You could at least eat it like most other two year old boys. Or like your father.Secondly, waking at 3.00am, wailing then heaving uncontrollably whilst running away from comforting cuddles and hiding in various corners of the house does not make for happy parents in the morning. Then acting as if nothing had happened whilst you inhale your vegemite toast a few hours later does not fool us. Neither does your breaming cheesy grin and big wide eyes. Dammit. Yawn.
Thirdly, we are so thrilled you love sharing with your favourite pet in the world, Buddy Dog. But offering him some of your raison toast, dangling the fluffy sugary bread and sultanary goodness over his drooling mouth, letting him lick the baked delight yet then pulling it away and devouring it yourself is also not cool. And very unhygienic and makes for one unhappy and rather peeved off Buddy Dog.That aside there are also lots of fun moments. I'm sure I will write about them all one day. Really, I will. Once I wipe the snot off from all my clothes.
One slight issue we could never predict and still are yet to accommodate for is an obsession like no other. Sure, there's been The Wiggles, bottles of milk, sultanas was up there for a while and of course his favourite comforter, Flat Teddy.Yet this one has hit us for six. In a big, comforting, sugary, yellowish and sometimes banana custardy kind of way.
Yes. I said it. The C word.Custard.
Damn you custard!! We used to be friends!Your once off treat for 'something different' and 'fun' has turned out to be a dairy infused nightmare!
Picture this.2.00am: heaving child, distressed, upset possibly from a bad dream. Who knows? We sure as hell still don't have a clue! Cuddles not working, won't settle down. Wriggles out from cuddle. AP and dear husband exchange glances. Tired, over it kind of glances. Our eyes follow Toddler B.
Toddler wraps himself around the fridge door. Heaving. Still. Wipes tears from face. Wails 'Ca ca'. No. Gawd No. No Custard. No more. Toddler B Screams as if world has suddenly fallen apart. 'CAAA CAAA'. Noooo. I said No. It's all gone, remember that litre of the stuff you inhaled this afternoon? It's all gone!
Toddler B throws himself on floor. Continues world ending behaviour, desperate for the yellow stuff.2.53am: AP: 'just give him the fricken custard!! I don't care anymore, I need to sleeeep! Dear husband succumbs, settles Toddler B with a satchel of Heinz Baby Yellow Sugar Stuff with Banana. Child sucks on packet happy as a pig in…umm custard? Finishes and falls asleep within minutes.
Dear husband collapsed on couch, Buddy Dog relishing in having the bed all to himself, AP slumped in kitchen cursing the day she decided to bring a bit a variety, a bit of something different, a bit of custard home for the little angel which inevitably turned him into a monster. A monster with a super cute green dressing gown! Nawwww. And his pyjama pants are too big for him. Nawwww again!
Right, snap out of it. Where were we.
We are not allowed to even say the C word in our house.We use cryptic language and even spelling it out has its risks.
If Toddler B is rewarded with such a very special treat on a weekend, a small packet of C-U-S-T-A-R-D may be unexpectantly found by some sort of custard fairy, Humphrey B Bear fairy or the Easter Bunny..Fairy..? Regardless, it is very very special.When doing the weekly grocery shop, as we make our way through the diary section I deliberately distract my junior addict by waving cartons of milk, packets of cheese and start doing a wiggles inspired trolley dance and sing-along down aisle eight. Much to the delight of my fellow customers.
What is she on?! They must be thinking.I tell them - custard. It's custard I tells ya.
Don't go near the stuff, it only ends in tears..yet great for strong bones and teeth.Enjoy. In moderation.
Read more...


text:
Reality TV makes for rough justice.
NBC's top-rated "The Voice" kicked into "battle" mode Tuesday, where would-be pop stars were forced to square off against each other in duets. Teams of eight will be whittled down to teams of four before viewers crown the winner.
On Tuesday, celebrity mentors sent four musicians packing after giving rave reviews about them during blind auditions.
U.S. & World
First up, Tarralyn Ramsey sang against Frenchie Davis, the onetime "American Idol" wannabe booted from Fox over past racy photos.
After the pair sang a duet of Beyonce's "Single Ladies (Put a Ring on It)," coach Adam Levine of Maroon 5 said he forgot it was a competition because he was so engrossed in the singers' duet.
It fell to Christina Aguilera to decide which member of her team should go, and the pop star's assistant coach, Sia, was at a loss to offer advice. Aguilera chose to keep Davis in the competition.
"America finally gets the chance to vote for me," the Broadway-trained singer said after learning her fate.
For the second battle of the night, coach Blake Shelton pitted country crooner Patrick Thomas against Tyler Robinson, the redheaded singer he likened to a relative of Drew Carey last week.
After first warning Robinson to reel in his vocal acrobatics, Shelton said he was impressed enough with the singer's take on Elvis' "Burning Love" to keep him on his group of four.
Next up was Levine's team, and he asked Casey Weston and Tim Mahoney to perform "Leather and Lace."
"It's hard to mess with Stevie Nicks," Levine told Weston after the battle, but added she nailed the song and deserved a spot on his team.
The final match-up of the night was Vicci Martinez vs. Niki Dawson, who Cee Lo Green told to perform Pink's "Perfect."
Levine called it the best duet of the night, while Shelton said Green would come to regret pairing the two as one of the worst mistakes of his life.
"You got this war dance," Green said of Martinez's moves on stage before he picked her as the night's winner for his team.
Next week, the battles begin anew.


text:
A woman was in town on a shopping trip. She began her day finding the most perfect shoes in the first shop and a beautiful dress on sale in the second. In the third everything had just been reduced to a fiver when her mobile phone rang. It was a female doctor notifying her that her husband had just been in a terrible accident and was in critical condition and in the ICU.
The woman told the doctor to inform her husband where she was and that she'd be there as soon as possible.
As she hung up she realized she was leaving what was shaping up to be her best day ever in the shops. She decided to get in a couple of more shops before heading to the hospital.
She ended up shopping the rest of the morning, finishing her trip with a cup of coffee and a beautiful cream slice complementary from the last shop. She was jubilant.
Then she remembered her husband. Feeling guilty, she dashed to the hospital.
She saw the doctor in the corridor and asked about her husband's condition. The lady doctor glared at her and shouted, 'You went ahead and finished your shopping trip didn't you! I hope you're proud of yourself! While you were out for the past four hours enjoying yourself in town, your husband has been languishing in the Intensive Care Unit! It's just as well you went ahead and finished, because it will more than likely be the last shopping trip you ever take! For the rest of his life he will require round the clock care. And you'll now be his carer!'
The woman was feeling so guilty she broke down and sobbed...........
The lady doctor then chuckled and said, 'I'm just pulling your leg. He's dead. What did you buy?


text:
CRS: The Central African Republic, November 2, 2007
From WikiLeaks
About this CRS report
This document was obtained by Wikileaks from the United States Congressional Research Service.
The CRS is a Congressional "think tank" with a staff of around 700. Reports are commissioned by members of Congress on topics relevant to current political events. Despite CRS costs to the tax payer of over $100M a year, its electronic archives are, as a matter of policy, not made available to the public.
Individual members of Congress will release specific CRS reports if they believe it to assist them politically, but CRS archives as a whole are firewalled from public access.
This report was obtained by Wikileaks staff from CRS computers accessible only from Congressional offices.
For other CRS information see: Congressional Research Service.
For press enquiries, consult our media kit.
If you have other confidential material let us know!.
For previous editions of this report, try OpenCRS.
Wikileaks release: February 2, 2009
Publisher: United States Congressional Research Service
Title: The Central African Republic
CRS report number: RS22751
Author(s): Ted Dagne, Foreign Affairs, Defense, and Trade Division
Date: November 2, 2007
- Abstract
- In March 2003, a rebellion led by former Army Chief of Staff Francois Bozize ousted President Ange Patasse from power. In 2005, the Bozize government organized presidential and legislative elections. In May 2005, Bozize defeated former Prime Minster Martin Ziguele and his ruling party won 42 out of the 105 seats in the National Assembly. The Central African Republic (CAR) has been impacted by the crisis in the Darfur region of Sudan and suffers from internal rebellion. Fighting between rebel groups and government forces has displaced more than 70,000 people in northeastern CAR. In September 2007, the European Union approved the deployment of a 4,000 man peacekeeping force to Chad and CAR.
- Download


text:
|~ myurl.net ~
Virtualis Virtual Web Servers
Virtualis Resellers
Other Promotions & Associations
Visitors at this site:
This web page and web site has been developed and is maintained exclusively by Michael D. Bader an Independent FlashNet Representative. As FlashNet modifies its products, programs, and policies, information contained in this web site is subject to change. This web site is not authored, sponsored or maintained by FlashNet Communications or FlashNet Marketing Inc.
Web site design copyright ??Solutions, Inc 1999


text:
Afghan official: Airstrike kills 11 civilians
An Afghan official says 11 civilians, including 10 children, have been killed in an airstrike during a weekend military operation in eastern Afghanistan.
Wasifullah Wasify, a government official in Kunar province, said Sunday the airstrike occurred the day before during a fierce gunbattle between Taliban militants and a joint force of U.S. and Afghan forces.
He says 10 children and one woman were killed when the airstrike destroyed a house in a remote area of the province.
A U.S. civilian adviser also was killed in Saturday's fighting.


text:
Share |
This year, allow your Passover seder dinner table to usher in a fresh, clean, updated elegant look.
Imbue your table top with sophisticated greens and a modern relaxed touch. Splash on accessories from Oscar De La Renta's fabulous brand new table top line. These salt and pepper and bottle stopper fish designs will just bring images of the Red Sea right onto your seder table!
(LOVE them for summer entertaining too!)
I would use several of the stunning Egyptian inspired mini green foil square trays to hold marror (bitter herb- we use romaine lettuce), haroset, boiled eggs, the vegetable
(we use endive), . Invert a bowl in the center of a lucite tray and place a square tray atop for the center shank bone or zeroah to be raised higher than the other seder plate items. Place on a clear lucite tray and voila! You've got a brand new seder plate!
Don't forget to add some frog napkin rings to symbolize one of the 10 plagues to adorn your linen napkins…
Now is the time to pull out your best cloths, napkins, china, and placemats. Be bold.
Be daring. Use creativity and imagination. How are you going to spruce up your table this Passover 2013?
1.Oscar De La Renta Fish Wine Stopper
2.Fringe Studio Gothic Foil Square Tray
3.Jasper Conran At Wedgwood Kilim Accent Plate
4.Tree Frog Napkin Ringkasaboo.com
5.Oscar De La Renta Fish Salt & Pepper Set
6. Green Frog Napkin Ring Set
8. Juliska Straw Loop Round Placemat


text:
(713) 699-9911 email@example.com 415 Blueberry St, Houston, TX 77018
Error: API requests are being delayed for this account. New posts will not be retrieved.
There may be an issue with the Instagram access token that you are using. Your server might also be unable to connect to Instagram at this time.
Dessert Spoon Gold


text: Dave's ESL Cafe's Student Discussion Forums :: View topic - Tell me your favorite movie heroes Dave's ESL Cafe's Student Discussion Forums"The Internet's Meeting Place for ESL/EFL Students and Teachers from Around the World!" FAQ Search Memberlist Usergroups Register Profile Log in to check your private messages Log in Tell me your favorite movie heroes Dave's ESL Cafe's Student Discussion Forums Forum Index -> Film and Cinema View previous topic :: View next topic Author Message ToneJoined: 03 Sep 2006Posts: 175 Posted: Thu Jul 03, 2008 2:03 am Post subject: Tell me your favorite movie heroes For me I like Hulk the most. The guy is so poor but he's still live a strong and good life. Moreover, his girlfriend is very cute.... I like Liz Tyler So, who's your favorite super heroes in the film? Is it superman? Batman? Spiderman? Dare Devil? or Doraemon? Let's share..._________________==>English Quiz |English Grammar |English Conversation<== Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First Dave's ESL Cafe's Student Discussion Forums Forum Index -> Film and Cinema All times are GMT - 8 Hours Page 1 of 1 Jump to: Select a forum Student Forums----------------ComputersCurrent NewsCultureEnglish SchoolsFamilyFilm and CinemaFoodHealth and FitnessHelp CenterHobbiesHolidaysLearning EnglishLiteratureMaking FriendsMusicOpinionsPetsScienceSportsThe Strange and MysteriousTOEFL and Other English ExamsTravel You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forum Dave's ESL Cafe is maintained by the one and only Dave Sperling. Banner Advertising | Bookstore / Alta Books | FAQs | Articles | Interview with Dave Copyright © 2018 Dave's ESL Cafe | All Rights Reserved | Contact Dave's ESL Cafe | Site Map Teachers College, Columbia University: Train to Teach English Here or Abroad Powered by phpBB © 2001, 2002 phpBB Group


text:
Summertime Lunches 2013
Our last Summer Lunch of the year will held on Tuesday, August 26, at 12:30pm in NRB 3118
The scope of the summertime lunches are to provide a very informal setting in which to meet NBIO faculty whom students may not have other occasions to meet, like in class or at other occasions. Students speak with invited faculty about various subjects, their work and future plans, ask for advice about their career and experience in neurosciences, etc…while dining on sandwiches, pasta salad, and lemonade catered by Saladelia. We have participation from students at all stages of their training. Faculty appearances include Dr. Aldo Rustioni, Dr. William Snider, Dr. Mohanish Deshmukh, and more!


text:
Your browser or your browser's settings are not supported. To get the best experience possible, please download a compatible browser. If you know your browser is up to date, you should check to ensure that
› Learn How
Text Size
A heart-shaped comet particle extracted from aerogel. Returned to Earth by Stardust.
Image credit: NASA/JPL
+ High Resolution


text:
Collection Items
MapGroton, Mass. 1886. Perspective map not drawn to scale. Bird's-eye-view. LC Panoramic maps (2nd ed.), 295 Available also through the Library of Congress Web site as a raster image. Indexed for points of interest. AACR2
- Contributor: Burleigh Litho - Burleigh, L. R. (Lucien R.) - Burleigh, L. R.
- Date: 1886


text: I am looking for any one that has an outlander season 1 and season 1 2nd addition binders that they are looking to sell or trade ...? Also promo cards from any of the sets and some autos and costume cards from any of the sets with empty hobby boxes and wrappers to if possible Thanks ...!!!


text:
posted on:May 8, 2008
Easiest Tooltip and Image Preview Using jQuery
I love jQuery and the way it makes developer's life easier. Although it took me a while to accept it and I still prefer to write my own stuff, I can't deny its advantages. Recently I had a project that demanded a rollover image preview. You know, one of those tooltip-like bubble popups that appears when you roll over link or a thumbnail. Since we were already using jQuery on that project I decided to take it easy and investigate what can be done with that extraordinary library. So I came up with a script so simple it hurts! The best thing yet is that it can be applied for a variety of purposes. Today I will show you 3 examples of using the same very, very simple script.
Download all 3 tricks in a bundle
Features and Principle
What this script does is adds an element to the body when you roll over a certain object. That element's appearance is predefined with css (positioned absolute and styled) so all we need to do is fill the element with content, calculate mouse position and make it move accordingly. When cursor is moved over he object, element moves with it and when cursor roll out, the element is deleted.
Here are couple of examples where you can see this script in action.
Example 1: The Simplest jQuery Tooltip Ever
The script takes a title attribute of an A tag and place it inside the popup element.
Html looks like this:
Roll over for tooltip
Example 2: Image Preview Gallery

or if you want to use caption add a title attribute:
Roll over to preview
Example 3: Links With URL Preview
This demands a bit more effort but it might be worth it as an extra feature to add to your sites. What you'll need here is a small size screenshot of the target url. You'll put screenshot image location in in REL attribute of the A tag and script will do the rest.
Like so:
Css Globe
again, if you wish to use caption add a title attribute:
 Css Globe
Download all 3 tricks in a bundle
Enjoyed the article?
Then don't miss our next one! Subscribe to our RSS feed or share it with your friends.
Share on FacebookTweet thisDeliciousStumbleUpon RedditSubscribe
Comments (170 Comments)
David Appleyard
May 8, 2008Great article - that's an incredibly easy way of achieving effects which would seem complicated at first glance.
May 8, 2008Neat! I really like example #3!
May 8, 2008Woldn't it be better to make a plugin out of it :)
May 9, 2008Very cool.. nicely done :)
May 9, 2008Goog examples. I started to use jQuery recently and I am glad there is more and more articles about it.
May 9, 2008Nice article, very useful...
May 10, 2008Plug and play!
Josh Darville
May 10, 2008Great site, if you ever wanted to add a great presentation to your site please contact me. I'd love to work with you. I create custom website videos that infuse graphics, text and sound. www.TheMediaZoo.com my name is Josh email@example.com
May 11, 2008A CSS freak just got new ticks up his sleeves ;) Thanks Alen.
May 11, 2008My favorit is example three. Thank you for your nice work. Ralph
May 11, 2008Great article- i searched it for a lon time. Thanks you
May 12, 2008Great script! I reworked it into a plugin: http://blog.senko.net/static/jquery.csstooltip.js
May 13, 2008Excellent article! Good samples.
May 14, 2008Great script! Thank you! Sorry as I'm a newbie with Javascript: How could I make the big image displaying on top or to the left instead of to the right of the small image?
May 16, 2008very nice relevant scripts, thanks!
May 17, 2008Give please, how to add a couple of variable - meaning in the href attribute
ana gomez
May 20, 2008Example 2 is great idea.
May 22, 2008nice system. thanks
Andrew Cornett
May 22, 2008Shoot. Is there a good example using Prototyle/Scriptaculous?
May 26, 2008Hi, thanks for the tip! There is one problem with this script - for some reason if the script is outside of an UpdatePanel (Ajax.net) it sometimes "gets confused" and removes the title value but never returns it or shows title value of one link on other one (because this.t is never gets erased for some reason) did anyone encounter these issues? does anyone have a fix? Thanks again
May 28, 2008This is really nice. Thanks
May 29, 2008This is fantastic, finally i can do away with all those over branded pre written solutions, much appreciated!
May 29, 2008Great script - but can anyone tell me how to get the tip to appear to the left of the cursor? I've tried changing the "xoffset" and "yoffset", but that's not an adequate solution as each tip I am using is diferent sizes and the one setting doesn't work for all. Any help here would be greatly appreciated.
June 1, 2008i had a little problem but i've solved it. I'd like to share with you. My problem was z-index problem and i gave "1" and it worked. Because before this i was under my other div which has z-index value and absolute position.
June 3, 2008Hi, Is there a way to simply show the content of a hidden div in this tooltip ? Thank you Charles
June 9, 2008Hi, great trick! Love the simplicity and I'm now implementing on my personal homepage. Works fine on text links, but I'm having issues getting example-3-style to work on an image map. Anyone care to give me a few pointers on what I may be doing wrong / how I can get this to work? Thanks - cameron
June 10, 2008Clean, and nice code. I used the id tag as my href to allow a preview and also the ability to link to another page. Useful if you have a thumbnail of an image, and you want to link to an actual page. Still working on an image map solution.
Jonathan Concepcion
June 14, 2008I love this image preview its perfect to my recent project.
June 14, 2008I come from China,you are so great! Nice code!I like it very much. Sorry for my poor English .
June 19, 2008Thank you so much for this, I'm a total javascript "noob" and I was able to adapt it for my needs within 3 seconds. Thank you, Thank you, Thank you!!
June 20, 2008This sucks....seriosly....either make a plugin or keep it to yourself
Muneef Hameed
June 20, 2008WoW! i like it!
Olivia Bell
June 21, 2008#3 is great, much better than things like Lightbox - faster etc
June 21, 2008Great code! Thank you very much... i was looking exactly for this Ravi.
Abayomi Oyewumi
June 23, 2008Thanks a million u just added to a life greeeeeeeeeee
June 24, 2008Its great, really. Just a question: is there a way to make it be in the same page with lightbox and make both work? If I put it, my lightbox quits working. Regards.
Fred Riley
June 27, 2008The tooltip rollover can be implemented without script, using the title attribute of a XHTML element, eg: Home Both IE7 and Firefox 2 render this as a tooltip on mouseover. Ok, it's not strictly what the title attribute should be used for, but it's fairly common practice these days. Think of it as 'off-label' tagging ;-) Fred
Umer Tahir
July 4, 2008Check out these tool-tips: http://jim-murray.ca/shows.html Just hover over some of the underlined shows.
Enrique Espinosa
July 8, 2008I found your image preview to be by far the easiest and cleanest to implement. However, if found that the latest version of Firefox 3.0 for Mac to not hover the image and puts it at the bottom of a main page content. Not sure if this is a problem fixed within your script, or if it's a Firefox issue.
July 8, 2008Hi, I am having some issues with the tool tip pop up showing UNDER form elements to the right of the rollover image... any suggestions on how i get it sitting on top of these? or getting it sitting to the left of the image rather than the right? thanks!
July 10, 2008great.
James Breen
July 10, 2008These are great but they don't validate, what a disappointment. I am looking for some tool tips that validate. I am a web designer and it looks bad if I have a site that does not validate. http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcssglobe.com%2Flab%2Ftooltip%2F01%2F Thanks Jim
Mark Abucayon
July 13, 2008wow I like it, in fact I used it in one of my websites, Thanks for sharing this one. I really like it. Good job
July 13, 2008It's super! I searching something similar to mootools tip and here I found it! Thanks for this script. I don't belive that it's so easy!
July 15, 2008This way is really great, but i found only 1 way for displaying ToolTip ABOVE the cursor: $("#preview") .fadeIn("fast",function(){ $("#preview") .css("left",(e.pageX + xOffset) + "px") .css("top",(e.pageY - $("#preview").height()) + "px"); yOffset = $("#preview").height(); }); Maybe there Is a better way?
People Search Dude
July 17, 2008Sweet! Been searching for something like this! Saves me from having to figure things out and code by hand. Clean implementation too!
July 20, 2008Thanks Alen, very nice.
July 21, 2008I've been looking all day for this. Unfortunately, there are no instructions, so I'm not quite sure how to connect the js files in the download with the textarea cut and paste code.
July 23, 2008hello, thanks for the great script. I have it working on one of my projects, but is there anyway that it can display the tooltip to the top and left of the cursor, rather than to the bottom right? any help would be greatly appreciated.
July 23, 2008sorry, I meant I am trying to get it to display to the top and right of the cursor. thank you.
July 24, 2008WoW! Thanks Alen for you great and simple wok on "The Simplest jQuery Tool tip Ever"
July 27, 2008Absolutely LOVE the script but there's one glaring problem: the rollover images are appearing "off the screen". Essentially they're going outside the boundaries of the browser window. The image always appears at the right of the cursor instead of the left once the image has reached the edge of the window. Has anyone figured this out? I don't want to have to resize my rollover images but so far I can't think of any other way to keep the images inside the window. HELP!!!
Firebubble Design
July 27, 2008Thanks for the cool javascripts! The website preview script is pretty neat.
Sander Houttekier
July 28, 2008How can i make the image preview script use the image width as width for the preview div? because your images are perfectly the same width you dont have a problem, but as soon as there are images with other proportions it gives troubles... i did already make sure that no image went over the given width... but smaller images now have lots of whitespace around them... is it possible to make the width of the preview div, automaticaly use the width of the image itself?
July 30, 2008hi! i found this script - this is quite useful! but i have one small problem: an image as link-tooltip will always been displayed downwards .. so that the tooltips at the end of a list can't be seen any more. you can see it at: http://www.fckitz.at/1mannschaft/1mannschaft_kader.asp. can anyone help me how to fix it? i'd like the image to open upwards - thanks!
Website Designer Perth
July 31, 2008Many thanks for this - especially the URL preview. Dropped everything to 'plug' it in to our website.
August 6, 2008Real nice my friend. Many tks for this must :) Keep the good work
August 6, 2008hey great script has anyone managed to solve the issue that mark mentioned above - that the tooltip sometimes appears off screen>? thanks!
August 8, 2008That's all well and good, but in point of fact you aren't actually showing what you did, eh? Pretty site design, though.
August 8, 2008thanks you very much
August 11, 2008All of these are excellent pieces of javascript, jQuery is a amazing resource. I had been thinking about using the url preview on a template site I'm developing. Thanks for the post.
August 12, 2008How do you change the background color and border colors and the fonto colors??, please any help much apreciated. All the best and thanks for sharing your knowledge.
August 12, 2008Juan, LJ, steve and mark, I had the same problem but I do know the minimum pagesize and the large image size and its position to the right, in my case 400px for the image and 758px for the page. What I did is set yOffset = -430; i.e. 30 pixels lower than the image because Firefox has a bug if the image is displayed "below" the pointer cursor (the hand). This works. If we are to find the solution to a dynamic setting so it automatically detects whether the image will be out to the right, we have to set a condition to show (e.pageX - yOffset > $(document).width()) = align to the cursor's left. By the way, yOffset and xOffset should be reverted.
August 12, 2008Very nice, Alen! You just saved my butt ;-)
Hasan Tayyar BEÅžIK
August 14, 2008You can remove the class specify from the main.js and so this can be applied all "a" tags But you must add this line before $("body").append("
"+ this.t +"
"); : if(this.t!="")
August 18, 2008thank you for suggestion! I have made cruise to find your site in 50 sites. Cool! Thank you! But still looking for a simple WP ready plugin for image tooltip. Thanks!
August 19, 2008Thanks for the great Tooltip solution.You really saved my life.I was searching to find the best one and I think this is the best so far.
August 21, 2008Thanks Alen for the simplicity!
August 22, 2008Hi Alen, this one is really nice. I use it with the actual Cleaner WordPress Gallery Plugin. In combination with your JS snippet it rocks. Thanks a lot. Here is an example. Greetings from Germany. PS. This would be a realy good WordPress Plugin :)
August 24, 2008Many thanks for this script. It has a little bug, the images overlap the windows sizes. We've fnd a solution to that: At x axis put the value 400 At the y axis put the value - 400 So the image will be aligned starting from the top left corner not bottom right corner. Cheers.
August 26, 2008Hi, I am having some issues with the tool tip pop up showing UNDER form elements to the right of the rollover image... any suggestions on how i get it sitting on top of these? or Irinox Schockfroster getting it sitting to the left of the image rather than the right? thanks!
web design los angeles
September 4, 2008Now that's a time saver! Thanks for doing such a great job.
September 16, 2008Great script! I am trying to use #3 on a webpage and everything works great except that I would like for the script to not show a tooltip if the link has the attribute rel="something" in it. I have already adapted your script to make all links on the page have a preview by changing "a.screenshot" to "a". Now I want some of them not to show a preview. Is this possible? How so? I am a total noob at Javascript. In fact, just started getting in to it last week. Also, it would be nice if the tooltip stayed inside the window (jumps to left of cursor if too close to the right, jumps to top of cursor if too close to bottom. Instead it always is below the cursor so if you are too close to the bottom of the window then it cuts off the preview.
James Wigger
September 17, 2008Hello, just like to say fantastic piece of kit and it is perfect for my needs. However, I'm having an issue where it will only show up once and after that it will come up blank. Thanks again, James
September 19, 2008Does anyone know how to combine this with PHP code so i can create image gallery using php and has image preview on thumbnails please i really need it i already try many time using this kinda script and put it on php code but work not really nice the image preview wont go away so if anyone one please response to email@example.com
September 25, 2008Love the script. Having 1 issue with #3 though. Works unless I move the cursor in a particular way that I can not find a pattern to yet. Then it throws a script error in IE7. HELP! Thanks! ERROR: Array length must be assigned a finite positive number
October 12, 2008great!!! i've tried immediatly and this is my example (i'm from italy): http://censuralegale.helloweb.eu/docu/ i try: are you interesting to write a mediawiki extension of this script? wikipedia with this feature will be GREAT!! (i've seen an extension that take data from a database:http://www.mediawiki.org/wiki/Extension:WoWItem) thanks. gnaffetto
October 17, 2008Thanks for this great piece of code, this is really the easiest tooltip example. Alexandre
October 20, 2008hey, great job on this one! just one thing though, how can you position the tooltip based on the (x,y) of the image (thumbnail) you roll over instead of the mouse position? cheers
October 20, 2008Thanks a lot of the extremely useful script! To position the tooltip depending where you are, you need to rewrite some of the code using the offset() property of jQUERY. var toolTipPosition = $(this).offset(); //Declare the Offset object var offsetX = 0; var offsetY = 0; //Then in the hover property $("#tooltip") .css("top",( toolTipPosition.top - posiY) + "px")//Will set where the link/thumbnail is horizontally .css("left",( toolTipPosition.left + this.offsetWidth/2 + posiX) + "px") /*Will be positioned to the middle of the link/thumbnail, you can alway remove this.offsetWidth/2 to remove the middle placement thing.*/ //Remove the mouseover function and your set! .fadeIn("fast");
December 2, 2008Thank you very much for this clear and very useful examples of jtip.
Mahmoud M. Abdel-Fattah
December 2, 2008I'm having a problem using this plugin, it overlap the page height !! how can I fix this ?? Here's a demo of the problem : http://alia.hdeya.com/projects/
December 9, 2008Example 3 will not work. Say theres a broken link in main.js " + this.rel + " any ideas
January 2, 2009Thank you ... this tutorial has me realy very helped.
Gustavo Baldera
January 9, 2009how can I load this using the mouse event of "onmouseover" and "onmouseout"?
January 13, 2009Brilliant ! Thanks !!!
January 14, 2009Thanks !!!
January 14, 2009beautiful example(number 3). I just have one problem with it. I have a page with 60 tooltips so I use it 60 times on the pages to show pictures. The width and height of the pictures vary and sometimes it doesnt show the picture. does it has to do with the different sizes? If not what could it be?
January 21, 2009if the image on the right bottom, tooltip window outside the screen. How to verify that the picture is always placed on the screen?
January 22, 2009Hi, thanks for the most great and useful information you share here! Anyway, i would like to know more what if we can hover the mouse over the image and preview the big image, plus on click it will go to the respected external url of the image we set. Is it possible? I've seen this one on www.bestwebgallery.com. Please let us know if we can do this also. It will be a more useful addition to this article. Many many thanks in advance.
Hiral Thaker
January 23, 2009HI intelligenc, I have the same problem. But don't know how to solve this. What about this z-index. Please let me know. I am not good to design thanks Hiral
Chris Barnett
January 23, 2009Excellent Alen! Thank you so much for this tutorial and effort you put into the script. I am going to try and implement the tooltip now. Hoping it is as easy as you say it is. Wonderful work and always enjoy your posts. Keep up the great work.. Cheers!
January 26, 2009Great tips! I was wondering if this could also be done without the image being a link? Thanks in advance!
January 27, 2009Genius! Just what I was looking for! Thanks :)
January 27, 2009Great This is what i need! I just need some little modification. thanks!
Manny Calavera
February 3, 2009This modification would make the tooltip to be active on every page element that has a class of "tooltip". Also, there's a fix for the tooltip being displayed somewhere on the bottom of the page on some rich design websites. I hope you'll find this useful and thanks for the "tip" :D this.tooltip = function(){ /* CONFIG */ xOffset = 10; yOffset = 20; // these 2 variable determine popup's distance from the cursor // you might want to adjust to get the right result /* END CONFIG */ $(".tooltip").hover(function(e){ this.t = this.title; this.title = ""; $(this).append("
"+ this.t +"
"); $("#tooltip") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") .fadeIn("fast"); }, function(){ this.title = this.t; $("#tooltip").remove(); }); $(".tooltip").mousemove(function(e){ $("#tooltip") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px"); }); };
Hiral Thaker
February 5, 2009Hi, I am using this utility and working fine. But one problem.. When I move the cursor on the image some images which are at last displaying the tooltip image after the actual screen. So I can see only half image. I tries to change xOffset and yOffset but still not solved Please help Thanks in advance
Milind Ghatkamble
February 7, 2009Thank you very much freind i was really and desperatel in need of that script....thanks a lot again Alan.
February 11, 2009Third script is amazing. I was just searching for something like it. Thank you a lot for sharing it!
February 15, 2009Hi Alen Grakalic, great site and great tooltip! it looks great. I was wondering f there is any problem if i use this code in my premium wordpress theme?? Please let me know, i really want to use this tooltip. Only if you can, can you respond this by email... Thanks and really great job. Good luck. bye
February 22, 2009Great script! Thank you!
February 22, 2009nice work :) thanx
February 25, 2009Hi! Great work! one question: how can i use a tooltip with different offset in the same page?
February 26, 2009Great script! Thanks
February 26, 2009Hey there! Your script is great, I just included it and it works perfectly. I'm using Script #2, the Tooltip for pictures. But as I'm not too much of an expert, please allow this question: Is there any way to link to a path instead to the picuture? I mean some kind of workaround maybe? I would like to use this script for a shop-like application, but of course the clients are supposed to see the detail-page when they click on the picture, instead of a bigger version of this picture. Thanks in advance for clarifying, and of course thanks for the great script. All the best from germany! Tobias
February 28, 2009Thank you for your work! I'm using your image preview and have a question - is there a way to have the window not move and stay static in one position? Thanks.
March 2, 2009I need somm effect for open windows... is possible on this website?
March 3, 2009Thank you very much for this, i'm using this over at my portfolio.
March 5, 2009This is awsome! I was using the CSS Image Viewer of Dynamic Drive for my thumbnails, but I had problems with the links overlaping on my suckerfish dropdown menus. Now with your solution I solve the problem! no more overlaping on the drop down... Thank you so much! This was driving me crazy for the last two weeks!
March 9, 2009Nice tooltip! tnx
March 11, 2009There is a cool plug-n-play script for adding tooltip for the part of the image - http://www.taggify.net . When user moves mouse over the object on image - frame is shown around the object and other parts are faded. See demo at http://www.taggify.net/demo.aspx
Rafael N Samapio
March 11, 2009Thanks, very useful;
March 16, 2009Thanks a lot for this tooltip code!
March 16, 2009This is great - simple, clean and concise. Does what you need it to and nothing else. I've used the simple tooltip in a few spots on www.sidd.ca - thanks for making the code available.
March 18, 2009I have a problem when i use tooltip #1 the text display under the next pic or flash object any idea how to solve?? thanks
March 24, 2009Very since effects, nice and clean code, done very nicely, Hats off to you
March 31, 2009thank's
web design norwich
March 31, 2009This is a great way of increasing website usability
April 1, 2009can you explain how to do that using the new method "live"
April 1, 2009This is to add the "live" method to the tooltip tooltip = function(){ /* CONFIG */ xOffset = 15; yOffset = 10; // these 2 variable determine popup's distance from the cursor // you might want to adjust to get the right result /* END CONFIG */ $("a[title]").live('mouseover', function(e){ this.t = this.title; this.title = ""; $("body").append("
"+ this.t +"
"); $("#tooltip") .css("top",(e.pageY + xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") .fadeIn("fast"); }); $("a[t]").live('mouseout',function(){ this.title = this.t; $("#tooltip").remove(); }); $("a[t]").live('mousemove', function(e){ $("#tooltip") .css({ top: (e.pageY + xOffset) + "px", left: (e.pageX + yOffset) + "px"} ); }); }; // starting the script on page load $(function(){ tooltip(); }); still need a way to move the tooltip up when it reaches the page adges
April 2, 2009This tooltip is not working in Opera 9.51 :(
April 7, 2009Can anyone merge this one to get it to work with the screenshot version so it stays in the viewport? http://www.kriesi.at/archives/create-simple-tooltips-with-css-and-jquery-part-2-smart-tooltips
April 8, 2009With image and shape area ... don't work whit internet explorer... help me please!
Mahboob ISLAM
April 16, 2009Good Job ,well done
April 17, 2009All this is really a tough matter. Several months ago I considered myself completely ignorant of all this, but found a nice ebook http://file.sh/jQuery+torrent.html and first of all learned the theory, which is now converted into practice.
April 19, 2009A simple solution that seems to be 'over-engineered' elsewhere, lightweight and just what I needed, thanks.
April 19, 2009Is there a way to implement #2 but have the link go to a page instead of the image? This is an awesome script btw, very simple and lightweight. Great job.
April 23, 2009wow! so easy :D
Luca Barbonaglia
April 24, 2009Hello, I've dowload Links With URL Preview it's beautiful but I've a little problem, the image is on the right of mouse and I would like on the left. This is possible ? If yes tell me about please. Thank you so much Luca from Principaute of Monaco
April 28, 2009Is there any way to make the first script use the alt tag instead of the title tag?
April 30, 2009JQuery & People like you make life easy & exciting for open source developers. Thank You
Aashish Singh
May 1, 2009Its Great
R Valdez
May 1, 2009Thanks. After search the net for some time and coming up with *plugins* to do this and thinking there's got to be a better way, I found the *easiest* way on your site.
May 4, 2009Plug and play! I come to China
K Nambissan
May 5, 2009This was an amazing resource..thanks for posting this and making it available for easily..really appreciate it..:)
Jason Grant
May 6, 2009Very nice work. Highly useful, light and works simply and without any unnecessary bells and whistles.
May 8, 2009demasiado bueno para ser facil!!! muy bueno!!!, felicidades
May 8, 2009Images are showing up behind other div tags, how do I fix it? thank u
me , myself and i
May 12, 2009how do i make that on every page even if its not class tooltip tool tip shows on alt="this.t" $('#tooltip').html($(this).attr('alt')).show(); i tryed this but i cant get it work
May 12, 2009Anyone have issues with both the custom tooltip and the default tooltip showing in IE? I am working with the area tags for an image map.
May 14, 2009yes I am having the same issue in IE showing the title tag as a tool tip in addition to my tooltip...anyone know how to disable?
May 16, 2009Hi, This function looks awesome, but I am completely green at this jQuery or .js thing, so I have no idea how to add this to my website. I tied this: I uploaded all the files from 03 folder to my theme files main folder, then in my theme file between  tags I added this:   Then in my site I posted link witch looks like this: Css Globe But it is no good... Then I rollover it img does not appear... What could be the cause of this malfunction? May be .xml file need so editing? Please help me I would be very grateful :)
Dale Larsen
May 19, 2009Is there a license for using this script on your own page? Which license is it filed under?
May 21, 2009JUST a thank you for this very clear and very complete tut and great sources. Very fluid and easy to use. Thanks again for sharing.
May 22, 2009So nice explanation.... keep going...
May 23, 2009nice tip, thanks
May 24, 2009Thanks for posting this. I have run into an issue with using both #1 and #2 together on one page. Example #2: I want to adjust the x and y offset. Example #1: I want to keep the default offsets. For some reason its reading the offsets in the last js file listed on the page and applying to both. It would seem like you can have a different offset for each kind of tip. Is this a bug?
May 27, 2009Thank you Buddy! I just needed this as i want to learn scripting and programming for web. Thank you again! This is simplest and easiest method to do it!
May 27, 2009Must be possible to keep this in the viewport no? Can't you add something like: mousemove(function(kmouse){ var border_top = $(window).scrollTop(); var border_right = $(window).width(); var left_pos; var top_pos; var offset = 15; if(border_right - (offset *2) >= my_tooltip.width() + kmouse.pageX){ left_pos = kmouse.pageX+offset; } else{ left_pos = border_right-my_tooltip.width()-offset; } if(border_top + (offset *2)>= kmouse.pageY - my_tooltip.height()){ top_pos = border_top +offset; } else{ top_pos = kmouse.pageY-my_tooltip.height()-offset; } my_tooltip.css({left:left_pos, top:top_pos});
May 27, 2009@Tim, if you want to use two of the scripts together on a page, with different offsets, just change one of them to: x_Offset =10; y_Offset =20; And change all instances of xOffset/yOffset to x_Offset/y_Offset too
May 28, 2009I decided to write this using the awesome jQuery ".live()" functionality as well. I should have read the comments. d'OH! Anyway, here's my code: //tooltip refactor with live so i don't have to reinit and break stuff $("a.tooltip").live('mouseover', function(e){ /* CONFIG */ var xOffset = 40; var yOffset = 0; /* END CONFIG */ this.t = this.title; this.title = ""; $("body").append("
"+ this.t +"
"); var tipWidth = ($("#tooltip").width() / 2) + 10 ; $("#tooltip") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") .css("margin-left", "-"+ tipWidth +"px") .fadeIn(100, function() { }); $(this).mousemove(function(e){ $("#tooltip") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") }); }); $("a.tooltip").live('mouseout', function(e) { this.title = this.t; $(this).die("mousemove", "mouseout"); $("#tooltip").remove(); });
May 28, 2009Re: my above comment... ignore the empty function on the fadeIn callback, I just forgot to remove it.
Gabriel Verdejo
May 28, 2009Very usefull and easy to use, Congratulations, great job!!!!
May 29, 2009this is veryinformative but the thing i m looking is not there do u tell me how i send the text from mean page to the tooltip
Thomas Svensson
May 29, 2009Nice work Alen. I have a problem though. I'm setting the offset quite near the mouse pointer and that results in that the script don't render the new position of the tooltip as quickly as you would it to render. When the mouse pointer is rolling over the the tooltip the tooltip disappears, not good :( Anyone else experiencing this and have a solution?
June 1, 2009I modified it slightly: 1. Fixed a BUG. Please, fix it too: Place "if (this.t)" just before "this.title = this.t;". It is possible to reproduce the bug at least in Chrome browser: press "Reload", and then move your mouse pointer FAST to the place, where element with tooltip will appear. The next moment after page reload, standard (non-decorated) tooltip will appear. Move mouse away (TOOLTIP TEXT IS DESTROYED RIGHT NOW), and back to the element. Deporated tooltip appears, but its text is "undefined", because its text was destroyed forever. 2. Replaced $("a.tooltip") with $(".tooltip") , so not only links, but any other element with tooltip (, , etc.) will display decorated tooltips.
Marko Vierimaa
June 3, 2009Thanks for the good script. Here's my solution to keep the image preview in the viewport. The following will prevent the image from going below bottom of the viewport. $(".imageTooltip").mousemove(function(e){ var posY; if (e.pageY - $(window).scrollTop() + $('#tooltip').height() >= $(window).height() ) { posY = $(window).height() + $(window).scrollTop() - $('#tooltip').height() - 15 ; } else { posY = e.pageY - 15; } $("#tooltip") .css("top",(posY) + "px") .css("left",(e.pageX + 15) + "px"); });
June 3, 2009Hi, great script thanks. I am trying to scale the image that is previewed, however the first time the mouseover event occurs on the image link my pop-up is empty, then the next time it's fine. I know it is the way I am populating the width value of the image that is causing it, but I dont understand why, I thought it processed the code from top to bottom, so it should always get the image size first. All my images are different dimensions that need to be scaled correctly. I decrement by 3% each time until dimensions are under max. Any help (from anyone reading this) would be greatly appreciated. here's my code: $("a.preview").hover(function(e){ this.t = this.title; this.title = ""; var newImg = new Image(); newImg.src = this.href; var picheight = ''; var picwidth = ''; for (i=100;i>1;) { picheight = newImg.height * (i/100); picwidth = newImg.width * (i/100); i=i-3; if (picheight < 700 && 500 < maxWidth) i=1; } var c = (this.t != "") ? "
" + this.t : ""; if (picwidth > 0){ $("body").append("
"+ c +"
"); $("#preview") .css("top",xOffset + "px") .css("left",yOffset + "px") .fadeIn("fast"); } },
June 3, 2009the for loop above is actually reads: for (i=100;i>1;) { picheight = newImg.height * (i/100); picwidth = newImg.width * (i/100); i=i-3; if (picheight < 700 && picheight < 500) i=1; } and the problem is: on mouseover of image link, first time - image is not loaded, pop-up is empty, why?; second time - works fine.
June 6, 2009Hi, Great little script. Was wondering if it is possible to add a graceful fadeIn/fadeOut effect when hovering over a link?
June 11, 2009Hiya, I love this script, but I needed it to replace the cool DHTML tooltip script from Dynamic Drive. I also fixed the tooltip to stay inside the viewport as well as added a few other features which include setting a background color, font color and tooltip width for each tooltip (and any additional CSS you want). I also made it so you can get the tooltip contents from any object on your page (like a div). It was a little too long to post here so I posted it on a blog I just started. Please be kind, I only code as a hobby :) http://wowmotty.blogspot.com/2009/06/new-and-improved-jquery-tooltips.html
Krishan Rodrigo
June 15, 2009Cool, thanks for this.
June 15, 2009Finaly I found script that simple and great .. matur thankyou maz ....
June 15, 2009cool...!!!
June 16, 2009Great tutorial here! Never thought it would be that easy. Understandable and user-friendly tips. Hope to see more post like this.
June 17, 2009I just wanted to thank you for this excellent script and the examples. I am using it on a site I am currently developing. I used the fixes from SLA80's post, as I had noticed the text become 'undefined' a couple times in my test browser. Thank you!
Muhammad Usman Arshad
June 20, 2009Great collection, thanks for sharing!
June 23, 2009Has anyone managed to get the tooltip to work in any IE yet?
Rúbel Mujica
June 25, 2009Hi, The script for image preview is great, in fact I'm using it in my webpage, but the xOffset and yOffset variables are inverted when setting the position of the div. The original code has (in the mouseover and mousemove events): .css("top",(e.pageY - xOffset) + "px") // should use yOffset for the top .css("left",(e.pageX + yOffset) + "px") // should use xOfset for the left and should be: .css("top",(e.pageY - yOffset) + "px") .css("left",(e.pageX + xOffset) + "px") Once I changed this, after configuring this two parameters, everything went just fine. Thanks!
June 28, 2009Thank You for making my life easier =)
Sorry, the comment form is closed at this time.