Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML buttons

Status
Not open for further replies.

yavuz

Technical User
Apr 27, 2002
12
BE

Is it possible to create a HTML button without using the HTML tags or document.write() ?
 
sounds like you are looking for a WYSIWYG editor
it is a graphical interface where you draw what you want on the pages
there are a lot out there
you may have heard of Dreamweaver
that is professional program but there are heaps of free ones on the net

hotdog is one program
but hey there are heaps but i wouldnt know a good free one
 
I am not clear if the question pertains to creating an image that functions as a button or something else but create or "borrow" an image that you like and use
<input type=&quot;image&quot; src=&quot;nameofimage.jpg&quot;>
This will act as a form submission in place of the usual <input type=&quot;submit&quot;>
Be careful though - if you need to support older versions of Netscape. It can cause issues and you may need to submit the form using javascript
<input type=&quot;image&quot; src=&quot;nameofimage.jpg&quot; onclick=&quot;javascript:document.formName.submit();&quot;>
 
I'm trying to make a windows-like menubar, like the one you can see at , but with a .js file so you can make your own menubar with giving some parameters. But I have problems with document.write() in .js , so I'm asking if there is a way to create the same buttons that you get with <button></button> tags, but pure with javascript, without any html.
1. Is it possible to create that buttons with javascript ?
2. Or how can I solve that problem of document.write() ? (in the .js document.write() doesn't work)
 
:)
In fact I don't need a menubar . But I like programming things and I'm learning it.
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top