sweetysweety Posted June 25, 2013 Share Posted June 25, 2013 hi,i have a web site and it has object tags in it.the object tag consists another website.i'm trying to do that,reaching the embedded page,whichidentifying object tag and make some processes according to main page and embedded page.i actually want to do that,i create a button on mainpage.but i want to appear that button,only user clicks inside some of the embedded site's button. is there any way to do this? Link to comment Share on other sites More sharing options...
davej Posted June 25, 2013 Share Posted June 25, 2013 "Embedded" meaning what? Link to comment Share on other sites More sharing options...
dsonesuk Posted June 25, 2013 Share Posted June 25, 2013 I think you will find because of security, you would not be allowed to do this, and i think some browsers won't fully support showing another website using object tag, thats why iframe would be better, but you would still have trouble trying access parts of embedded page, again because of the issue of security. Link to comment Share on other sites More sharing options...
sweetysweety Posted June 26, 2013 Author Share Posted June 26, 2013 embed means that: <div class="slide"> <object data="iletisim.html" height="315" width="804" type="text/html" class="iletisimSayfasi" name="iletisimSayfasi" id="iletisimSayfasi"></object> </div> i'm trying to reach elements inside of iletisim.html from my main page. Link to comment Share on other sites More sharing options...
davej Posted June 27, 2013 Share Posted June 27, 2013 (edited) http://www.w3schools.com/tags/tag_object.asp I don't know anything about this but I guess you could look at... http://www.w3schools.com/jsref/met_document_importnode.asp Or perhaps adoptNode... http://www.w3schools.com/jsref/dom_obj_document.asp Edited June 28, 2013 by davej Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now