Jump to content

getting a <div> in javascript


sportsquid

Recommended Posts

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 :happy-04:  

Link to comment
Share on other sites

  • 4 weeks later...

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 by Frank P
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.