sportsquid Posted May 23, 2014 Share Posted May 23, 2014 so I am not the best coder, and have been having a really hard time getting this devision in javascript. I would put it in html, but I use javascript to clear the page <div id="test" style='position:fixed;bottom:0;left:0; height:76;background:darkorange;width:100%;'><h><object width="75" onclick="web()" height="75" data="img1.jpg"></object> <object width="75" onclick="mdoge()" height="75" data="img2.jpg"></object> <object width="75" onclick="word()" height="75" data="img3.jpg"></object></h></div> so that code above is the code I need to put in a document.write of something of equivalence. Is there any way to put this in javascript? thank you Quote Link to comment https://forums.phpfreaks.com/topic/288700-getting-a-in-javascript/ Share on other sites More sharing options...
sportsquid Posted May 23, 2014 Author Share Posted May 23, 2014 would like to apologize if this is a silly question, but I really don't know how to write that in javascript. Quote Link to comment https://forums.phpfreaks.com/topic/288700-getting-a-in-javascript/#findComment-1480553 Share on other sites More sharing options...
Frank P Posted June 19, 2014 Share Posted June 19, 2014 (edited) You could start with clarifying the question. What do you mean with "I would put it in html, but I use javascript to clear the page"? Are you clearing all of the HTML with Javascript? Can you tell us something more about that, because that sounds really odd? And have you searched the internet with "javascript document.write" and if so, what remained unclear after that? Edited June 19, 2014 by Frank P Quote Link to comment https://forums.phpfreaks.com/topic/288700-getting-a-in-javascript/#findComment-1482912 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.