2 Replies - 5484 Views - Last Post: 12 June 2013 - 04:41 AM

#1 jigabyte   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 06-June 13

css('visibility','visible') not working.

Posted 12 June 2013 - 02:53 AM

Hi,

I have a div with a background image which is absolute positioned. In my css I set the visibility to hidden. When I drag another div image and drop it in the drop I do $('#divid').css('visibility','visible'). It steps over the code but does not show it.

Any ideas please?

Regards,

Jiggy.
Is This A Good Question/Topic? 0
  • +

Replies To: css('visibility','visible') not working.

#2 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6957
  • View blog
  • Posts: 28,696
  • Joined: 12-December 12

Re: css('visibility','visible') not working.

Posted 12 June 2013 - 04:21 AM

When you say it "steps over the code" does it actually execute the line, or by-pass it?

Also test by temporarily removing visibility: hidden from your css to see whether it actually displays in the page.

Otherwise, you'll need to post more of your code.
Was This Post Helpful? 0
  • +
  • -

#3 jigabyte   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 06-June 13

Re: css('visibility','visible') not working.

Posted 12 June 2013 - 04:41 AM

Hi,

If I remove the hidden it shows it and it when I step through it does not fully highlight the line just at the start

Regards,

Jiggy
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1