Hi...
i m trying to give my form opacity effect with external javascript.
In that i want to get div element's height and width.
My div width is fixed like 500px.
Height is not fixed one.
According to the content it ill be resized.
so i used like below
var dimensions = element.getDimensions();
so it gives me height and width.
but gives only in FIrefox.
It doesn't Work in IE 7.
so i want to know how can i get height and width of div in IE7.
and could u tell me whether the below code work in IE7 or not?
var dimensions = element.getDimensions();
Pls help ME

Online

Report | Delete | Edit | Quote
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to