Jump to content

gogi100

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About gogi100

  • Rank
    Newbie
  1. i have listbox in the form of <select> <option>I'm short</option> <option>I'm medium text</option> <option>I'm a very very very very very very very very very long text</option> <option>I'm a very very very very very very very very very long text</option> <option>I'm short</option> </select> how i can wrap text to long text of option elements? i know that i can to make with css but code cannot wrap text. some javascript maybe?
  2. the version 1.10 jquery also is not working, then problem is with scripting language thanks
  3. maybe problem with <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> i don'know
  4. this code make problem in firefox $(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/text_file.txt"); }); }); how i resolve this problem in firefox? this code load contains of text file in listbox in ie and chrome but not in firefox.
  5. i don'tknow which language but i have a link http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands where i used script for this my project.
  6. this is combining jquery and hfs http file server programming language
  7. i have code that is working in chrome and internet explorer but not in firefox {.if|{.member of|bud.}| {:<script type="text/javascript">$(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/pitanja-b.txt"); }); });</script>:}| {.if|{.member of|lok.}| {:<script type="text/javascript">$(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/pitanja-l.txt"); }); });</script>:}|{.if|{.member of|oos.}| {:<script type="text/javascript">$(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/pitanja-o.txt"); }); });</script>:}|{.if|{.member of|jav.}| {:<script type="text/javascript">$(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/pitanja-javna_p.txt"); }); });</script>:}|{.if|{.member of|nbs.}| {:<script type="text/javascript">$(document).ready(function(){ $("select").ready(function(){ $("#lista").load("/template/pitanja-n.txt"); }); });</script>:} /if.} /if.} /if.} /if.} /if.} {.if| {.get|can upload.} |{: <fieldset id='upload'> <legend><img src="/~img32"> Пребацивање фајлова</legend> <form action="." method='post' enctype="multipart/form-data" style='text-align:center; padding-top:1%;'> <div style='text-align:center;'> <input type="hidden" name="0" value=""> <input type="hidden" name="1" value="pitanje1"> <input type="hidden" name="2" value="pitanje2"> <input type="hidden" name="3" value="pitanje3"> <input type="hidden" name="4" value="pitanje4"> <input type="hidden" name="5" value="pitanje5"> <select id="lista" name="metodologija" onchange="change(this)" > </select> </div> <br/> <div > <input disabled id="skriveno" type='file' name='file' multiple /> <input type='submit' value='{.!lv_addInput.}' /> </div> </form> </fieldset> :}.} the contains of one of text file is <option value="0" selected disabled >Изабери тип</option> <option value="1" >Б-Стa</option> <option value="2" >Б-Бил</option> <option value="3" >Б-Рач</option> <option value="4" >Б-Јав</option> <option value="5" >Б-Неп</option> why this cod is not working in firefox? thanks
  8. i want make the filtering of listbox view based on logged current user. i use hfs http server template. i have if statement in hfs template and in if statement i need make javascript. i dont know how? pls help me my code is below <script type="text/javascript"> windows.onfocus=test(){ var budzet=document.getElementById("budzet"); var lokal=document.getElementById("lokal"); var ooso=document.getElementById("ooso"); var jp=document.getElementById("jp"); var nbs=document.getElementById("nbs"); var svrsishodnost=document.getElementById("svrsishodnost"); budzet.style.visibility='visible lokal.style.visibility='hidden ooso.style.visibility='hidden jp.style.visibility='hidden nbs.style.visibility='hidden svrsishodnost.style.visibility='hidden } </script> <fieldset id='upload'> <legend><img src="/~img32"> Пребацивање фајлова</legend> <form action="." method='post' enctype="multipart/form-data" style='text-align:center; padding-top:1%;'> <div style='text-align:center;'> <input type="hidden" name="0" value=""> <input type="hidden" name="1" value="b-statut"> <input type="hidden" name="2" value="b-bilans stanja"> <input type="hidden" name="3" value="b-racunovodstvena dokumentacija"> <input type="hidden" name="4" value="b-javne nabavke"> <input type="hidden" name="5" value="l-statut"> <input type="hidden" name="6" value="l-bilans stanja"> <input type="hidden" name="7" value="l-racunovodstvena dokumentacija"> <input type="hidden" name="8" value="l-javne nabavke"> <input type="hidden" name="9" value="o-statut"> <input type="hidden" name="10" value="o-bilans stanja"> <input type="hidden" name="11" value="o-racunovodstvena dokumentacija"> <input type="hidden" name="12" value="o-javne nabavke"> <input type="hidden" name="13" value="j-statut"> <input type="hidden" name="14" value="j-bilans stanja"> <input type="hidden" name="15" value="j-racunovodstvena dokumentacija"> <input type="hidden" name="16" value="j-javne nabavke"> <input type="hidden" name="17" value="n-statut"> <input type="hidden" name="18" value="n-bilans stanja"> <input type="hidden" name="19" value="n-racunovodstvena dokumentacija"> <input type="hidden" name="20" value="n-javne nabavke"> <input type="hidden" name="21" value="s-statut"> <input type="hidden" name="22" value="s-bilans stanja"> <input type="hidden" name="23" value="s-racunovodstvena dokumentacija"> <input type="hidden" name="24" value="s-javne nabavke"> <select id="lista" name="metodologija" onchange="change(this)" onfocus="test(this)" > <option id="budzet" value="0" selected disabled >Изабери тип документа</option> <option id="budzet" value="1" >Б-Статут</option> <option id="budzet" value="2" >Б-Биланс стања</option> <option id="budzet" value="3" >Б-Рачуноводствена документација</option> <option id="budzet" value="4" >Б-Јавне набавке</option> <option id="lokal" value="5" >Л-Статут</option> <option id="lokal" value="6" >Л-Биланс стања</option> <option id="lokal" value="7" >Л-Рачуноводствена документација</option> <option id="lokal" value="8" >Л-Јавне набавке</option> <option id="ooso" value="9" >О-Статут</option> <option id="ooso" value="10" >О-Биланс стања</option> <option id="ooso" value="11" >О-Рачуноводствена документација</option> <option id="ooso" value="12" >О-Јавне набавке</option> <option id="jp" value="13" >Ј-Статут</option> <option id="jp" value="14" >Ј-Биланс стања</option> <option id="jp" value="15" >Ј-Рачуноводствена документација</option> <option id="jp" value="16" >Ј-Јавне набавке</option> <option id="nbs" value="17" >Н-Статут</option> <option id="nbs" value="18" >Н-Биланс стања</option> <option id="nbs" value="19" >Н-Рачуноводствена документација</option> <option id="nbs" value="20" >Н-Јавне набавке</option> <option id="svrsishodnost" value="21" >С-Статут</option> <option id="svrsishodnost" value="22" >С-Биланс стања</option> <option id="svrsishodnost" value="23" >С-Рачуноводствена документација</option> <option id="svrsishodnost" value="24" >С-Јавне набавке</option> </select> </div> <br/> <div > <input disabled id="skriveno" type='file' name='file' multiple /> <input type='submit' value='{.!lv_addInput.}' /> </div> </form> </fieldset> :}.} how i solve this problem? thanks
×
×
  • Create New...