I'm assuming you're modifying the style attribute "top" for the element
$("anyid") -- and I'm further assuming that you're feeding it an integer. If
you're doing:

$("anyid").style.top = 42;

Change it to:

$("anyid").style.top = "42px";

If my assumptions are completely incorrect, please isolate the failing line
of code and send that to the list.

Cheers,
Alex

On Wed, Apr 7, 2010 at 3:42 PM, Hariz Soleminio <
harriz_solemi...@rocketmail.com> wrote:

> Hi Guys,
>
> I'll ask a stupid question of newbies like me. I have a prototype and I use
> firebug for the development.
>
> I keep having "prototype [Break on this error] Error in parsing value for
> 'top'. " in my console.
>
> what seems to be the problem? is it my scripting? but I think i don't have
> any problem in my scripting.
>
> Since I'm just using a $("anyid")  in my development.
>
>
> Thanks in advance guys.
>
> ------------------------------
> Feel safer online. Upgrade to the new, safer Internet Explorer 8
> <http://us.lrd.yahoo.com/_ylc=X3oDMTFnNHZxc2k1BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjUEdG1fbmV0A1lhaG9vIQ--/SIG=11k7khaee/**http%3A//downloads.yahoo.com/sg/internetexplorer/>optimized
> for Yahoo! to put your mind at peace. It's free.
> Get IE8 
> here!<http://us.lrd.yahoo.com/_ylc=X3oDMTFnNHZxc2k1BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjUEdG1fbmV0A1lhaG9vIQ--/SIG=11k7khaee/**http%3A//downloads.yahoo.com/sg/internetexplorer/>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to