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.

Hem

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Hem got a reaction from Grant Barker in Text in Searchbox   
    Make sure that Doctype is for HTML5. for using below solution.
     
  2. Like
    Hem got a reaction from fleur in Multicolumn layout   
    If possible then could you please share LIVE URL for the same so we can identify the exact problem.
  3. Like
    Hem reacted to webdeveloper93 in show / hide not working.   
    This will work for you
     
    $(document).ready(function(){ $("#hideshow").click(function() { $(".commentsbox").toggle('show'); }); }); make sure your using the latest version of Jquery as well
  4. Like
    Hem got a reaction from craigpettit in jquery random movement   
    I think need to set 165px height on .features_blog class..
  5. Like
    Hem got a reaction from KalobTaulien in The menu is lost in IE   
    You used Cufon Fonts..
     
    If you aren't aware, with IE9 cufon doesn't render anything at all, not even the actual text.
     
    Fix:
    <!--[if gte IE 9]> <script type="text/javascript"> Cufon.set('engine', 'canvas'); </script> <![endif]-->
    or
    add
    <meta content="IE=8" http-equiv="X-UA-Compatible" />
     
    Hope above fix will help you. If this trick not work4u then please let me know.
     
    Thanks
  6. Like
    Hem reacted to Renaissance-Design in WaterMark TextBox With CSS3 ?   
    And by "older browsers", I mean IE which we're likely polyfilling other things for anyway.
  7. Like
    Hem reacted to andy9l in How to upload images to Gallery /HTML   
    PHP could do it for you, just change the folder name at the top:
     

    <?php //Change this relative to your root directory (public_html - do not include) define('GALLERY_IMAGE_FOLDER', '/your/gallery/image/folder'); //Comma separated, lowercase define('VALID_IMAGE_TYPES', 'jpg,jpeg,png,bmp,gif'); //Remove // mistakes from URL concatenation function strip_excess_slashes($string){ return preg_replace("/\/+/", "/", $string); } //Scans the directory for image files, outputs as HTML if needs be //@param number of images to fetch (0 = all) //@param to output as HTML, or return array //@return array[image file name] => image full url function fetch_gallery_images($num = 0, $output = TRUE){ $img_types = explode(",", VALID_IMAGE_TYPES); $img_dir= strip_excess_slashes($_SERVER['DOCUMENT_ROOT'] . "/" . GALLERY_IMAGE_FOLDER); $files = scandir($img_dir); $images = array(); $i = 0; foreach ($files as $key => $fname){ $file_ext = explode(".", $fname); $file_ext = $file_ext[count($file_ext) - 1]; if (in_array(strtolower($file_ext), $img_types)){ $images[$fname] = strip_excess_slashes("/" . GALLERY_IMAGE_FOLDER . "/$fname"); if (++$i == $num){ break; } } } if ($output){ foreach ($images as $fname => $full_url){ echo "\n<img src='$full_url' alt='$fname' />"; } } return $images; } ?>
     
    Call it using:
     

    <?php fetch_gallery_images() ?>
  8. Like
    Hem reacted to zed in Gmail-like tooltips   
    knock yourself out http://www.1stwebdesigner.com/css/stylish-jquery-tooltip-plugins-webdesign/
  9. Like
    Hem reacted to rajanskumar in Javascript Conflict   
    @Hem, your code is working fine..thnx a lot...
     
     
    @Danny, your both methods are working fine...thnx a lot..........
  10. Like
    a similar option http://jquery.malsup.com/cycle/
  11. Like
    You'll find the answers here.
  12. Like
    Find this line

    <script src="jquery.min.js"></script>
     
    and replace with this one

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
     
    That will hook the page up to the jQuery library hosted by Google
  13. Like
    Hem reacted to Leonvv in Uploading files through my site?   
    Like Hem said , immediately remove that link !
     
    To answer your question:
    Yes it's possible to make a user login, and make the users able to upload a file on your server ( With databases and server-side scripting ).
    If it's easy depends on how good you're with PHP and SQL.
     
    Léon
  14. Like
    Hem got a reaction from Leonvv in Uploading files through my site?   
    Hi,
     
    I would like to suggest that please remove your link for security reason cause there is a user id and password. You may ask to your Hosting provider for the same.
     
    Thanks
  15. Like
    Hem reacted to Wickham in wonder   
    It's using ASP which is used on Windows servers on the hosting service whereas most of us here use PHP which is used on Linux servers.
     
    It also uses Javascript and a database to input the data inside a table:

    <td class="[url=""]lblFormAuto[/url]"> Maid Name </td> <td class="[url=""]topPadding[/url]">  : </td> <td colspan="[url=""]5[/url]"> <input name="[url=""]ctl00$ContentPlaceHolder1$FormView1$txtMaidName$txtText[/url]" type="[url=""]text[/url]" value="[url=""]GLORY QUADLA LEPTING[/url]" readonly="[url=""]readonly[/url]" id="[url=""]ctl00_ContentPlaceHolder1_FormView1_txtMaidName_txtText[/url]" class="[url=""]txtLargeEmpty[/url]" />
     
    and there is a form. It's complicated.
  16. Like
    Hem reacted to zed in Problem in Zoom Effect   
    If you turn off javascript in the browser then you lose the horizontal scrollbar which suggests it's something to do with the magiczoom.js file. Have you tried playing with the settings for this to see if that helps?
  17. Like
    Hem reacted to rajanskumar in Problem in Zoom Effect   
    thanx for the reply Zed...
     
    I have made changes in magiczoom.js file
     
    line number: 1180; It was zoomPosition: "right", i changed it to zoomPosition: "left", and the problem solved...
     
    Thanks again for the advice...Zed
  18. Like
    Hem reacted to AlaskaWebDesign in submit button help   
    You submit your form to the same page. Have:
     
    if (isset($_POST['input_name')) {
     
    echo your paypal checkout form with all inputs hidden and php taking the submitted form values and filling in the paypal form values;
     
    echo a javascript function that submits your newly echoed paypal form;
    }
     
    That's how without writting out the actual code.
  19. Like
    Hem reacted to ELITE in submit button help   
    your action is not taking the user to paypal
     

    action="http://moneyontoast.leewebsites.com/book-an-appointment-details/#send_success
     
    you need to provide an action that will provide paypal with the price the paypal email of the person receiving payment example below

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="upload" value="1"> <input type="hidden" name="business" value="sales@example.com"> <input type="hidden" name="currency_code" value="GBP"> <input type="hidden" name="return" value="http://www.example.com/thankyou.php"> <input type="hidden" name="item_number_1" value="4" ><br /> <input type="hidden" name="item_name_1" value="200.00" ><input type="hidden" name="amount_1" value="200.00" ><input type="hidden" name="quantity_1" value="1" > <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </form>
     
    i may be able help you more tonight if no one else can help you sooner
  20. Like
    Hem reacted to Wickham in problem with 2 div   
    You have to add float: left; or float: right; to all the divs that you want side by side and then clear the floats to stop the following div moving to an incorrect position.
    See itms 2b, 2c and 2d here http://www.wickham43.net/firefoxbackground.php for three ways to clear floats.
  21. Like
    Hem got a reaction from Renaissance-Design in Help with line-height property   
    Remove line height from below code

    .menu-dropdown a.level1 > span, .menu-dropdown span.level1 > span {remove line height} .menu-dropdown span.title {remove line height} .menu-dropdown span.subtitle {remove line height}
    Add / Edit these values

    .menu-dropdown > li {padding-top:12px} .menu-dropdown .dropdown {top:49px}
  22. Like
    Hem reacted to Nuno Ribeiro in Help with line-height property   
    Hi.
    tried your method, and it works great!
    thanks a lot.
  23. Like
    Hem reacted to ELITE in Pagination on Images/Products   
    I found this looks good and easy to use
     

    http://flaviusmatis.github.com/simplePagination.js/#page-3
  24. Like
    Hem reacted to Lyndsey in html / css troubleshooting   
    Add a clear:both; to your #main style.
     
    That should fix it.
     
    Edit: so in your CSS file, your #main CSS should look like this:
     

    #main { overflow-x: auto; overflow-y: auto; padding-bottom: 180px; clear: both; }
     
    Lyndsey.
  25. Like
    Hem reacted to ELITE in change an image when hovered a text links   
    here you go i am sure it can be improved

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#link1").hover(function() { var x="images/image1.jpg"; $("#img1").attr("src", x); }); $("#link2").hover(function() { var x="images/image2.jpg"; $("#img2").attr("src", x); }); $("#link3").hover(function() { var x="images/image3.jpg"; $("#img3").attr("src", x); }); }); </script> </head> <body> <ul id="links"> <li><a href="#" id="link1">link 1</a></li> <li><a href="#" id="link2">link 2</a></li> <li><a href="#" id="link3">link 3</a></li> </ul> <ul> <li><img src="images/image4.jpg" id="img1" /></li> <li><img src="images/image5.jpg" id="img2" /></li> <li><img src="images/image6.jpg" id="img3"/></li> </ul> </body> </html>

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.