Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hosam alaa

Members
  • Joined

  • Last visited

  1. Clients need it to be local they don't have internet connections, actually it is a pharmacy management system.
  2. Thanks for my friends who tried to help but the issue that desktop applications may be converted to exe file which make the code hidden and uneditable so you can save your application copyright using a key the client put while installation but the webapplication which i will install to clients locally i can't make this key because anyother developer may edit the code and remove the key lines of code. anyway i found a term on internet called "php obfuscators", it converts your code to unreadable code, i think this technique may make the code more slow while compilation but i will install the app locally so it will not affect.
  3. Hello, I am thinking to develop a web application in php and install it locally in my customers machiens after installing appache in their pcs. but my question is, how can i save the copyright? the customers may send copies of it to each other and also other developers may modify my code. I need a way or suggestion to make my code uneditable or something like this.. any suggestions or ideas?? Thanks..
  4. I tried this code <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> </head> <body> <div id="test"></div> <script> function fn1() { setTimeout(function(){document.getElementById('test').innerHTML = 'text1'},5000); } function fn3(){ document.getElementById('test').innerHTML = 'text2'; } var callbacks = $.Callbacks(); callbacks.add( fn1 ); callbacks.add( fn3 ); callbacks.fire(); </script> </body> </html> what is need that the result to be text2, but what happened that it was text2 then it back to text1. so callbacks not solved my issue .
  5. Thank you Samus, I will read your suggested article.
  6. Hello, I have a question about the Ajax and I need your help. Now lets assume that I created an ajax function get last updated data from database and the time interval between calls is 1 second for example. the calls should be like this 1- getData(); return 1. 2- getData(); return 2. 3- getData(); return 3. 4- getData(); return 4. 5- getData(); return 5. 6- getData(); return 6. So what happened that sometimes the thread of call #6 run before the call #5 so the updated data will be invalid. So i want to make sure that the calls arrangement is correct so the updated data is always return. I hope my question is clear, Thanks.
  7. hello i have a simple question lets say i have this code <div id="myid"> <a href="#">link</a> </div> well.. inside the JavaScript i can call the div using document.getElementById("myid") but i want to call the <a></a> which is inside this div i want to call the link not the div and i don't have the link name or its id thanks
  8. hello i want to set width in css after calculation i can do.. width: 900px or 80%; but how to make width: (100% - 900px)/2; in css?? thanks
  9. hello all, i want to ask how to know the user homepage so if i know that our site is his homepage so i don't need to ask him if i know that our site not his homepage so i give him notification to ask him to make us his homepage thanks all
  10. hello friends i have a question and i hope i find its reply i want to allow users to create subdomains in my website so now i want to create a page with a form that ask me about name and when i click ok it create subdomain with that name the question is how to create the subdomain by php i uses CPanel thanks alot hosam
  11. iam already search but i can't find the solution so i ask webdevelopers here and hope i find the solution and if i found it i will write it here too
  12. hope i find the solution...
  13. hello first of all, i hope u all are fine i have a Q looooooool i mainly have Q and problems and so we can learn from out problems i have a parent page and has iframe of other page when i put normal refresh html tag like echo'<META HTTP-EQUIV="Refresh" CONTENT="0; url=page.php">'; it refresh within same frame but i wanna to make the parent page refresh how can i make that in php???? hope my Q is clear and the solution is simple thanks hosam alaa
  14. i found the solution add this to top of php code header ( "p3p:CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); and it appear works with me thanks for all who try to help
  15. hope i find a solution or alternatives to my problem

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.