Everything posted by Rogan Josh
-
jQuery conflicts, how to fix?
see http://api.jquery.com/jQuery.noConflict/
-
section tag
see this article for a good explanation of <section>
-
Load different text from file or random files.
using jquery, try this: // '129' is the number of quote divs in quotes.html // to get this value you could use size() and ajax var randomNum = Math.floor(Math.random()*129); $('#result').load('quotes.html div:eq(' + randomNum + ')'); #result is the div into which quotes are loaded quotes.html is the single file that contains quotes each in their own div
-
Looking for horizontal scroller navigation for browser
Like this? Tutorial here.
-
Heart & Sole: An event for web designers, developers, illustrators and students
Nice idea! Is the competition open to attendees only or can anyone enter?
-
Is there a Project CMS?
Try Drupal with the storm collection of modules or ActiveCollab
-
Website feedback
I think you should design the site so that it creates an atmosphere of mystery, anticipation, tension and delight. At the moment the monochrome colour scheme feels too stark and the layout too corporate. For inspiration, you could check out old magic act posters such as these.
-
Portfolio Website
As it is, the site design looks okay but what I really want to see when visiting a site called Coral Media is a lush, colourful undewater coral-scape background filling the entire screen with site content layed on top. I think this could provide a better visual context in which to express who you are and what you do as a company. You could be a bit cheeky with the design. The coral-scape would become the metaphor for your site. I also think the hand-drawn style of the logo and the coral-texture should be applied more consistently. Rather than mixing it with crisp type and straight edges why not try to complement it with more organic forms?
-
Fluid/fixed footer effect
thanks mteam!
-
Design Review Please
I don't mean to be harsh but I can't see any elements that have been designed. All you've done is place some elements and add some random gradients. You're making the mistake of trying to design no content. Get the site content together first, then work out whether that content says what you're trying to say and only when it does should you start designing the page, ensuring that the design remains consistent with your message.
-
CSS3 Text-stroke
AFAIK, at the moment text-stroke is only supported by Webkit browsers (Safari & Chrome). You could use SVG, which is supported by all browsers except IE (until v9). Or you could use GD or Imagemagick to generate the image on the server.
-
Need some suggestions on a menu
-
Why are there white gaps above and below my text element?
You're welcome. You can use that site to construct your own css to override or reset browser defaults. Or do a search for 'reset css'. Or use mine: html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,section,article,header,footer,nav,aside,hgroup {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;} table {border-collapse:separate;border-spacing:0;} caption,th,td {text-align:left;font-weight:normal;} table,td,th {vertical-align:middle;} a img {border:none;outline:0;} section,article,header,footer,nav,aside,hgroup {display:block;}
-
Image question
Yes. If they cannot supply images and you think they are integral to the design then source some appropriate stock images and charge them to the client.
-
Fluid/fixed footer effect
You're welcome! I agree with you about its questionable use in the wild, but I hadn't come across it before and wanted to understand how it worked. So I messed about with different approaches and this one seems to work well.
-
JQuery delay problem
From the api: 'Only subsequent events in a queue are delayed; for example this will not delay the no-arguments forms of .show() or .hide() which do not use the effects queue.' The way I would get round this is to use dotimeout. Once installed this plugin can be used like this: $("#loading_bar").show(); $.doTimeout( 8000, function() { $.get('includes/inc_load_more_content.php', function(data) { $('#reviews_container ul').append(data); $("#loading_bar").hide(); }); });
-
Best way to deal with a difficult client?
This happens to me a lot. However, I think it's my job as a designer to point out why www.crapsite.com fails so miserably and to explain to the client why my design is more appropriate/beneficial to him/her. If the client wants to proceed anyway, do the work, get paid and disown the site (like Alan Smithee). (I'm assuming you charge by the hour!?)
-
Why are there white gaps above and below my text element?
You need to add 'margin:0;' to the <p> in .content-text: .content-text p {margin:0;} This is because browsers have a default stylesheet for html. Which elements have which styles is described here. From that table you can see that <p> has a default style of 'margin:1em 0;'. This is what the above css overrides.
-
What font is this?
It's a version of Avant Garde Gothic. It might be two versions of this typeface, because the 'R' in 'Gril Cooking' is not from Avant Garde, whereas the 'R' in 'New Recipes' is.
-
Fluid/fixed footer effect
I was quite interested in this fixed/fluid footer, so I played about a bit and came up with (hopefully) a solution. In addition to replicating the fixed/fluid functionality, the footer is sticky even when js is turned off. Tested in FF3.6, SF5, GC5, OP10, IE7+8 To do: there's a small jump when scrolling at slow speed that needs to be sorted Done. Demo files attached. You can change the height of either footer in the css and jquery will pick it up.
-
JQuery Problem
In jquery 1.3 and above, you can use live(). Older versions will require a plugin called livequery.
-
Relative and Absolute positioning together
This is a list of html elements that can be used with each doctype. Each element has a markup purpose. For example, <div> is a division used to create a section in the content. I'm presuming that in your code '#header' is just such a <div>. For the logo use a <h1> element. For the flash, <embed> is fine. So your code would be: <div id="header"> <h1><img /></h1> <embed></embed> </div> Then you can position those elements in your css as before, remembering to change the selectors, for example, from '#header hlogo' to '#header h1'.
-
Relative and Absolute positioning together
Any doctype can be used, the above is fine but 'strict' has a specific set of elements that can be used. See here. (The use of a doctype will put IE into standards mode rather than quirks mode.) See here for a list of html elements that can be used with strict or transitional doctypes. In terms of your code, once you've added a doctype, move whatever is in <hlogo> and <hflash> (and any other non-standard elements) to standard elements and readjust the css accordingly. Once the page passes validation, then test in all browsers and see if the positioning issue remains.
-
Relative and Absolute positioning together
Non-standard elements such as <hlogo> and <hflash> are interpreted by webkit browsers but not IE. But that's not even the point. Why are you using non-html elements? Why is there no doctype? If you create a valid page to begin with, browser issues are much easier to diagnose.
-
jQuery sponsorship thermometer
Jquery UI has a progress bar that should fit your needs.