Controlling Information outside of an IFRAME?

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I have a span tag that I would like to use innerText with for an onMouseOver

This is what I use outside of the IFRAME:
Code: [ Select ]
onMouseOver="document.all.info.innerText='text';


What do I need to do to make it work from inside of an IFRAME to the main body, I thought document._top or document._parent but those don't work.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I was going to delete this post, but it is a good little bit of information. This is the solution;

Code: [ Select ]
parent.document.all.info.innnerText
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9089
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Thanks for the information, also glad you figured out your problem :)
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I would never have though putting parent before document....that just proves my great hierarchy skills ;)

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 73 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.