1

What I am trying to do is set the hover effect on the tumblr follow and dashboard button on the themes I make to false.

If you don't know, they have some sort of iframe with the id #tumblr_controls that they have automatically on your page with their own properties.

How would I be able to turn off the individual hover effects of those links in the iframe while preserving the click abilities and all?

Danny Beckett
  • 20,529
  • 24
  • 107
  • 134
Ryan Saxe
  • 17,123
  • 23
  • 80
  • 128
  • 2
    welcome to stack overflow , please try to include your code .. other wise no body can help .. we are not mind readers , and we wont write you your code .. please edit it to get the desired response :) – Hussein Nazzal Mar 03 '13 at 02:53
  • there isn't code and that's the main issue for me. It comes with it and is not directly in the source code, which is why I can't simply just disable the hover effect. The question is if you have an iframe, can you disable hover effects on the elements in that iframe – Ryan Saxe Mar 03 '13 at 02:57
  • then please visit http://stackoverflow.com/questions/4449477/using-jquery-to-style-iframe – Hussein Nazzal Mar 03 '13 at 02:59
  • well then where are you going to see the iframe? whats that url? – albert Mar 03 '13 at 03:56
  • it's alright, I took a different method and just figured out the hover effect used rather than just not having one. Thanks – Ryan Saxe Mar 03 '13 at 15:26

1 Answers1

0

You cannot change CSS (or JS) within an iframe from a different domain unfortunately. What you see is what you get. It was likely done like this for security reasons, for example Twitter doesn't want your site injecting dodgy code into their tweet iframe as it would reflect wrongly on them.

See this for more details 'Can I apply CSS to the elements within an iframe?'

Community
  • 1
  • 1
Daniel Imms
  • 47,944
  • 19
  • 150
  • 166