pixelgrid
-
jQuery won't animate or expand
the effect you are trying to achieve is if the user hovers a font the whole div disappears and only the selected font is vissible?
-
Select next with class
$('.slide-title').click(function() { console.log($(this).next().find('.slide-content').text().length); }); im sure there is an easier way to go but what do you want to do with it?
-
jQuery .each() issue
im into javascript/jquery for about a year myself its a really great and powerfull language. totally worth the time. The forums here is a great place to ask questions if you ever need to. always someone willing to help
-
jQuery .each() issue
this code is executed when a link is clicked so $(this) in this case refers to the anchor (a) $(this).parent() is the parent of the anchor meaning the paragraph tag containing the text $(this).parent().attr('class') is the class attribut…
-
jQuery .each() issue
try this $(document).ready(function(){ var array = []; $('.fifty p.description').each(function(i){ len=$(this).text().length; if (len>215) { var par = $(this).text(); array.push(par); $…
-
jQuery .each() issue
you could use the array.push method so in your situation par.push($(this).text()); which will store all of your paragraphs but with no way knowing when a see more link is press which one it is . You can add a new class to each description like par…
-
jQuery .each() issue
par in your example keeps the text from your last paragraph because at the end of the each function the last item used is your last paragraph. you can use $('#more').text($(this).text()); which will just display the modified text with t…
-
Conflict between Expanding Menu and Slider Nav
your slider arrows for some reason have a z index of 1000 and if its lower than 3 they disappear change the z-index from div.slider-nav span{ z-index:3; } and z index from first expanding menu to something bigger than 3 #tb1{ z-index:5 } not…
-
CSS transition issue
thats is a webkit bug i have experienced too firefox works fine for me everytime.this bug appears with a combination of border radius and transition
-
window scroll javascript error
the scroll event fires multiple times durring a scroll thats why the many errors try $window.scroll(function() { var offset = $(".navigation-timeline").offset(); if ($window.scrollTop() > offset.top) { $sidebar.st…
-
window scroll javascript error
probably you cant access the offset variable inside the callback function try redeclaring it inside the callback in .scroll()
-
window scroll javascript error
actually jquery offset is a function use offset().top EDIT you are using it in the pen ,i get no errors latest chrome and firefox
-
Large-scale website image storage
the link is just a subfolder from http://www.akamai.com/ a well known cdn(Content delivery network) a nice article for fooman getting started http://en.wikipedia.org/wiki/Content_delivery_network
-
Large-scale website image storage
i think the 858221159 is the secret right Paulie? (ontopic look for cdn's .is like chaching on servers across the world)
-
CSS Lightning effect
a look at the code could help you they have -webkit-mask: -webkit-gradient(radial, 17 17, 123, 17 17, 138, from(rgb(0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.2)), to(rgb(0, 0, 0))); } and on hover they animate the radius of the circle by changi…
-
Input field become active if user leave it blank
html5 required input attribute can get you going when it comes to required inputs. Most modern browsers make it clear with a tooltip and styling witch has to be filled. Another approach with javascript(jQuery) is this var first = true; $('but…
-
Vertical Align behaving strangely across browsers.
vertical align is used only with table cell display i think .For text i just use the same line height as the containers height display:table-cell; vertical-align:middle; works too
-
Snippet redirects to iPhone and Android as desired, but how do I go the other way around?!
using php you can check to see if $_SERVER['HTTP_REFERER'] is the same as your mobile version domain and conditionaly insert the script tag. as quoted on php.net though The address of the page (if any) which referred the user agent to …
-
need help making one div fade out and another fade in in its place
it can be done in a single page too where only one part is displayed and the others are hidden with position absolute. Jquery could handle the fading or even checkboxes and css transitions
-
Sub Footer Float Left And Right Error
change the float to div 2 li from right to left
-
Sub Footer Float Left And Right Error
what do you mean to be normal ?
-
Replace string (SEK) on every occurance
$('.price').each(function(){ $(this).text( $(this).text().replace(/SEK/,'Kr') ); }) However you should check if the wp-ecommerce plugin gives you a filter so you can alter the output most professionals plugins give all ki…
-
Sub Footer Float Left And Right Error
your footer has an id of sfooter you are targeting #footer add an s
-
How to remove the Empty 'space' coming from database?
in the link you provided when you write this line
-
How to remove the Empty 'space' coming from database?
i suppose you are using a plugin for the metaboxes which adds as many as the user needs.Unless you change teh plugin files you cant but retriving this with retrieve the value from the database and in case it is empty or just whitespace it will remo…
-
How to remove the Empty 'space' coming from database?
make sure your meta value is properly saved to the database and retrieve it with get post meta http://codex.wordpress.org/Function_Reference/get_post_meta you could also use the empty() php function combined with trim() to remove whitespaces
-
[WORDPRESS] How to remove "Selected" Item from list on it's single page?
under $videoid = get_post_meta($post->ID, "Video ID", single); write $selected_id = get_the_ID();
-
How to remove the Empty 'space' coming from database?
thats not a php problem its a css one your post thumbnail has a width of 590px and your container has a width of 971px. the_post_thumbnail accepts also numeric values so you can decide the width and height of the thumbnail being displayed http://co…
-
[WORDPRESS] How to remove "Selected" Item from list on it's single page?
i edited the code above the query should be $args = array( 'post_type' => 'videos', 'posts_per_page' => 10 ,'post__not_in'=>array($selected_id) ); with the id as an array member declare your $sele…
-
JAVASCRIPT HELP PLEASE WITH... Revealing Photo Slider with jQuery by CSS-Tricks!!!
a redused test case to http://codepen.io/pen could help us help you