SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2013
    Location
    Istanbul,Turkey
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question reaching elements of object tag of data attribute

    Code:
    <object data="iletisim.html" height="350" width="900" type="text/html" class="iletisimSayfasi" name="iletisimSayfasi" id="iletisimSayfasi"></object>
    i'm trying to reach elements inside of "iletisim.html".both pages are at the same domain.how can i do?

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,716
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by sweetysweety View Post
    i'm trying to reach elements inside of "iletisim.html".both pages are at the same domain.how can i do?
    Normally the contentDocument property is used to gain access to the page.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2013
    Location
    Istanbul,Turkey
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm trying to do that:
    when a user click a link from page that located in iframe,a div which containing like this<div><a><img/></a></div>
    should appear at a specialised side of index page.the visibility of a div,which located on index page,is hidden at the beginning.

    i mean in the picture,when user clicks at the red icon on the mail address,a new icon will appear on the rigt bottom of content box.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •