- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
44 Posted Topics
Menu sub links overlapping when select box opens , how to fix this Check this below link for reference http://i.stack.imgur.com/lCCWO.gif
if you can load the content from another page, you can set the refresh timer from that page itself
This can simply done using jQuery correct me if am wrong
Hi, I like to scroll all the scroll bar at the time.first scroll is working fine.but other scroll not working anyone have idea <html> <title></title> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script> $(document).ready(function(){ $('.box').each(function(){ $(this).bind('scroll',function(){ var leftPos = $('.box').scrollLeft(); var leftPos = $('.box').scrollLeft(leftPos); }); }); }); </script> <style> .box{ width:500px; overflow-x:scroll; } .clear …
Hi chrisschristou, Use @media screens css for multiple window size Ex: check smashing magazine website If you want 100% layout, there is not need to add width it will take 100% by default. Just code well css to make it align properly on different sizes of window. Hope it helps
Hi alan, Look at the below code, it will help... <script type="text/javascript"> $(document).ready(function(){ var hL = $('.left').height(); var hR = $('.right').height(); if(hL>hR){ var cH = hL-hR; $('.right').height(cH+hR); }else if(hL<hR){ var sH = hR-hL; $('.left').height(sH+hL); } }) </script> cH = content height hL = heightLeft hR = heightRight
Asking complex question is good but for this kind of doubts first try to inspect using firebug to check what is happening, this will increase your knowledge.
Hi kimmi_baby, There is nothing to do with script, Image optimization should be done manually. for Preloader just add the preloader image as background in gallery container div. this will helps
Hi All, Some of my webpages in ie showing scripts erros at the bottom left. How to deal with that Thanks in advance
Here my var = var path = 'http://www.google.com/test/'; how to remvoe the last forward slash or test/ Thanks in advance
you can display the image in the following way <img src="" class="imageTag"> //your script $('.imageTag').attr('src',image); This will show the image in the browser,Hope it helps
you need to use cookies to do that
Hi dave, Just remove the padding-top:11px; in .menu-main
add default browser css reset *{ margin:0; padding:0; }
No need to you jquery, this can be done by css3 transition look at the code below, div { width:100px; height:100px; background:red; transition-property: width; transition-duration: 2s; -webkit-transition-property: width; /* Safari */ -webkit-transition-duration: 2s; /* Safari */ } div:hover { width:300px; }
Simply by jquery if($('input').val()==" "){ $(this).addClass('whatever'); }
Hi Affable zaki, use each loop to know the selected check boxes and remove that using jquery, let me know if want to know more
before toggle use should add stop(true,true) to avoid that
on success function add disabled attr to your submit button EX: $('input').attr('disabled','disabled');
Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have …
Hi DarkBerzerk, I think this what you want, Please check the code and let me know whenther it solves your problem $('input').keyup(function(){ var getValue = $(this).val().length; $('.resultdiv').html(getValue*51); })
Hi eltonpiko, Give with auto for the particular div or id ex: .div { width : 100% !important; } Or you can do this by usign jquery Hope it helps
Hi, Can anyone tell me how to get instagram api for displaying images in website. Ex: instagram.com/miniusa //getting images of miniusa Thanks in advance
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { //$(".box:contains(latin)").wrap("<div></div>"); // $("div:contains('roots')").css("text-decoration", "underline"); //$("div:contains('John')").css("text-decoration", "underline"); $("div:contains('John')").addClass('test'); }); </script> <style type="text/css"> .test{color:red;} .list{float:left; width:80px;} .list li{list-style-type:none;} input{text-transform:uppercase;} </style> </head> <body> <div> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in John a piece of classical …
I have a requirement to remove the use of tables and replace the code with HTML lists (<ul> and <li>). The HTML code to be replaced is as below <table> <tr><td>John Smith</td></tr> <tr><td>24 years</td></tr> <tr><td>Chicago</td></tr> </table> How to replace the above code with (<ul> <li>)
Can anyone tell me how to write each function for ajax loaded elements Ex:Refer the code below $('textarea').each(function () { $(this).attr('maxlength', 150).addClass('characterCount'); }) This code working fine, how to make it work in ajax loaded elments
Dear All, I am trying to store a predefined div with a class in a variable using jQuery, Please find my below code and let me know whether it is right or not. loader : $("<div/> + {class:'test'}") thanks in advance.
Hi scarletfire, Yes it is possible, Use jquery, onfocus highlight the line at the same time trigger popup.I hope it will solve your problem.
Hello Friends, I need your help again sample code `<div id="generic_photo125_addinputs"><ul><li><input type="button"/></li></ul></div>` The above code generated automatically, i like to hide the button inside the li, Now the problem is all the ids, class everything is generated dynamically,so i cant able to target the button based on the selector,Is it …
Hey joseavelar91, Wrap overall div inside the body tag with common div like wrapAll and give with to that and make it margin auto sample code : .wrapAll { width : 1000px; margin : 0 auto; } I hope your prblem will be solved & let me know once done
Hi @jspence29, this is css3, so need to have jquery link
I like to know how to start with responsive design, how to start code for that. your help will be greatly appreciated thanks in advance
It simple buddy, give position relative to parent div of the footer and then give footer : { position : absolute; top:0px; left: 0px; }
Try having a transparent div above your logo, but still as a developer you hide the overlapping div and take the image
Hi @aryanmughal, Here the solution: #main-wrapper { /* overflow:hidden; */ Remove overflow hidden position : relative; // Add position : relative; } .Blog { position:absolute; } .blog-pager-newer-link { position : absolute; right : -12px; } .blog-pager-older-link { position : absolute; left : -12px; } Try this it will work, Please …
For example > look at the code below <div class="s1 s2 s3"> //content goes here </div> This class is added dynamically, so i like to know how the find the second class (say for example : **"s2**"). and do some action..
you can do either by php or simply css , **input{text-transform:uppercase;}** even you can use css or jqeury to find particular textbox,Guys Please correct me if am wrong
Hi, stanley, you can do that by making the table's measurement in percentage, It will be great to know if it works.
$show =$_GET['id']; //if i put the id manually it works and the content get changes print_r($_GET); // Working $news_sql=mysql_query( "SELECT *FROM latestnews WHERE id = '$show' ");//i cant retrieve id here while($rsnews = mysql_fetch_assoc($news_sql)){ ?> my code <?php } ?>
//my code $show =$_GET['id']; print_r($_GET); //out put comes like this Array ( [id_] => 1 ) //Please tell me where is this underscore comes from
Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE]
HI All I am relatively new to PHP and am in the processing of developing a site making use of PHP and MySQL. The problem I am experiencing is that when I refresh Internet Explorer, the data that was processed by a form is resubmitted to the database - can …
<!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>Data Store</title> </head> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="sample"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", …
The End.
designershiv