Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2007 times and has 1 reply Next Thread
Male hikapil
Stranger




Joined: May 29, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Transparent DIV problem in Firefox

I have created a Transparent DIV and on DIV to shoe some content instead of pop-up...

That upper DIV should move up and down with page scroll. The also have a Iframe and i am calculating Iframe content height and then placing that DIV first and then setting its placement throught this Expression in CSS.

Its working fine in IE, not not moving with page scroll in Firefox:

top: expression( (110+( ignoreMe = body.document.documentElement.scrollTop ? body.document.documentElement.scrollTop : body.document.body.scrollTop ) ) + 'px' );

This style is for that upper DIV that contain some text and need to move with scroll.

Can anybody help me with this.....
Please.....

[May 29, 2008 3:38:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male falkencreative
Advanced Member
Member's Avatar

USA
Joined: Aug 14, 2007
Post Count: 1129
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent DIV problem in Firefox

As far as I know, CSS Expressions are IE only, so they won't work in other browsers. You would probably be best using regular javascript to do this.
----------------------------------------
Benjamin Falk | student : designer : developer
Twitter: falkencreative
[May 29, 2008 3:51:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread