[Solved] i am working on flip image but it’s not working [closed]

[ad_1] I think this is your perfect answer. .flip { height: 199px; width: 300px; margin: 0 auto; } .flip img { width: 300px; height: auto; } .flip .back { background: #2184cd; color: #fff; text-align: center; } <head> <script src=”https://code.jquery.com/jquery-2.1.4.min.js”></script> <script src=”https://cdnjs.cloudflare.com/ajax/libs/jQuery-Flip/1.1.2/jquery.flip.min.js”></script> <script> $(function () { $(“.flip”).flip({ trigger: ‘hover’ }); }); </script> <script> $(function () { … Read more

[Solved] Should the Bootstrap media queries be saved in a css file or a js file?

[ad_1] Move your style.js css media codes into the style.css CSS media queries are the part of .css extension files. You should not place it some other extension than .css Now a days there are preprocessor tool for css like .less, .sass, .scss you can use them in those extension files as well. <link rel=”stylesheet” … Read more

[Solved] i need an answer please : bootstrap 3 this is for a job applyment?

[ad_1] i found the result my self just for fun ,here the solution: body img { float: left; } body img:nth-child(2n) { float: right; } #content{display:flex;text-align:center;width:100%} .changeme1{ margin-left:auto;float:none; } .changeme2{ margin-right:auto;float:none; } [ad_2] solved i need an answer please : bootstrap 3 this is for a job applyment?

[Solved] set up error message for drop down

[ad_1] Yes. You can acheive that with the combination of PHP and JQUERY Let’s say this is your first page <form action=”secondPage.php” method=”post”> <select id=”men” class=”select_class1″ name=”subselector”> <option value=””>Choose an Item</option> <option value=”tsm”>T-Shirt</option> <option value=”lsm”>Long Sleeve</option> <option value=”tankm”>Tank Top</option> </select> <input type=”submit” value=”submit” /> </form> Then this would be your secondPage.php <?php $subselector = $_POST[‘subselector’]; … Read more

[Solved] Center align image in a div [duplicate]

[ad_1] I’m not sure about why your current code have default text-align: left for div element. But please try this one: http://jsfiddle.net/18230pwa/ div img { display : block; margin : auto; } div { text-align: left; } 0 [ad_2] solved Center align image in a div [duplicate]

[Solved] Want to find the url from html tag [closed]

[ad_1] Try the below $(function() { var a_href = $(‘#website-view a’).attr(‘href’); var decodedUri = decodeURIComponent(a_href); var url = decodedUri.split(“url=”)[1].split(“&”)[0]; alert(url); }); <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js”></script> <div id=”website-view”> <ul> <li> <a target=”_blank” href=”https://stackoverflow.com/redir/redirect?url=http%3A%2F%2Ffacebook%2Ecom%2Fshwet&amp;urlhash=GvM1″>My Facebook</a> </li> </ul> </div> 2 [ad_2] solved Want to find the url from html tag [closed]

[Solved] PHP Random String Generator based on GET values [closed]

[ad_1] Your best bet is to use multiple GET arrays and conditional statements, and “echo” the function if it meets both conditions. <?php error_reporting(E_ALL); ini_set(‘display_errors’, 1); function randomString() { return rtrim(base64_encode(md5(microtime())),”=”); } if ( isset($_GET[‘userid’]) && !empty($_GET[‘userid’]) && isset($_GET[‘transactionid’]) && !empty($_GET[‘transactionid’]) ) { echo randomString(); } else{ echo “One GET array is not set or … Read more

[Solved] How to gather the url text inside HTML-div via regular expression?

[ad_1] You should use DOMDocument and DOMXPath or something like that, but if you want it done with regexp, for your given html this should do the trick: <?php $html_code=”<a href=”https://stackoverflow.com/napolnye-pokrytiya/” class=”category_cart”> <div class=”category_cart__container”> <div style=”background-image: url(\”/media/filer_public/b6/49/b6491a4d-5c0d-4a0f-aa9c-b32ea39912c6/category-2.jpg\’)” class=”category_cart__thumbnail”></div> <div class=”category_cart__content”> <p class=”category_cart__title”>Напольные покрытия</p> </div> </div> </a> <a href=”http://stackoverflow.com/oboi/” class=”category_cart”> <div class=”category_cart__container”> <div style=”background-image: url(\’/media/filer_public/93/65/9365c3bc-8649-4d9d-932e-144f16ed535c/category-3.jpg\’)” class=”category_cart__thumbnail”></div> … Read more

[Solved] How can I find the language of this code and how can I find the tool to convert this code to text or HTML [closed]

[ad_1] They seem to be HTML entities, but they are not complete, they should end with ‘;’ So the code should read: &#1112;&#965;&#1109;t The characters you see are: &amp;#1112; CYRILLIC SMALL LETTER JE &amp;#965; GREEK SMALL YPSILON &amp;#1109; CYRILLIC SMALL LETTER DZE t a normal t In your browser it look almost like ‘just’ For … Read more

[Solved] Progress bar animation when inputing form

[ad_1] I’m unsure of the issue because I cannot see a working example. Here is a working solution. $(“#progressbar”).progressbar({ value: 0 }); var $inputs = $(“.form-group”).children(“input”); var totalInputs = $inputs.length; $inputs.on(‘keyup’, function() { var pbVal = 0; $inputs.each(function(){ if($(this).val().length > 0) pbVal ++; }); $(“#progressbar”).progressbar(“option”, “value”, (pbVal/totalInputs)*100) }); .container{ width: 100% } <script src=”https://code.jquery.com/jquery-1.12.4.js”></script> <script … Read more

[Solved] .js file execution in .html [closed]

[ad_1] You need to add the jit-yc.js file too. As can be encountered in the HEAD tag: <script language=”javascript” type=”text/javascript” src=”https://stackoverflow.com/questions/16403123/jit-yc.js”></script> Simply download the file and put the script tag in your head and all can works perfectly. 🙂 3 [ad_2] solved .js file execution in .html [closed]

[Solved] Only apply classes on small screen sizes

[ad_1] You can always add the classes to the div but have the styling for the classes in the media queries. <nav class=”navbar navbar-expand-sm navbar-light bg-light”> @media only screen and (max-width : 480px) { .navbar-light{/*your style*/} .bg-light{/*your style*/} } 2 [ad_2] solved Only apply classes on small screen sizes

[Solved] White Space Appears Right of Browser Window When at Full Screen [closed]

[ad_1] You have this style on .copyright2 .copyright2{ position: relative; left: 17.5%; } p { width: 100%; } So .copyright2 has width: 100% and start at left: 17.5% To fix it remove left: 17.5% from .copyright2 Here a minimal example to illustrate: .red{ background: red; height: 100px; } .blue{ background: blue; height: 50px; position: relative; … Read more

[Solved] How insert a navbar inside a or any other element?

[ad_1] While it’s true that you can’t nest an element within an actual textarea element, that doesn’t mean the task as described isn’t capable of being accomplished, simply look at the textarea you type answers in here with. What I recommend for your goal is to create a wrapper div (let’s call it textarea-with-nav), insert … Read more