chazzwick
-
Need to calculate the no of days between two dates?
a little googling gave me this code: var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds var firstDate = new Date(2009,04,21); var secondDate = new Date(2009,04,25); var diffDays = Math.abs((firstDate.getTime() - secondDate.getTim…
-
Centering Table in Chrome
You really dont need a table for that data. Split it into two divs. Float one left, the other right. Give them both a width of 50%, and you should be sorted
-
Make on element's length follow another?
Basically, wrap menu and content in another div. Ive called it #page-wrap. Position this relatively. For the menu div and the container div, position them absolutely. This is what I did: #page-wrap {width:960px;margin:20px auto; background: #daede9…
-
Animation on Blu-ray Site
Firefox 3 (Windows XP), i just get a horizontal scrollbar for no apparent reason. Using firebug, i think its due to the ul#about. though i may be wrong
-
How would you do this?
it looks vaguely tabular that data, if you used a 32 row, 5 column table and merge the cells in the first 4 columns correclty, it would probably be formatted correctly straight away. not sure how semantic this is tho
-
Animation on Blu-ray Site
first off, i like the design. a few changes though: 1 put a rainbow pattern on the cd, make it more lifelike 2 get a hover effect on the navigation 3 you have some alignment issues in firefox with the searchbox, maybe put it in the sidebar, it loo…
-
How to make an apple style news bar
This Jquery plugin seems to replicate well what Apple is doing http://www.texotela.co.uk/code/jquery/newsticker/
-
Launched a new 'green' site!
its a nice design. one thing i would say is, a user will have no idea what the site is really about unless they scroll down to the bottom. websites are all about trying to get the most important information to the visitor as quickly as possible. try…
-
background image auto fit
maybe have a look at Chris's article http://css-tricks.com/how-to-resizeable-background-image/. It might help
-
Philosophy website redesign, what do you think?
i would put the navigation and the search box in the mainpage div, no point in those being pushed to the edges of the browser when its maximised. also, i would increase the size of the arrows and numbers for the image changer, its very hard to spot…
-
jquery effect request
$(document).ready(function() { $(\"#box\").hover(function(){ $(\"#box span\").animate({'bottom' : '0'})}, function(){ $(\"#box span\").animate({'bottom' : '-30px'}); }); })…
-
new design and unsure about the font
i would use an underline, not a strike-though for the link hover. i also agree with robski, make the lined paper more life size, it does seem to zoomed in. also, Courier New looks fine to me, you dont see it much, but it does fit in with your desig…
-
overflowing content
Either use a background image 1px high ,that is white and gray, and repeat it vertically. Or you can use a Jquery plugin (http://www.filamentgroup.com/lab/setting_equal_heights_with_jquery/)
-
Show / Hide Form Section
have a look at Chris's Registration form http://css-tricks.com/examples/SeminarRegTutorial/ (Download http://css-tricks.com/examples/SeminarRegTutorial.zip Seems to be what you are asking for
-
Any Thoughts???
1)The paragraphs are hard to read in Brush Script. Its best to use a fancy font for headers, and use a sans-serif for long pieces of text (such as arial or verdana) 2) The navigation moves awkwardly on hover, get rid of the border:1px black 3) The f…
-
Want to keep a portion of page at top
div {margin: 0 auto; width:960px} to centre a div
-
Delaying a jquery event
thanks dave, that sorted it! :D
-
Delaying a jquery event
Thanks for your replies. I tried both, Robski's worked,but Chris's didnt. Not sure if i got the code wrong. Heres what ive got: $(document).ready(function() { function doTheHide() { $(\"#reveal\").slideUp(); } $(\&q…
-
When list-style:none, bg-image disappears in Safari?
Post your code, or better yet a working link. Helps us a great deal
-
Jquery focus and now Toggle
$(function(){ $('.disp1').click(function() { $('.more1').slideDown('3000'); $('.more1').css('display','yes') return false; }); add return false; that should stop the page jumping to th…
-
Backend-editable footer sentence
its not my code, this is where i got it from http://www.webloglines.com/blog/stuff/article/building_a_control_panel_for_your_wordpress_theme.php Youd have to ask them
-
Backend-editable footer sentence
Its quite a long code, but this is what i used to do the same thing for a website recently. The Client wanted a way to put news and traffic updates on their site, and have them update it in wordpress. Add this code to functions.php:
-
Some design
i really dont like the flash carousel. its slow, not very intuitive and over 100kb. try using jquery. you can get some nice effects and would be 2-3x smaller. Chris has some nice sliders you could use: http://css-tricks.com/examples/FeaturedConte…
-
Please look this page over for me.
the bottom image is 1059px wide, making horizontal scrollbars appear on most monitors. Make it around 980px wide, shouldnt lose any of the effect of the image
-
wordpress archive help!
This tag should list all pages in a certain category. This tag needs to be in the loop http://codex.wordpress.org/The_Loop Read this for more info: http://codex.wordpress.org/Template_Tags/query_posts
-
WordPress and No Search Engine Results?
Go to wordpress settings < privacy and make sure the blog is set to visible. Thats all i can think of at the moment.
-
Positioning Elements of an Online Form
I think this is the best markup for the form: Name: Bubble text Last Name: etc. etc. then you can target the and separately, and style it however you want.
-
a better blogroll tutorial
.stripNav li a { display:block; height:18px; text-indent:-9999px; } .stripNav li.tab1 a { background:transparent url(images/tab-psdtuts.jpg) no-repeat scroll center top; width:63px; } Find this code, get rid of text-indent:-9999px; background; and …
-
blog redesign
hey, thanks for all your replies. ill get on with changing the stars, knew they didnt really look right.