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.

chris92

Members
  • Joined

  • Last visited

Everything posted by chris92

  1. chris92 posted a topic in Frontend
    Please I am looking for a website or blog that offers CSS and CSS3 tutorial in such a way that the tutorial are thought with an example of building a complete web page. Thanks
  2. Ok would work but look at what I ve tried doing: Jquery $(document).ready(function(){ $("#email").change(function(){ var em = $(this).val(); var atpos=em.indexOf("@@"); var dotpos=em.lastIndexOf("."); if (atpos < 1 || dotpos < atpos + 2 || dotpos + 2 >= x.length) { $("#m").text("Please enter a valid email") } else { $("#email").change(function () { $("#m").fadeOut(); }) } }) }) HTML <tr><td><label for="email">Email</label></td><td> <input value="@Request.Form["email"]" type="text" name="email" style="text-transform:lowercase" placeholder="Email" id="email" /></td><td id="m">@Html.ValidationMessage("email")</td><td id=""></td></tr> It worked for validating email but if I correct the email to valid format, the "else" part of the if statement in the jquery doesnt reflect. Thanks a lot.
  3. This is my jquery: $(document).ready(function () { $('#fname').change(function () { x = $(this).val(); if (x == null || x == "") { y = document.write("eroor") } }); }) the above is in my head section of the html and I want to display y in an element in my html body. tnx
  4. Damn.... This guy is a genius. Thanks a lot man. You just made my day. I owe U 1. Thanks Again........
  5. KK. Let me try this, I ll get back to you. I am really gratefull pal
  6. Please can you explain to me what you did? Tnx a lot for trying to help
  7. I am looking at embedding the courses "id" from the database using php into the id in html. I think it will work but i dont know how. Thanks as you help
  8. If I change the data-show all to content1, the issue persists. Do you have any idea on how to fix that? Thanks
  9. Thats exactly my problem. I just updated the link. take a look at it. It is an array of data an it has the same html attribute cause it generated by just one line of code
  10. LYNDSEY where did u add code tags please
  11. Find attached a screenshot of the php result, If I click on 1 category, i want it to expand only its courses but expands all. Thanks
  12. I have a fetched with php as an array and it is categorized. See code: <table><?php $cat_set = get_all_cats(); while($category = mysql_fetch_array($cat_set)){ if($category["category"] != "no-cat"){ echo "<tr colspam=\"2\"><td></td><td id=\"cats\">".$category["category"]."<td><img id=\"blink\" src=\"drop.png\"></td></td></tr>"; $course_set = get_courses_for_cats($category["cat_id"]); while ($course = mysql_fetch_array($course_set)) { echo"<tr class=\"cont\"><td><input value = ". $course["course_code"] ." name=\"boxes[]\" type=\"checkbox\"></td><td class=\"code\">" . $course["course_code"] . "</td></tr></input>"; } } else { $course_set = get_courses_for_cats($category["cat_id"]); while ($course = mysql_fetch_array($course_set)) { echo"<tr class=\"cont\"><td><input value = ". $course["course_code"] ." name=\"boxes[]\" type=\"checkbox\"></td><td class=\"code\">" . $course["course_code"] . "</td></tr></input>"; } } } ?> </table> So every course has a categoty. Now what I want to do is to use jquery to hide the course unless its category is clicked an this is what i have achieved <script> $(document).ready(function(){ $(".cont").hide(); $("#cats").click(function(){ $(".cont").toggle(); }); }) </script> but it when i click the category it hides all the courses even those that does not belong to itself. I know if the categories had different ids it would have been better but because it is an array, one id serves them all. Please any idea on how i can fix this. Thanks
  13. Hi, please I need to report a data in a web page from mysql database using tables. Please how can control the pages of the report and adding page numbers, headers and footer and also add a print icon control in the design. Thanks. Samples are attached
  14. Would this: http://stackoverflow.com/questions/16292572/how-to-make-html-table-excel-like-editable-for-multiple-cells-i-e-simultaneo solve my problem, If yes...... How would I insert the data to my database using php because am not inserting one set of data instead am inserting many.
  15. rough.html This is an example of what I intend to do but I need the columns and rows to automatically increase and all the data submitted to my database just once.
  16. Please how can I make an editable table in a Web like that of MS Access just like the attached image. The only idea I have is to arrange textboxes in that manner.
  17. Please I have been learning how to design websites but I just need guide on how to plan for a website and model all the objects before I can start working
  18. Ok Boss. I get your idea but as I said am a beginner and to make it easier for me, I would appreciate greatly if you give me more detals on how to achieve this solution. Thanks. . . Am very grateful.
  19. Helo am a beginner, please I need to automatically store links in my database depending on the clients request. I have a navigation web app and i need the users to fill a form. The content of the form will be the information to be displayed on the web page whose links are autogenerated and stored in the database just as facebook page of a facebook user works. Thanks

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.