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.

Mark L Bentley

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Mark L Bentley reacted to Jay Gilford in Editing strings   
    if (preg_match('%Eastern England(.*?)</popup>%s', $subject, $regs)) { $result = $regs[1]; } else { $result = ""; }
    That will match everything from Eastern england up to the </popup> (does not include either of those bits of information however)
  2. Like
    Mark L Bentley reacted to andy9l in $.post question   
    Use $.ajax
     

    $('form').submit(function(){ var theFormFields = $(this).serialize(); var results; $.ajax({ data: theFormFields, url: "form_submit.php", type: "POST", success: function(data){ results = data.split(","); $("#div1").html(results[0]); $("#div2").html(results[1]); } }); return false; });
     
    In the .split parameter/delimiter, you should use a character(s) which will never be used in a single response from your PHP script.
     
    An example of a response of your PHP script (for an AJAX request) would be:
     

    12345,67890
    This would set results[0] as 12345 and results[1] as 67890.
  3. Like
    Mark L Bentley reacted to Jay Gilford in Php / mysql problem   
    No problem
  4. Like
    Mark L Bentley got a reaction from Stevo in jQuery selection   
    $("#thumbnail-rack img").fadeTo(300, 0.5); // Sets opacity to 0.5 $('#thumbnail-rack img').hover(function(){ $(this).fadeTo(300, 1.0); // Sets the opacity to 100% on hover }, function(){ $(this).fadeTo(300, 0.5); // Sets the opacity back to 50% on mouseout });
  5. Like
    Mark L Bentley got a reaction from ashley_90 in How to manage FTP with 2 domains?   
    i think this might be a question for your host. I know with mine I get a directory called domains where I can choose which domain to upload to.
  6. Like
    Mark L Bentley got a reaction from JamesW in How much to build this?   
    here is what I have so far. I'm going to try to package it as a plugin.
  7. Like
    Mark L Bentley got a reaction from Ocular Harmony in How much to build this?   
    here is what I have so far. I'm going to try to package it as a plugin.
  8. Like
    Mark L Bentley got a reaction from skidz in How much to build this?   
    p*** off dohny.
     
     
    Ok there's been a bit of a problem with z-indecies conflicting so I am going to have to sort that out.
  9. Like
    OK you might have to learn a bit of css. Not sure how much you know of that but it would be ideal to learn some before starting.
     
    Lets take a look at your picture and seperate the different areas.
    You would use the grey image as the background which it looks as though dreamweaver has done for you.
     
    You have the a top section which includes the logo navigation and the top text and image. Next you have the categories section, finally the icons at the bottom. These sections can be put in div elements and seperated with margins rather than spacer images.
     
    Have a look into css positioning. There are lots of good tutorials at W3Schools
     
    Also have a look into centering sites using css, I think there is a sticky on these forums about it.
     
    Try making a page with three coloured divs first before putting in your text and images so you can have a play around with how you think it should look.
     
    I hope this helps and starts you on your way to excellent coding.
     
    Remember to come back if you get stuck anywhere.
  10. Like
    Mark L Bentley got a reaction from Meshach in How much to build this?   
    ok i've put this in
     
    if ($('#slides div').is(":animated")) {
    return false;
    }else{
    //do animation
    }
     
    which works a treat. Now to make it a plugin.
  11. Like
    Mark L Bentley got a reaction from LYKC in How much to build this?   
    here is what I have so far. I'm going to try to package it as a plugin.
  12. Like
    Mark L Bentley got a reaction from Tom in How much to build this?   
    That's the next stage. It should be possible. I'll let you know how I get on.
  13. Like
    Mark L Bentley got a reaction from Tom in How much to build this?   
    I've decided to stay away from the plugin. Here is what I have so far. It's messing up if you click next before the animation has finished so i need to sort that.
  14. Like
    Mark L Bentley got a reaction from Tom in How much to build this?   
    I'm not sure you'll be able to get that effect the the cycle plugin. Good luck with it. I found this that might be more adaptable for this effect. I'm going to have ago see what I can make of it. If i get it done i'll let you know.
  15. Like
    Mark L Bentley got a reaction from T_break in RSS Feeds   
    You'll also want to look into XSLT for styling your RSS feed page. I can't find the example i followed but this one looks quite good.
  16. Like
    Mark L Bentley got a reaction from T_break in RSS Feeds   
    Update on this. I know have a working feed on my very underused blog. It is easy to implement if you know php/mysql and using a database driven site. If your just updating the content manually i could see updating the feed could become tedious but is reasonably simple. The W3Schools tutorial is very good as always.

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.