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.

andrewliu

Members
  • Joined

  • Last visited

  1. Hello. I have a voting system kind of like digg, and I was wondering how would I work this with sessions? If I'm using jquery and ajax for voting? Does the session have to be written in jquery and ajax? thank you
  2. yeah exactly. I have a question. is it possible to stay say 50px off from the top and then stay there until you scroll down and then the browser would push it down? is that more coding or is it the same thing?
  3. Hello, I'm trying to get a div tag to move while scrolling. I know you can do position: fixed, but I was wondering how to do it so if the div tag is in the middle of the web browser, it will stay there until when you scroll down and it gets to the top of the browser the browser will drag it down. Also, I wanted my div tag to be on the right side of my browser. When I tried doing position: fixed, it stays on my left. I also tried float: right, but it doesn't work Any suggestion? Thank you
  4. My whole form is no longer clickable. I can't go back into my form textbox and type. I can't even click on my button anymore either.
  5. I did what you suggested, I made my return false into return true, and i changed my onSubmit, but its doing the same thing?
  6. Hello. I'm just starting, and I was wondering if anyone can help me on showing me how to combine these two separated scripts together function searchLocations() { $.post("testing.php",{search_term: form.search_term_box.value},function(data) { $("#search_results").html(data); }); return false; } $(document).ready(function() { $('s#more').hide(); $('div#moreAnchor').click(function() { $('div#moreAnchor').show(); }); }); Thank you
  7. Hello, I have this live search engine for my mysql database. My form gets disabled after I click out of the search box. Why is this happening? This is my code function searchLocations() { $.post("testing.php",{search_term: form.search_term_box.value},function(data) { $("#search_results").html(data); }); return false; } <form name="form" style="float:left;width:650px;height:60px;margin-right:30px;" onSubmit="return searchLocations();" > <table style="float:right;"><tr> <td> <label for="search_term_box"><b>Search</b></label><br /> </td> </tr> <tr> <td> <input name="search_term_box" id="search_term" type="text" onkeyup="searchLocations()" style="height:23px; margin-right:20px;font-size: 16px" size="36" autocomplete="off"/></td> <td> <input type="button" name="search_button" style= "padding: 5px; font-family: Arial, Helvetica, sans-serif; font-size: 12px;" value="Search" onClick="searchLocations();" /> </td></tr></table> </form> Thank you
  8. Yeah, sorry. I did change it a little. I changed it a little so when the user does not enter something, the error pops up. But when the user does enter something, I want the color to change back to the original color text (black). How do I make it convert back to error_tri === False after the error has been set. Currently, it stays red. Thank you
  9. webdesigner93 showed me a way last night on aim. he was really helpful. He got it to work, by changing the color on submit, but I forgot to check another part to it. When I type something in the form, the error disappears. So when I tried to change the original text color, it disappears when the user correctly inputs the right data. How do I make it so it'll go back, Here's his snippet of code that he helped me out with. <?php if($error_tri === FALSE) { echo "Username: "; } else if($error_tri === TRUE) { echo $form->error("user"); } ?>
  10. Hello, I have developed a form and if the user does not submit something an error occurs. I was wondering how to change the text color <li id="first_name"> <label for="first_name">First name: </label> <div class="fieldgroup"> <?php echo $form->error("first_name"); echo "<br>"; ?> <input name="first_name" type="text" value="<?php echo $form->value("first_name"); ?>" size="35" maxlength="30"></div></li> Right now this is how my code looks. It produces an error when its necessary. But I want to instead of producing that error, I want the First name text to change colors I might have to a if else statement? But not sure how it looks Thanks
  11. ohh yeah. hehe i deleted those two
  12. no problem. thanks a lot for your time. hopefully i can figure this out
  13. nope. Well I do have a google map api, but that works when I click submit. Just the search doesn't do anything. The search did work without the ajax code, but when I use the ajax script, it doesn't do anything.

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.