Jump to content

pankaj.ghadge

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by pankaj.ghadge

  1. I have already closed the span tag.I think meaning of <span/> and <span></span> are same.......Thanks for reply ...
  2. I have found solution. we can not write only tag in anchor tag. <a href="/clients/enable_disable/20"><span class="enb" title="enbd"/></a> Does not work in google chrome browser.<a href="/clients/enable_disable/20"><span class="enb" title="enbd"/> </a>now it works in google chrome browser great.Why we can not write only tag in anchor tag. Other solutions are welcome.
  3. Hi All, I have a issue related to google chrome browser. This browser is not showing background images. I don't know this issue is occurring because of id or shown that image in table td or javascript is used in that. when i debugged that code through chrome fire bug. it is showing me in following format. Means anchor tag and span tag are in invisible format. but i didn't apply any style related to display. In firefox and ie it works great. <td id="td-enable-actions"> <a onclick=" event.returnValue = false; return false;" id="enable-disable-0" href="/admins/enableDisable/8/login_type:1/external_id:0"> <span title="Disabled" class="disable"/></a> Note:- Above code or say anchor tag is in invisible format in chrome browser when i debugged it from firebug. but i didn't apply any style related to display none. <script type="text/javascript"> //<![CDATA[ Event.observe('enable-disable-0', 'click', function(event) { if (confirm('Are you sure you want to change the status of this Admin?')) { new Ajax.Updater('enable-disable-0','/admins/enableDisable/8/login_type:1/external_id:0', {asynchronous:true, evalScripts:true, requestHeaders:['X-Update', 'enable-disable-0'] }); } else { event.returnValue = false; return false; } }, false); //]]></script> </td> Css code as bellow: a {default.css (line 542)color:#000000;font-weight:bold;text-decoration:none;}span.disable {background-image:url(../img/disable.png);background-repeat:no-repeat;padding-bottom:3px;padding-left:10px;padding-right:5px;} Help me to solve this problem. Thanks in advance.
  4. Hello, Suppose a directory contain 100 or more file and i want to display only 5 file link in first page. Then i can use pagination to move between these file listing. e.g These are the link to file. when user will click on these link then he/she will see the file contain. file1.txtfile2.txtfile3.txtfile4.txtfile5.txt 1 2 3 4 5 Next I want the solution like this .......Another problem is i want sort the file date wise or by name wiselisting will be like this data of file creation || files2008-11-12 | | file2.txt2008-11-13 | | file1.txt2008-11-14 | | file3.txt2008-11-17 | | file4.txt2008-11-18 | | file5.txt1 2 3 4 5 Nextwhen user will click on date link then listing will be sorted by date . when user will click on file link then listing will be sorted by file name.Is this possible ...........................please tell me the solution.........................................
  5. Hello , I want to search a word from a text file. e.g search word:- hello, hi welcome to php Search is separated by comma or by space. Consider there is one directory that contain many files and i want to search that word in every file. if "hello hi welcome to php" words found in these file not continuously .The result will show the link to these file. when user will click on these file it will show the contain (Search word will be shown in different color like in yellow color). File may contain these word (HELLO HI WELCOME to Php) in capital but still i want to show the result . e.g <input type=text name=txtSearch id=idSearch><input type=button value=SEARCH onclick='search(idSearch.value);'> Result will show the links to these file ..File1.logFile2.logFile3.logFile4.logWhen user will click on these link then file contain will be show to user . These search word will be shown in different color (like in yellow color).Please guide me ............................................
  6. I have edited the example please take a look .................
  7. hello , I want split the string into 2 parts.e.g 1)10:16:5210999_aa@mydomain.com/jsjac_simpleclient -> 10999_cc/ > hi cc sds ds s / > sdsdsd / > s s sds <Output:- str_array[0]=10:16:5210999_aa@mydomain.com/jsjac_simpleclient -> 10999_cc str_array[1]=hi cc sds ds s / > sdsdsd / >s s sds <2)10:17:31 10999_cc/jsjac_simpleclient ->10999_aa/ < d dd ddd<< / >> / << dddoutput:- str_array[0]=10:17:31 10999_cc/jsjac_simpleclient ->10999_aa str_array[1]=d dd ddd<< / >> / << ddd I want to split the string into two part by using separator / > or/ < (There is space between / and >)Consider first appearance of separator to divide the string into two parti want divide the string only into two part , but other function available in php divides the string into several part if it found separator character. So please tell me how to do this . is there any inbuilt function available in php?...........................................
  8. Hello, how to create a Div over horizontal scroll bar. Like in the given gmail web browser example div chat window is created over horizontal scroll bar In the given code how to create a div over over horizontal scroll bar please tell me ....................Please click on this link to see the example (Div is created over horizontal scroll bar)How google has placed that chat div window over scroll bar. please guide me ....................... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><style>.class-div{ overflow-y: auto; overflow-x: hidden; word-wrap: break-word; //-moz binding: url('./wordwrap.xml#wordwrap');}</style><script type="text/javascript">function openDiv(){ try { document.body.removeChild(document.getElementById("divEntry")); } catch(e) { } var newDiv = document.createElement('div'), s = newDiv.style; var D= document.documentElement; var Swidth=D.clientWidth; var Sheight=D.clientHeight; newDiv.setAttribute('id',"divEntry"); newDiv.className="class-div"; s.border = '1px solid gray'; s.color = '#ccc'; s.width = '200px'; s.height = '200px'; s.backgroundColor = '#488be8'; s.top = Sheight-200-10+'px'; s.left = Swidth-200-10+'px'; s.position = 'fixed'; document.body.appendChild(newDiv); };function entervalue(evt){ var charCode = (evt.which) ? evt.which : window.event.keyCode; if(charCode==13) { document.getElementById("divEntry").innerHTML+=document.getElementById("txtEnter").value+"<br>"; document.getElementById("txtEnter").value=""; }}onload=openDiv;onresize=openDiv;</script></head><body><input type="text" id="txtEnter" onkeypress="entervalue(event)"> enter a value in this text box and press Enter</body>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br></html>
  9. Hello ,I have a problem.I want to display div at the corner when we resize or unmaxmize the browser. In the following code i have created a div at right corner. but i am not able to show it when we resize the browser at corner position. please tell me..................e.g In web-based (Gmail) chatting. when we open the div chat window for chatting and try to ummaximize or resize the browser that window gets move and still we can see that chatting window.one more problem how create a div over horizontal scroll bar. gmail has created like that. it shows the chat window over horizontal scroll bar. I have given code, in this code how to create a div over horizontal scroll bar please tell me ................... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><style>.class-div{ overflow-y: auto; overflow-x: hidden; word-wrap: break-word; //-moz binding: url('./wordwrap.xml#wordwrap');}</style><script type="text/javascript">function openDiv(){ var newDiv = document.createElement('div'), s = newDiv.style; var D= document.documentElement; var Swidth=D.clientWidth; var Sheight=D.clientHeight; newDiv.setAttribute('id',"divEntry"); newDiv.className="class-div"; s.border = '1px solid gray'; s.color = '#ccc'; s.width = '200px'; s.height = '200px'; s.backgroundColor = '#488be8'; s.top = Sheight-200-10+'px'; s.left = Swidth-200-10+'px'; s.position = 'fixed'; document.body.appendChild(newDiv); };function entervalue(evt){ var charCode = (evt.which) ? evt.which : window.event.keyCode; if(charCode==13) { document.getElementById("divEntry").innerHTML+=document.getElementById("txtEnter").value+"<br>"; document.getElementById("txtEnter").value=""; }}onload=openDiv;</script></head><body><input type="text" id="txtEnter" onkeypress="entervalue(event)"> enter a value in this text box and press Enter</body>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br></html>
  10. Hello,i have crated a div. In this div i don't want horizontal scroll bar. I want to display horizontal overflowed text on the next line ................If i hidden horizontal scroll then it is not showing me contain which gets overflowed.I want that contain to be shown on next line ...............Suppose i have entered "asssssssssssssssssssssssssssssssssssssssssssssdddddddddddddddddddddddddddddddddddddddaaaaaaa" (do not use the space ..)here is the code ......................please tell me <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><style>.class-div{ overflow-y: auto; overflow-x: hidden;}</style><script type="text/javascript">function openDiv(){ var newDiv = document.createElement('div'), s = newDiv.style; newDiv.setAttribute('id',"divEntry"); newDiv.className="class-div"; s.border = '1px solid gray'; s.color = '#ccc'; s.width = '200px'; s.height = '200px'; s.backgroundColor = '#488be8'; s.top = '200px'; s.left = '200px'; s.position = 'fixed'; document.body.appendChild(newDiv); };function entervalue(evt){ var charCode = (evt.which) ? evt.which : window.event.keyCode; if(charCode==13) { document.getElementById("divEntry").innerHTML+=document.getElementById("txtEnter").value+"<br>"; document.getElementById("txtEnter").value=""; }}onload=openDiv;</script></head><body><!--<input type="button" value="click me to create Div in Right frame" onclick="return openDiv(100,100);">--><input type="text" id="txtEnter" onkeypress="entervalue(event)"> enter a value in this text box and press Enter</body></html>
  11. how to specify url of ajax.I have given full path still it is not working.......Php page is in different directory ...............I have created a plugins directory. in that i have created a ajax_table_load.phpand i am sending request to that php page from from another directory. which is outside of that plugins directory. I think problem is with url variable that i have declared below. I want to specify a complete path . please guide me....................... <script> var xmlHttp;function quit(){ xmlHttp=GetXmlHttpObject();if (xmlHttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="http://"+document.domain+"/plugins/ajax_table_load.php"; xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true); xmlHttp.send(null);}function GetXmlHttpObject(){ var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { //Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp;}function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { alert(xmlHttp.responseText); //document.getElementById(divStr).innerHTML=xmlHttp.responseText; //alert(document.getElementById(divStr).innerHTML); }}</script>
  12. How to take a back up of database using php..................Suppose their is one table ...............and i want to take a back up of that table. and I want to store it as XML format...........(XML Back up)later On may be i will use this xml file to insert this XML to insert that records in table. .........So how it is possible.............Thanks in advance.............
  13. How to apply digital certificate to our web-site .......Like verisign is providing security SSL certificate ............may be other sites are providing this certificate free of cost, so if u know please tell me.......when we apply this certificate the clock appears on the right hand bottom side ...is it correct ........Please tell me the Exact procedure how to apply security SSL certificate to our websites....................Thanks in advance,...............
  14. How to apply digital certificate to our java based web-site .......Like verisign is providing security SSL certificate ............ may be other sites are providing this certificate free of cost, so if u know please tell me.......when we apply this certificate the clock appears on the right hand bottom side ...is it correct ........ Please tell me the Exact procedure how to apply security SSL certificate to our websites....................Thanks in advance,...............
  15. Can u tell me how to use Stored procedure and trigger in Mysql......or suggest me nay website that can guide me..................Thanks in advance
  16. how to blink the background color .........e.g like in gmail when we do the chatting.................when the message arrived the chat window get blink.......when we click on that chat window that blink stops .............................so how to do this..............................please tell me....................
  17. suppose i have a class function user(){ this.id=""; this.name=""; this.status=0;}and i have taken array var user_array=new Array();user_array[user_array.length]=new user();user_array[user_array.length-1].id="a01";user_array[user_array.length-1].name="xxxx";user_array[user_array.length-1].status=4;user_array[user_array.length]=new user();user_array[user_array.length-1].id="a02";user_array[user_array.length-1].name="yyyy";user_array[user_array.length-1].status=3;user_array[user_array.length]=new user();user_array[user_array.length-1].id="a04";user_array[user_array.length-1].name="AAAA";user_array[user_array.length-1].status=1;And i want to sort the array by status and display the value like as follows.0a4 AAAA 10a2 YYYY 30a1 XXXX 4so how to do this...............................please tell me....................................
  18. Does anybody know how to use jabber.-how to configure the jabber on linux.I want to create a IM application for that i need your help. I have some problem regarding how to do the query to the jabber server. -how to find buddy list (They may be online,offline or may me busy).-how to find the status changed.-how to find message arrived. -how to find error has occurred.-how to configure the ftp in jabber for file transfer(It will use stand alone application (linux Internet Messenger)). so please tell me.................................
  19. Is it possible to call iframe function by using iframe object.......when we use the window.open function it returns the window object. from that window object it is possible to call the javascript function written in newly open window (pop-up window).so same like window object it is possible to call javascript function using iframe object.............please tell me..........I have created a user class and different object of that class will call the method written in iframe.e.g iframeObj1.demoFun(); //user1 is object of user class iframeObj2.demoFun(); //user2 is object of user class iframeObj3.demoFun(); //user3 is object of user classfor window object windowObj=window.open("demo.html", "width=320,height=390,resizable=yes");windowObj.functionDemo(); this will call the javscript method written in demo.htmlconsider i have included same iframe three time in my HTML page. so is this possible .........
  20. Suppose i have included a iframe in my html page and i want to call a javascript function that is written in iframe source code.so is it possible. ............please tell me................
  21. can anyone tell me how to do the Google MAP integration using AJAX to display destination.
  22. suppose main html page contain 2 frame left and right. And i want to create a div tag on particular event using javascript and i want to show that div window in the middle of 2 frame. Is it possible or not ............so please tell me...................<html><head><title></title></head><frameset cols="50%, *" id="fs1"><frame src="demoleft.html" name="left" frameborder="1" id=leftId><frame src="demoright.html" name="right" frameborder="1" id=leftId></frameset></html>
  23. I want to create a dynamic drop down list. I have created a div tag dynamically using java script.In that div tag a want to create a small drop down list. That drop down list will show a smiley icon. like in 3*3 format. e.g when i will click in add smiley option. view would be like as follows . so please tell me how to do this.............
  24. Found the code...................i am taking the value from text box and on click event i am adding the value in div tag......... DivObj.scrollTop=DivObj.scrollHeight;
  25. I want to see the latest entry. Div tag is auto scroll....... when i add the value dynamically in the div tag the scroll bar moves on upper side......I don't want to scroll it down manually.........to see the latest entry ..........
×
×
  • Create New...