Jump to content

naremkim

Members
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About naremkim

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. naremkim

    jQuery .prop() method

    I'm going to mutually beneficial way. I thought w3schools is operated by W3C (World Wide Web Consortium) but it is not. I found w3schools' satement at https://www.w3schools.com/about/default.asp. It is a tricky forum. I think you can delete harmful threads to you. Then why you can't erase my thread? If you pursue to get paid then you can make paid help requested section. Again I'd like you to erase this thread of mine. It is injustice you ignore the thread opener's erase request. I'll try to contact the operator of this forum through its 'Contact Us' page. This thread can raise some disadvantage to my site(s). I posted this tread putting up with some disadvantage to my site(s) due to the code problem which I have encountered is somewhat crucial thing. I thought it can be mutually beneficial to both party if I can get the resolution of code. P.S. I'm going to cancel the forwarding of one of my domains, excellentcoders.com, to w3schools.com site.
  2. naremkim

    jQuery .prop() method

    I was expecting some code help but not verbal thing. Verbal thing can make the resolution to get more complicated. If you don't provide code help then please let me get this thread erased from this forum. Can you let me get how to erase this thread ?
  3. naremkim

    jQuery .prop() method

    Yes, it is. Options for searching at 'Ehyeh' which search result appears in the manner as on http://www.ehyeh.com and for searching at the other three search engines which search result appears on the pop up window in the manner as on http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-1.html when one of the other three search engine option was selected. So I wrote in my previous post. Please don't hesitate to ask further question or more information. Thanks
  4. naremkim

    jQuery .prop() method

    Hi! Justsomeguy, Because I thought the two forms can't be integrated to one as I mentioned in P.S. Could you get me the solution for Javascript or the original way, i.e. two forms system? I prefer the Javascript solution if you are willing to. Thanks for your reply. naremkim
  5. naremkim

    jQuery .prop() method

    Thanks for your replying, justsomeguy. As you can check, http://www.ehyeh.com has its own web search system though it has not yet been completed. Putting some search term in the field and press the search button then you will get 'No results found.' output on its search result page. I would like to keep this search result page showing in this manner other than this page shown in a popup window like when the search term put in the search field in the page http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-1.html. The latter page show 'You didn't submit a keyword.' output. It means the search system doesn't work properly on the latter page search field. It is the reasons why I'm trying to two forms system, but make clarifying, the form should be showing just one form on the page but can be switched to another form on the page when the proper 'option' clicked. The two forms shown on the page http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-0-0.html are unexpected appearance. I was expected the upper form shown on the load and then the lower form shown in replace of the upper form after one of the options in the 'select' in the upper form clicked. Please don't hesitate if you have any question or need more information. Best, naremkim P.S. The first form is and the second form is <form name="searchform" onSubmit="return dosearch();"> I think it can't be integrated to one.
  6. naremkim

    jQuery .prop() method

    Hi ! I’m new to this forum. First of all thanks for the w3schools site. I made a forwarding one of my domains, http://www.excellentcoders.com, to the w3schools.com site in appreciation of its contribution to the online world to be going on. The online world will be no longer to be kept going if it harms the society. The w3schools’ effort contributes for the online world to be able to be stayed beneficial to the society while many malicious/harmful users harm the online world, i.e. other users. Well however I’m currently developing a web site, ehyeh.com, which is a hub site to many domains / web sites of mine, and encountering some problems. 1. There is a web search section on the site on the top in developing. Please confer the following snippets <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <!-- The Main Issue Code --> <script> $(document).ready(function(){ $("form").onload(function(){ $( "#searchform" ).prop( "disabled", false ); $( "#searchform1" ).prop( "disabled", true ); }); $("option.first").click(function(){ $( "#searchform" ).prop( "disabled", true ); $( "#searchform1" ).prop( "disabled", false ); $("option.second").click(function(){ $( "#searchform" ).prop( "disabled", false ); $( "#searchform1" ).prop( "disabled", true ); }); </script> <!-- The Main Issue Code end --> <!-- Multi Search Engine --> <script type="text/javascript"> function dosearch() { var sf=document.searchform; var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value); win=window.open(submitto,"newwindow1","width=780, height=520,toolbar=yes,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=15,left=15"); return false; } </script> <!-- Multi Search Engine end --> <!-- For Toggle Menu --> <script> function myFunction() { var x = document.getElementById("powermenu1"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } } </script> <!-- For Toggle Menu end --> <BODY onload="myFunction()> <!-- myFunction() is for a toggle function, which I got from w3schools, for another section --> <TABLE width=973px height=90px background="gradient2.png" align="center" style="border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #999;border-bottom:2px solid #000;"> <TR><TD rowspan=6 width=220px align=left valign=top>&nbsp;&nbsp;<img src="ehyehlogo3.png"></TD> <TD rowspan=6 width=533px align=center valign=center> <form id="searchform" action="search.php" method="GET"> <font face="Arial" size="3"> <select name="sengines" id="MySelect" size="1"> <option value="" selected>Ehyeh</option> <option class="first" value="http://www.google.com/search?q=">Google</option> <option class="first" value="http://search.yahoo.com/search?p=">Yahoo!</option> <option class="first" value="http://www.bing.com/search?q=">Bing</option> </select> <input style="display: none;" disabled="disabled" size="1" type="text"> <input type="text" size="30" name="search" value="Under construction" onfocus="clearForm(this)" onblur="rewForm(this)"> <input type="submit" name="submit" value="Search"> </font> </form> <form name="searchform1" onSubmit="return dosearch();"> <select name="sengines" id="MySelect" size="1"> <option class="second" value="">Ehyeh</option> <option value="http://www.google.com/search?q=">Google</option> <option value="http://search.yahoo.com/search?p=">Yahoo!</option> <option value="http://www.bing.com/search?q=">Bing</option> </select> <input type="text" size="30" name="searchterms" value="Under construction" onfocus="clearForm(this)" onblur="rewForm(this)"> <input type="submit" name="submit" value="Search"> </TD> <TD width=220px align=center valign=center> <font size=3 align=left><strong>Better society to live</strong></font><br/> <font size=1.5>Don't hurt/harm others.<br/> Those who hurt/harm others are garbages.<br/> Love/enjoy life.<br/> Try to do the things rightly.<br/> [ Do your best and be successful. ]</font><br/> </TD> </TR> </TABLE> and the page at http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-0-0.html. I’m trying to make the form id’ed ‘searchform’, which should be activated on the page when the page is loaded, to be switched with the form id’ed ‘searchform1’ when the option class’ed ‘first’ under form ‘searchform’ clicked, and the form id’ed ‘searchform1’, which should be activated after the clicking, to be switched with the form id’ed ‘searchform’ when the option class’ed ‘second’ under form ‘searchform1’ clicked and of course the form should be appeared one at a time in switching at the exact one location. But the above mentioned code doesn’t work properly. Why I’m trying to do this is that I want the search function, which I have developed so far and can be found at http://www.ehyeh.com, to be kept stay on the page while the addition on the options/select to be worked in switching. You can check up how far the search function was developed, putting some search term in the field. 2. There is the second block to be showed on the page but it is automatically hided after once showed up for about a second in time when the page is loading. You can find the second block at http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-1.html. The block heading is “It has been on the World War III which is nuclear war since 9.11.” 3. There is a clickable button, which trigger to execute the function “myFunction()”, to be showed a drop down menu on a picture back ground in the mid of the page. When it was clicked the happening of the above paragraph 2 newly occurred and in the address field URI showed somewhat frustratingly. And the drop down menu should not be showed up on loaded page but it showed up on loaded page. It should be shown up only on the button clicked likewise the page http://ehyeh.com/ehyehindex-BackGround-Trial-4-0-1.html mentioned in paragraph 2 above. Could you get me a resolution ?
×