Jump to content

pankaj.ghadge

Members
  • Posts

    60
  • Joined

  • Last visited

pankaj.ghadge's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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
×
×
  • Create New...