Jump to content

Elmacik

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by Elmacik

  1. Thanks for the answers,But I didnt myself write the above codes. The codes I gave above are completely copied from "www.w3.org"F-Man,Maybe I am doing it right way, but the document still shows up with default fonts :-\

  2. Hi folks,I am willing to use a non-existing font in the user agent. How can I make the client user agent to auto-download my font and view the page with that?Is there a way by coding? Or the agent will automatically get it if it cant find?This is what I found in w3.org :

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>  <HEAD>    <TITLE>Font test</TITLE>    <STYLE TYPE="text/css" MEDIA="screen, print">      @font-face {        font-family: "Robson Celtic";        src: url("http://site/fonts/rob-celt")      }      H1 { font-family: "Robson Celtic", serif }    </STYLE>  </HEAD>  <BODY>    <H1> This heading is displayed using Robson Celtic</H1>  </BODY></HTML>

    Is this exactly what I mean? :) I tried bu no luck..And what does @, # mean in CSS coding?

  3. thanks for the answers,1- If you put one form into another, the second one doesnt work. Actually it works, but for the form 1 :) I mean form2's submit button submits the form1...How I found a solution? Here:<form> blah blah <form> blah blah <form> blah blah </form> </form></form>this way I put an extra third form. 1st and 3rd works, but 2nd doesnt.(In deed, to put a form into another is not allowed and it screws up)2- I will look for iframes, thanks :(3-

    3- yes, by css, like <td style="background-image: url('www.blahblah.com/image.jpg')">
    look at here please :)
    3- is there a way to set a <td> background to a page? (and not a color or image)
  4. actually, i have 3 questions. but i didnt want to make a mess by opening 3 threads for little questions.1- is there a way to make it possible to place one form into another?2- is there a way to make frames work inside tables?3- is there a way to set a <td> background to a page? (and not a color or image)note: i know these are not possible in normal ways. but i really need at least one of them....story: i need to place a form into another. but form cannot take place in other forms, i wanted to put a frame instead of putting the form directly. but frames cannot take place in tables, i wanted to make it a <td> background, but couldnt. i must do in either waythanks in advance

  5. thanks a lot MadPotato.and sorry for my english. its been 6 years finished the course and as a result, i forgot nearly everything.let me turn back to the Post #7 and Post #8 that are sent by you.can we use this:document.forms.form1name.submit();to submit a form?and can i attach two functions to one button? (offtopic question)and take it easy if we cant figure out, thanks for the effort.. thanks a loteditjust for a referance,i learn from some friend, he used vars and getElementById to chage the file name attributes and forum actions for each form. it works very well.thanks for your effort too.and the above 2 questions are still alive and unanswered :)

  6. hmm... well i am neither Brazilian, nor Portugese or nor Spanish :)MadPotato, thanks a lot for your help, but my head really went rubbish.I confused everything.Of course i have the form codes. (like index.php of your example)but this is the point i cant figure out,there will be three of forms. all they have different actions and different file name attributes (<input type=file name=something>)so, using one form IMO wont work for all three of them as they wont accept the same name attribute.

  7. muchas gracias :)thanks a lot MadPotato..i couldnt make it work though. i am really very bad at coding.in your opinion, in the last examples you gave, what should i use for here in example 1 of yours: here goes the code to submit form 1and in here, in example 2 of yours? ://Here comes the code to upload to server 1

  8. how can i set a select box item to open a window with the desired width/height and showing the desired coordinates of the opening page in that window?i mean, i will define the height and width of the window that will open. (with no scrollbars, no addressbar, no menubar.)of course there will be a page opening in this window. but, i dont want to view the beginning of the page, i want to view some specific coordinates.how can i do that?i beg your help, thanks in advance

  9. first, thanks a lot for caring.now, i summerize,i have 3 of sites to upload and host files in.i want to make a select box to let me choose which site to be used to upload onto.the form will consist of three parts.one is the file browsing, second is the select box that will contain three sites, and one button to make the upload action...

  10. i have for example 3 of forms. all of them have their own actions.for example i will use these forms to upload files to different sites of mine. here is a code example:

    <form name="form1" action="http://something" method="post"><input type="file" name="site1" /><input type="submit" value="Upload!" /></form>-------------------------------------------------------------------------------------------<form name="form2" action="http://someotherthing" method="post"><input type="file" name="site2" /><input type="submit" value="Upload!" /></form>--------------------------------------------------------------------------------------------<form name="form3" action="http://differentthing" method="post"><input type="file" name="site3" /><input type="submit" value="Upload!" /></form>

    now, i want to make this sites appear in a select box. for example:

    <form name="combined" action=""><input type="file" name="file what to name this??? 3 different names above(!)" /><select name="selecting"><option value="">select the server</option><option value="form_1">upload to site 1</option><option value="form_2">upload to site 2</option><option value="form_3">upload to site 3</option></select><input type="submit (or should use button? )" onclick="if (this.selectedIndex = 0) { alert('you didnt select a server!') } elseif (this.form.file.value = 0) { alert('you didnt select a file to upload!') } elseif (this.options[this.selectedIndex].value = form_1) { here goes the code to submit form 1 } elseif (this.options[this.selectedIndex].value = form_2) { here goes the code to submit form 2 } elseif (this.options[this.selectedIndex].value = form_3) { here goes the code to submit form 3 }" /></form>

    my knowledge about javascript approaches to zero.i read the tutorials in w3school (if.. elseif statements)but it was very simple to meet my question.anybody? please help its really needed

×
×
  • Create New...